google.maps 命名空間
google.maps
命名空間
常數 | |
---|---|
version |
瀏覽器載入的 Google Maps JavaScript API 版本。詳情請參閱 https://developers.google.com/maps/documentation/javascript/versions |
靜態方法 | |
---|---|
importLibrary |
importLibrary(libraryName) 參數:
傳回值:
Promise<CoreLibrary|MapsLibrary|PlacesLibrary|GeocodingLibrary|RoutesLibrary|MarkerLibrary|GeometryLibrary|ElevationLibrary|StreetViewLibrary|JourneySharingLibrary|DrawingLibrary|VisualizationLibrary> 載入 Maps JavaScript API 的程式庫,並與該 API 的直接成員解析 (不含名稱間距)。(載入時,程式庫也會將本身加入全域 google.maps 命名空間,但通常不建議使用全域命名空間)。 |
CoreLibrary 介面
google.maps.CoreLibrary
介面
屬性 | |
---|---|
ControlPosition |
類型:
typeof ControlPosition |
event |
類型:
typeof event |
LatLng |
類型:
typeof LatLng |
LatLngAltitude |
類型:
typeof LatLngAltitude |
LatLngBounds |
類型:
typeof LatLngBounds |
MapsNetworkError |
類型:
typeof MapsNetworkError |
MapsNetworkErrorEndpoint |
類型:
typeof MapsNetworkErrorEndpoint |
MapsRequestError |
類型:
typeof MapsRequestError |
MapsServerError |
類型:
typeof MapsServerError |
MVCArray |
類型:
typeof MVCArray |
MVCObject |
類型:
typeof MVCObject |
Point |
類型:
typeof Point |
Settings |
類型:
typeof Settings |
Size |
類型:
typeof Size |
SymbolPath |
類型:
typeof SymbolPath |
UnitSystem |
類型:
typeof UnitSystem |
MapsLibrary 介面
google.maps.MapsLibrary
介面
屬性 | |
---|---|
BicyclingLayer |
類型:
typeof BicyclingLayer |
Circle |
類型:
typeof Circle |
Data |
類型:
typeof Data |
FeatureType |
類型:
typeof FeatureType |
GroundOverlay |
類型:
typeof GroundOverlay |
ImageMapType |
類型:
typeof ImageMapType |
InfoWindow |
類型:
typeof InfoWindow |
KmlLayer |
類型:
typeof KmlLayer |
KmlLayerStatus |
類型:
typeof KmlLayerStatus |
Map |
類型:
typeof Map |
MapTypeControlStyle |
類型:
typeof MapTypeControlStyle |
MapTypeId |
類型:
typeof MapTypeId |
MapTypeRegistry |
類型:
typeof MapTypeRegistry |
MaxZoomService |
類型:
typeof MaxZoomService |
MaxZoomStatus |
類型:
typeof MaxZoomStatus |
OverlayView |
類型:
typeof OverlayView |
Polygon |
類型:
typeof Polygon |
Polyline |
類型:
typeof Polyline |
Rectangle |
類型:
typeof Rectangle |
RenderingType |
類型:
typeof RenderingType |
StrokePosition |
類型:
typeof StrokePosition |
StyledMapType |
類型:
typeof StyledMapType |
TrafficLayer |
類型:
typeof TrafficLayer |
TransitLayer |
類型:
typeof TransitLayer |
WebGLOverlayView |
類型:
typeof WebGLOverlayView |
ZoomChangeEvent |
類型:
typeof ZoomChangeEvent |
PlacesLibrary 介面
google.maps.PlacesLibrary
介面
屬性 | |
---|---|
AccessibilityOptions |
類型:
typeof AccessibilityOptions |
AddressComponent |
類型:
typeof AddressComponent |
Attribution |
類型:
typeof Attribution |
AuthorAttribution |
類型:
typeof AuthorAttribution |
Autocomplete |
類型:
typeof Autocomplete |
AutocompleteService |
類型:
typeof AutocompleteService |
AutocompleteSessionToken |
類型:
typeof AutocompleteSessionToken |
BusinessStatus |
類型:
typeof BusinessStatus |
OpeningHours |
類型:
typeof OpeningHours |
OpeningHoursPeriod |
類型:
typeof OpeningHoursPeriod |
OpeningHoursPoint |
類型:
typeof OpeningHoursPoint |
Photo |
類型:
typeof Photo |
Place |
類型:
typeof Place |
PlacesService |
類型:
typeof PlacesService |
PlacesServiceStatus |
類型:
typeof PlacesServiceStatus |
PlusCode |
類型:
typeof PlusCode |
PriceLevel |
類型:
typeof PriceLevel |
RankBy |
類型:
typeof RankBy |
Review |
類型:
typeof Review |
SearchBox |
類型:
typeof SearchBox |
SearchByTextRankPreference |
類型:
typeof SearchByTextRankPreference |
GeocodingLibrary 介面
google.maps.GeocodingLibrary
介面
屬性 | |
---|---|
Geocoder |
類型:
typeof Geocoder |
GeocoderLocationType |
類型:
typeof GeocoderLocationType |
GeocoderStatus |
類型:
typeof GeocoderStatus |
RoutesLibrary 介面
google.maps.RoutesLibrary
介面
屬性 | |
---|---|
DirectionsRenderer |
類型:
typeof DirectionsRenderer |
DirectionsService |
類型:
typeof DirectionsService |
DirectionsStatus |
類型:
typeof DirectionsStatus |
DistanceMatrixElementStatus |
類型:
typeof DistanceMatrixElementStatus |
DistanceMatrixService |
類型:
typeof DistanceMatrixService |
DistanceMatrixStatus |
類型:
typeof DistanceMatrixStatus |
TrafficModel |
類型:
typeof TrafficModel |
TransitMode |
類型:
typeof TransitMode |
TransitRoutePreference |
類型:
typeof TransitRoutePreference |
TravelMode |
類型:
typeof TravelMode |
VehicleType |
類型:
typeof VehicleType |
MarkerLibrary 介面
google.maps.MarkerLibrary
介面
屬性 | |
---|---|
AdvancedMarkerClickEvent |
類型:
typeof AdvancedMarkerClickEvent |
AdvancedMarkerElement |
類型:
typeof AdvancedMarkerElement |
Animation |
類型:
typeof Animation |
CollisionBehavior |
類型:
typeof CollisionBehavior |
Marker |
類型:
typeof Marker |
PinElement |
類型:
typeof PinElement |
GeometryLibrary 介面
google.maps.GeometryLibrary
介面
屬性 | |
---|---|
encoding |
類型:
typeof encoding |
poly |
類型:
typeof poly |
spherical |
類型:
typeof spherical |
ElevationLibrary 介面
google.maps.ElevationLibrary
介面
屬性 | |
---|---|
ElevationService |
類型:
typeof ElevationService |
ElevationStatus |
類型:
typeof ElevationStatus |
StreetViewLibrary 介面
google.maps.StreetViewLibrary
介面
屬性 | |
---|---|
InfoWindow |
類型:
typeof InfoWindow |
OverlayView |
類型:
typeof OverlayView |
StreetViewCoverageLayer |
類型:
typeof StreetViewCoverageLayer |
StreetViewPanorama |
類型:
typeof StreetViewPanorama |
StreetViewPreference |
類型:
typeof StreetViewPreference |
StreetViewService |
類型:
typeof StreetViewService |
StreetViewSource |
類型:
typeof StreetViewSource |
StreetViewStatus |
類型:
typeof StreetViewStatus |
JourneySharingLibrary 介面
google.maps.JourneySharingLibrary
介面
屬性 | |
---|---|
AutomaticViewportMode |
類型:
typeof AutomaticViewportMode |
DeliveryVehicleStopState |
類型:
typeof DeliveryVehicleStopState |
FleetEngineDeliveryFleetLocationProvider |
類型:
typeof FleetEngineDeliveryFleetLocationProvider |
FleetEngineDeliveryVehicleLocationProvider |
類型:
typeof FleetEngineDeliveryVehicleLocationProvider |
FleetEngineFleetLocationProvider |
類型:
typeof FleetEngineFleetLocationProvider |
FleetEngineServiceType |
類型:
typeof FleetEngineServiceType |
FleetEngineShipmentLocationProvider |
類型:
typeof FleetEngineShipmentLocationProvider |
FleetEngineTripLocationProvider |
類型:
typeof FleetEngineTripLocationProvider |
FleetEngineVehicleLocationProvider |
類型:
typeof FleetEngineVehicleLocationProvider |
JourneySharingMapView |
類型:
typeof JourneySharingMapView |
Speed |
類型:
typeof Speed |
TripType |
類型:
typeof TripType |
VehicleNavigationStatus |
類型:
typeof VehicleNavigationStatus |
VehicleState |
類型:
typeof VehicleState |
VehicleType |
類型:
typeof VehicleType |
WaypointType |
類型:
typeof WaypointType |
DrawingLibrary 介面
google.maps.DrawingLibrary
介面
屬性 | |
---|---|
DrawingManager |
類型:
typeof DrawingManager |
OverlayType |
類型:
typeof OverlayType |