MapsNetworkError class
google.maps.MapsNetworkError
classe
Classe base per la gestione degli errori di rete in Maps.
Questo corso si estende
Error.
Accesso chiamando il numero const {MapsNetworkError} = await google.maps.importLibrary("core").
Consulta Librerie nell'API Maps JavaScript.
Proprietà | |
|---|---|
code |
Tipo:
DirectionsStatus|DistanceMatrixStatus|ElevationStatus|GeocoderStatus|MaxZoomStatus|PlacesServiceStatus|StreetViewStatusIdentifica il tipo di errore prodotto dall'API. |
endpoint |
Tipo:
MapsNetworkErrorEndpointRappresenta il servizio di rete che ha restituito l'errore. |
MapsRequestError class
google.maps.MapsRequestError
classe
Rappresenta un errore di richiesta da un servizio web (ovvero l'equivalente di un codice 4xx in HTTP).
Questo corso si estende
MapsNetworkError.
Accesso chiamando il numero const {MapsRequestError} = await google.maps.importLibrary("core").
Consulta Librerie nell'API Maps JavaScript.
Proprietà | |
|---|---|
Ereditato:
code,
endpoint
|
MapsServerError class
google.maps.MapsServerError
classe
Rappresenta un errore lato server di un servizio web (ovvero l'equivalente di un codice 5xx in HTTP).
Questo corso si estende
MapsNetworkError.
Accesso chiamando il numero const {MapsServerError} = await google.maps.importLibrary("core").
Consulta Librerie nell'API Maps JavaScript.
Proprietà | |
|---|---|
Ereditato:
code,
endpoint
|
MapsNetworkErrorEndpoint costanti
google.maps.MapsNetworkErrorEndpoint
costanti
Identificatori per gli endpoint API utilizzati dalle istanze MapsNetworkError.
Accesso chiamando il numero const {MapsNetworkErrorEndpoint} = await google.maps.importLibrary("core").
Consulta Librerie nell'API Maps JavaScript.
Costanti | |
|---|---|
DIRECTIONS_ROUTE |
Identifica l'API Routes all'interno dell'API Directions. |
DISTANCE_MATRIX |
Identifica l'API Distance Matrix. |
ELEVATION_ALONG_PATH |
Identifica l'API getElevationsAlongPath all'interno dell'API Elevation. |
ELEVATION_LOCATIONS |
Identifica l'API getElevationForLocations all'interno dell'API Elevation. |
FLEET_ENGINE_GET_DELIVERY_VEHICLE |
Identifica l'API Get DeliveryVehicle all'interno di Fleet Engine. |
FLEET_ENGINE_GET_TRIP |
Identifica l'API Get Trip all'interno di Fleet Engine. |
FLEET_ENGINE_GET_VEHICLE |
Identifica l'API Get Vehicle in Fleet Engine. |
FLEET_ENGINE_LIST_DELIVERY_VEHICLES |
Identifica l'API List DeliveryVehicles in Fleet Engine. |
FLEET_ENGINE_LIST_TASKS |
Identifica l'API List Tasks all'interno di Fleet Engine. |
FLEET_ENGINE_LIST_VEHICLES |
Identifica l'API List Vehicles all'interno di Fleet Engine. |
FLEET_ENGINE_SEARCH_TASKS |
Identifica l'API Search Tasks all'interno di Fleet Engine. |
GEOCODER_GEOCODE |
Identifica l'API Geocode all'interno di Geocoder. |
MAPS_MAX_ZOOM |
Identifica l'API MaximumZoomImageryService all'interno dell'API Maps. |
PLACES_AUTOCOMPLETE |
Identifica l'API Autocomplete all'interno dell'API Places. |
PLACES_DETAILS |
Identifica l'API Details all'interno dell'API Places. |
PLACES_FIND_PLACE_FROM_PHONE_NUMBER |
Identifica l'API findPlaceFromPhoneNumber all'interno dell'API Places. |
PLACES_FIND_PLACE_FROM_QUERY |
Identifica l'API findPlaceFromQuery all'interno dell'API Places. |
PLACES_GATEWAY |
Identifica l'API Gateway all'interno dell'API Places. |
PLACES_GET_PLACE |
Identifica l'API Get Place all'interno dell'API Places. |
PLACES_LOCAL_CONTEXT_SEARCH |
Identifica l'API LocalContextSearch all'interno dell'API Places. |
PLACES_NEARBY_SEARCH |
Identifica l'API Nearby Search all'interno dell'API Places. |
PLACES_SEARCH_TEXT |
Identifica l'API Search Text all'interno dell'API Places. |
STREETVIEW_GET_PANORAMA |
Identifica il metodo getPanorama all'interno del servizio Street View. |