Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Ellipsoid ¶
Ellipsoid describes an Ellipsoid this may change when we get a proper projection package
type Interface ¶
type Interface interface {
ToLngLat() LngLat
}
Interface is an interface that wraps a ToLngLat methods
ToLngLat should returns the a LngLat value in degrees that represents that given value as closely as possible. It is understood that this value may not be excate
type LngLat ¶
type LngLat struct { // Longitude in decimal degrees Lng float64 // Latitude in decimal degrees Lat float64 }
LngLat describes Latitude,Longitude values
func (LngLat) LatInRadians ¶
LatInRadians returns the Latitude value in radians
func (LngLat) LngInRadians ¶
LngInRadians returns the Longitude value in radians
func (LngLat) NormalizeLng ¶
NormalizeLng will insure that the longitude value is between 0-360
Click to show internal directories.
Click to hide internal directories.