google.maps เนมสเปซ
google.maps
เนมสเปซ
เมธอดแบบคงที่ | |
---|---|
importLibrary |
importLibrary(libraryName) พารามิเตอร์:
ค่าที่ส่งกลับ:
Promise<CoreLibrary|MapsLibrary|PlacesLibrary|GeocodingLibrary|RoutesLibrary|MarkerLibrary|GeometryLibrary|ElevationLibrary|StreetViewLibrary|JourneySharingLibrary|DrawingLibrary|VisualizationLibrary> โหลดไลบรารีของ 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 |
PriceLevel |
ประเภท:
typeof PriceLevel |
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 |
ประเภท:
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 |
Street ViewLibrary อินเทอร์เฟซ
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 |
FleetEngineServiceType |
ประเภท:
typeof FleetEngineServiceType |
FleetEngineShipmentLocationProvider |
ประเภท:
typeof FleetEngineShipmentLocationProvider |
FleetEngineTripLocationProvider |
ประเภท:
typeof FleetEngineTripLocationProvider |
JourneySharingMapView |
ประเภท:
typeof JourneySharingMapView |
อินเทอร์เฟซ DrawingLibrary
google.maps.DrawingLibrary
อินเทอร์เฟซ
พร็อพเพอร์ตี้ | |
---|---|
DrawingManager |
ประเภท:
typeof DrawingManager |
OverlayType |
ประเภท:
typeof OverlayType |
VisualizationLibrary สําหรับอินเทอร์เฟซ
google.maps.VisualizationLibrary
อินเทอร์เฟซ
พร็อพเพอร์ตี้ | |
---|---|
HeatmapLayer |
ประเภท:
typeof HeatmapLayer |