【文件属性】:
文件名称:geocoder:Yandex地址解析器的包装器
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-08 19:52:29
Go
GO中的Yandex Geocoder API包装器
包裹将获得给定地址的坐标。
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)
【文件预览】:
geocoder-master
----doc.go(336B)
----.travis.yml(13B)
----examples()
--------example1.go(314B)
----README.md(428B)
----geocoder_test.go(659B)
----geocoder.go(2KB)