Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeocodeError ¶
type GeocodeError struct {
Result *GeocodeResult
}
func (*GeocodeError) Error ¶
func (err *GeocodeError) Error() string
type GeocodeParams ¶
type GeocodeResult ¶
type GeocodeResultItem ¶
type GeocodeResultItem struct { Confidence int `json:"confidence"` Formatted string `json:"formatted"` Geometry Geometry `json:"geometry"` Components map[string]interface{} `json:"components"` Bounds struct { NorthEast Geometry `json:"northeast"` SouthWest Geometry `json:"southwest"` } `json:"bounds"` }
type Geocoder ¶
func NewGeocoder ¶
func (*Geocoder) Geocode ¶
func (g *Geocoder) Geocode(query string, params *GeocodeParams) (*GeocodeResult, error)
Click to show internal directories.
Click to hide internal directories.