Documentation
¶
Overview ¶
Creating OpenStreetMap short links, see https://wiki.openstreetmap.org/wiki/Shortlink
Index ¶
Examples ¶
Constants ¶
View Source
const (
BASE_SHORT_OSM_URL = "https://osm.org/go/"
)
Variables ¶
This section is empty.
Functions ¶
func Create ¶
Create a short link to OSM map with marker at he given position and zoom
Example ¶
shortLink, err := osmshortlink.Create(46.05141, 14.50604, 17) if err != nil { panic(err) } fmt.Println(shortLink)
Output: https://osm.org/go/0Ik3VNr_A-?m
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.