An object that represents a result from a geocoding query

interface GeocodingResult {
    bbox: LatLngBounds;
    center: LatLng;
    html?: string;
    icon?: string;
    name: string;
    properties?: any;
}

Properties

bbox: LatLngBounds

The bounds of the location

center: LatLng

The center coordinate of the location

html?: string

HTML formatted representation of the name

icon?: string

URL for icon representing result; optional

name: string

Name of found location

properties?: any

Additional properties returned by the geocoder