data

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL