Classe MapsNetworkError
Classe
google.maps.MapsNetworkError
Classe base para gerenciar erros de rede no Maps.
Essa classe estende
Error
.
Propriedades | |
---|---|
code |
Tipo:
DirectionsStatus|DistanceMatrixStatus|ElevationStatus|GeocoderStatus|MaxZoomStatus|PlacesServiceStatus|StreetViewStatus Identifica o tipo de erro produzido pela API. |
endpoint |
Tipo:
MapsNetworkErrorEndpoint Representa o serviço de rede que respondeu com o erro. |
MapsRequestError
Classe
google.maps.MapsRequestError
Representa um erro de solicitação de um serviço da Web (ou seja, o equivalente a um código 4xx em HTTP).
Essa classe estende
MapsNetworkError
.
Propriedades | |
---|---|
Herdadas:
code ,
endpoint
|
Classe MapsServerError
Classe
google.maps.MapsServerError
Representa um erro do lado do servidor de um serviço da Web (ou seja, o equivalente a um código 5xx em HTTP).
Essa classe estende
MapsNetworkError
.
Propriedades | |
---|---|
Herdadas:
code ,
endpoint
|
MapsNetworkErrorEndpoint
google.maps.MapsNetworkErrorEndpoint
constantes
Identificadores de endpoints de API usados por instâncias MapsNetworkError
.
Constantes | |
---|---|
DIRECTIONS_ROUTE |
Identifica a API Routes na API Directions. |
DISTANCE_MATRIX |
Identifica a API DistanceMatrix. |
ELEVATION_ALONG_PATH |
Identifica a API getElevationsAlongPath na API Elevation. |
ELEVATION_LOCATIONS |
Identifica a API getElevationForLocations na API Elevation. |
FLEET_ENGINE_GET_DELIVERY_VEHICLE |
Identifica a API GetShippingVehicle no Fleet Engine. |
FLEET_ENGINE_GET_TRIP |
Identifica a API Get Trip no Fleet Engine. |
FLEET_ENGINE_GET_VEHICLE |
Identifica a API Get Vehicle na Fleet Engine. |
FLEET_ENGINE_LIST_DELIVERY_VEHICLES |
Identifica a API List DeliveryVehicles na Fleet Engine. |
FLEET_ENGINE_LIST_TASKS |
Identifica a API List Tasks dentro do Fleet Engine. |
FLEET_ENGINE_LIST_VEHICLES |
Identifica a API List Vehicles na Fleet Engine. |
FLEET_ENGINE_SEARCH_TASKS |
Identifica a API Search Tasks na frota do mecanismo. |
GEOCODER_GEOCODE |
Identifica a API do geocódigo dentro do geocodificador. |
MAPS_MAX_ZOOM |
Identifica a API ZoomZoomImageryService na API Maps. |
PLACES_AUTOCOMPLETE |
Identifica a API Autocomplete na API Places. |
PLACES_DETAILS |
Identifica a API Details na API Places. |
PLACES_FIND_PLACE_FROM_PHONE_NUMBER |
Identifica a API findPlaceFromPhoneNumber na API Places. |
PLACES_FIND_PLACE_FROM_QUERY |
Identifica a API findPlaceFromQuery na API Places. |
PLACES_GATEWAY |
Identifica a API Gateway na API Places. |
PLACES_LOCAL_CONTEXT_SEARCH |
Identifica a API LocalContextSearch na API Places. |
PLACES_NEARBY_SEARCH |
Identifica a API NearbySearch na API Places. |
STREETVIEW_GET_PANORAMA |
Identifica o método getPanorama no serviço Streetview. |