Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 428 Bytes

File metadata and controls

14 lines (13 loc) · 428 Bytes

Yandex Geocoder API wrapper in GO

travis

The package will get coordinates for a given address.

address := "Moscow, Kremlin"
coords, err := geocoder.AddressToCoordinates(address)
if err != nil {
  panic(err)
}
fmt.Printf("Coordinates for '%s' are: %f (Latitude) %f (Longitude)\n",
  address, coords.Latitude, coords.Longitude)