google.maps

google.maps 命名空間

google.maps 命名空間

BetaimportLibrary
importLibrary(libraryName)
參數:
  • libraryNamestring
載入 Maps JavaScript API 的程式庫,以該 API 的直接成員 (不含命名空間) 進行解析。(載入時,程式庫也會自行新增至全域 google.maps 命名空間,但一般不建議使用全域命名空間)。
version 瀏覽器載入的 Google Maps JavaScript API 版本。請參閱 https://developers.google.com/maps/documentation/javascript/versions

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

PlacesLibrary 介面

google.maps.PlacesLibrary 介面

AddressComponent
類型:typeof AddressComponent
Attribution
類型:typeof Attribution
Autocomplete
類型:typeof Autocomplete
AutocompleteService
類型:typeof AutocompleteService
AutocompleteSessionToken
類型:typeof AutocompleteSessionToken
BusinessStatus
類型:typeof BusinessStatus
OpeningHours
類型:typeof OpeningHours
OpeningHoursPeriod
類型:typeof OpeningHoursPeriod
OpeningHoursPoint
類型:typeof OpeningHoursPoint
Photo
類型:typeof Photo
PhotoAttribution
類型:typeof PhotoAttribution
Place
類型:typeof Place
PlacesService
類型:typeof PlacesService
PlacesServiceStatus
類型:typeof PlacesServiceStatus
PlusCode
類型:typeof PlusCode
RankBy
類型:typeof RankBy
Review
類型:typeof Review
SearchBox
類型:typeof SearchBox

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
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 介面

AdvancedMarkerView
類型:typeof AdvancedMarkerView
Animation
類型:typeof Animation
CollisionBehavior
類型:typeof CollisionBehavior
Marker
類型:typeof Marker
PinView
類型:typeof PinView

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

DrawingLibrary 介面

google.maps.DrawingLibrary 介面

DrawingManager
類型:typeof DrawingManager
OverlayType
類型:typeof OverlayType

VisualizationLibrary 介面

google.maps.VisualizationLibrary 介面

HeatmapLayer
類型:typeof HeatmapLayer