package
Version:
v0.0.0-...-2d5464a
Opens a new window with list of versions in this module.
Published: Jan 17, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package geocode handles mapping user-entered locations into lat/long polygons.
type LatLong struct {
Lat float64 `json:"lat"`
Long float64 `json:"lng"`
}
type Rect struct {
NorthEast LatLong `json:"northeast"`
SouthWest LatLong `json:"southwest"`
}
Lookup returns rectangles for the given address. Currently the only
implementation is the Google geocoding service.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.