您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 国内外标准规范 > Google Maps Javascript API V3 Reference
GoogleMapsJavascriptAPIV3ReferenceReleaseVersionLastupdatedMonday,February17,2014Thisreferencedocumentsversion3.15(thereleaseversion)oftheMapsJavascriptAPIreleasedFebruary19,2013.ThisreleaseversionoftheAPIisafeature-stableversionoftheAPIwhoseinterfacesareguaranteedtoremainasdocumentedwithinthesepagesuntilthisversionisretired.Toconsultthelatest(experimental)versionoftheMapsJavascriptAPI,seetheExperimentalDevelopmentReference.ReferenceTableofContentsMapMapMapOptionsMapTypeIdControlsMapTypeControlOptionsMapTypeControlStyleOverviewMapControlOptionsPanControlOptionsRotateControlOptionsScaleControlOptionsScaleControlStyleStreetViewControlOptionsZoomControlOptionsZoomControlStyleControlPositionOverlaysMarkerMarkerOptionsIconMarkerShapeSymbolSymbolPathAnimationInfoWindowInfoWindowOptionsPolylinePolylineOptionsIconSequencePolygonPolygonOptionsPolyMouseEventRectangleRectangleOptionsCircleCircleOptionsStrokePositionGroundOverlayGroundOverlayOptionsOverlayViewMapPanesMapCanvasProjectionServicesGeocoderGeocoderRequestGeocoderComponentRestrictionsGeocoderStatusGeocoderResultGeocoderAddressComponentGeocoderGeometryGeocoderLocationTypeDirectionsRendererDirectionsRendererOptionsDirectionsServiceDirectionsRequestTravelModeUnitSystemTransitOptionsDirectionsWaypointDirectionsStatusDirectionsResultDirectionsRouteDirectionsLegDirectionsStepDistanceDurationTimeTransitDetailsTransitStopTransitLineTransitAgencyTransitVehicleVehicleTypeElevationServiceLocationElevationRequestPathElevationRequestElevationResultElevationStatusMaxZoomServiceMaxZoomResultMaxZoomStatusDistanceMatrixServiceDistanceMatrixRequestDistanceMatrixResponseDistanceMatrixResponseRowDistanceMatrixResponseElementDistanceMatrixStatusDistanceMatrixElementStatusMapTypesMapTypeMapTypeRegistryProjectionImageMapTypeImageMapTypeOptionsStyledMapTypeStyledMapTypeOptionsMapTypeStyleMapTypeStyleFeatureTypeMapTypeStyleElementTypeMapTypeStylerLayersBicyclingLayerFusionTablesLayerFusionTablesLayerOptionsFusionTablesQueryFusionTablesStyleFusionTablesHeatmapFusionTablesMarkerOptionsFusionTablesPolygonOptionsFusionTablesPolylineOptionsFusionTablesMouseEventFusionTablesCellKmlLayerKmlLayerOptionsKmlLayerMetadataKmlLayerStatusKmlMouseEventKmlFeatureDataKmlAuthorTrafficLayerTransitLayerStreetViewStreetViewPanoramaStreetViewPanoramaOptionsStreetViewAddressControlOptionsStreetViewLinkStreetViewPovStreetViewPanoramaDataStreetViewLocationStreetViewTileDataStreetViewServiceStreetViewStatusStreetViewCoverageLayerEventsMapsEventListenereventMouseEventBaseLatLngLatLngBoundsPointSizeMVCMVCObjectMVCArrayGeometryLibraryencodingsphericalpolyAdSenseLibraryAdUnitAdUnitOptionsAdFormatPanoramioLibraryPanoramioLayerPanoramioLayerOptionsPanoramioFeaturePanoramioMouseEventPlacesLibraryAutocompleteAutocompleteOptionsAutocompletePredictionPredictionTermPredictionSubstringAutocompleteServiceAutocompletionRequestComponentRestrictionsPlaceAspectRatingPlaceDetailsRequestPlaceGeometryPlacePhotoPhotoOptionsPlaceResultPlaceReviewPlaceSearchPaginationPlaceSearchRequestPlacesServicePlacesServiceStatusQueryAutocompletePredictionQueryAutocompletionRequestRadarSearchRequestRankBySearchBoxSearchBoxOptionsTextSearchRequestDrawingLibraryDrawingManagerDrawingManagerOptionsDrawingControlOptionsOverlayCompleteEventOverlayTypeWeatherLibraryCloudLayerWeatherLayerWeatherLayerOptionsTemperatureUnitWindSpeedUnitLabelColorWeatherMouseEventWeatherFeatureWeatherConditionsWeatherForecastVisualizationLibraryMapsEngineLayerMapsEngineLayerOptionsMapsEngineLayerPropertiesMapsEngineMouseEventMapsEngineStatusDynamicMapsEngineLayerDynamicMapsEngineLayerOptionsDynamicMapsEngineMouseEventFeatureStyleHeatmapLayerHeatmapLayerOptionsWeightedLocationgoogle.maps.MapclassThisclassextendsMVCObject.ConstructorConstructorDescriptionMap(mapDiv:Node,opts?:MapOptions)CreatesanewmapinsideofthegivenHTMLcontainer,whichistypicallyaDIVelement.MethodsMethodsReturnValueDescriptionfitBounds(bounds:LatLngBounds)NoneSetstheviewporttocontainthegivenbounds.getBounds()LatLngBoundsReturnsthelat/lngboundsofthecurrentviewport.Ifmorethanonecopyoftheworldisvisible,theboundsrangeinlongitudefrom-180to180degreesinclusive.Ifthemapisnotyetinitialized(i.e.themapTypeisstillnull),orcenterandzoomhavenotbeensetthentheresultisnullorundefined.getCenter()LatLngReturnsthepositiondisplayedatthecenterofthemap.NotethatthisLatLngobjectisnotwrapped.SeeLatLngformoreinformation.getDiv()NodegetHeading()numberReturnsthecompassheadingofaerialimagery.Theheadingvalueismeasuredindegrees(clockwise)fromcardinaldirectionNorth.getMapTypeId()MapTypeId|stringgetProjection()ProjectionReturnsthecurrentProjection.Ifthemapisnotyetinitialized(i.e.themapTypeisstillnull)thentheresultisnull.Listentoprojection_changedandcheckitsvaluetoensureitisnotnull.getStreetView()StreetViewPanoramaReturnsthedefaultStreetViewPanoramaboundtothemap,whichmaybeadefaultpanoramaembeddedwithinthemap,orthepanoramasetusingsetStreetView().Changestothemap'sstreetViewControlwillbereflectedinthedisplayofsuchaboundpanorama.getTilt()numberR
本文标题:Google Maps Javascript API V3 Reference
链接地址:https://www.777doc.com/doc-6131005 .html