Documentation ¶
Index ¶
Constants ¶
View Source
const EarthRadiusM float64 = 6378137.0
EarthRadiusM is the approximate radius of the earth in meters
Variables ¶
View Source
var DefaultSegments float64 = 20
DefaultSegments controls the number of segments output in the geometry created by CircleGeom.
Functions ¶
func CircleGeom ¶
CircleGeom outputs a GeoJSON geometry representing a circle of radius radiusM meters centered at (cLat, cLng)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.