Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MapImageResponse ¶ added in v1.0.9
type MapImageResponse struct {
Lat float64 `json:"lat"`
Long float64 `json:"long"`
Zoom int `json:"zoom"`
Image string `json:"image"` // The map image (in base64 encoded data uri format)
Version string `json:"version"` // Service version
}
func GetMapImageForCoordinates ¶
func GetMapImageForCoordinates(lat, long float64, zoom int) (MapImageResponse, error)
GetMapImageForCoordinates gets a map image for the given lat, long and zoom level returns the map image as a base64 encoded jpeg
Click to show internal directories.
Click to hide internal directories.