Overview | Geocoding API - Google Developers
文章推薦指數: 80 %
Geocoding converts addresses into geographic coordinates to be placed on a map. Reverse Geocoding finds an address based on geographic coordinates or place ... Google MapsPlatform Overview Products Pricing Documentation GetStarted GetStartedwithGoogleMapsPlatform APIPicker Billing&Pricing Reporting&Monitoring MapIDs FAQ SupportandResources IncidentManagement Maps MapsJavaScriptAPI MapsSDKforAndroid MapsSDKforiOS MapsStaticAPI StreetViewStaticAPI MapsEmbedAPI MapsURLs MapsElevationAPI Routes DirectionsAPI DistanceMatrixAPI RoadsAPI Solutions IndustrySolutions GamingServices TransportationandLogistics Places PlacesAPI PlacesSDKforAndroid PlacesSDKforiOS PlacesLibrary,MapsJavaScriptAPI GeocodingAPI GeolocationAPI TimeZoneAPI AdditionalResources APISecurityBestPractices MapCoverageDetails OptimizationGuide MobileOSandsoftwaresupport Deprecations AssetTrackingPlan RootCAMigrationFAQ URLEncoding WordPressUsers Blog Community StackOverflow GitHub YouTube Discord Twitter IssueTracker Language English BahasaIndonesia Deutsch Español Français Português–Brasil Русский 中文–简体 日本語 한국어 Signin WebServices GeocodingAPI GetStarted Contactsales Guides Support Google MapsPlatform Overview Products Pricing Documentation More Guides Support Blog Community More MapsGeocodingAPI GetStarted Overview Setup SetupinCloudConsole UsingAPIKeys DeveloperGuides Geocodingrequestandresponse Reversegeocodingrequestandresponse Placegeocodingrequestandresponse BestPractices WebServiceBestPractices BestPracticesGeocodingAddresses OptimizingQuotaUsage ClientLibraries BillingandReporting UsageandBilling ReportingandMonitoring PoliciesandTerms Policies TermsofService OtherWebServiceAPIs DirectionsAPI DistanceMatrixAPI RoutesPreferredAPI ElevationAPI GeolocationAPI PlacesAPI RoadsAPI TimeZoneAPI GetStarted GetStartedwithGoogleMapsPlatform APIPicker Billing&Pricing Reporting&Monitoring MapIDs FAQ SupportandResources IncidentManagement Maps MapsJavaScriptAPI MapsSDKforAndroid MapsSDKforiOS MapsStaticAPI StreetViewStaticAPI MapsEmbedAPI MapsURLs MapsElevationAPI Routes DirectionsAPI DistanceMatrixAPI RoadsAPI Solutions IndustrySolutions GamingServices TransportationandLogistics Places PlacesAPI PlacesSDKforAndroid PlacesSDKforiOS PlacesLibrary,MapsJavaScriptAPI GeocodingAPI GeolocationAPI TimeZoneAPI AdditionalResources APISecurityBestPractices MapCoverageDetails OptimizationGuide MobileOSandsoftwaresupport Deprecations AssetTrackingPlan RootCAMigrationFAQ URLEncoding WordPressUsers StackOverflow GitHub YouTube Discord Twitter IssueTracker Home Products GoogleMapsPlatform Documentation WebServices GeocodingAPI Sendfeedback Overview Thisserviceisalsoavailableaspartoftheclient-side MapsJavaScriptAPI, orforserver-sideusewiththe JavaClient, PythonClient,GoClientandNode.jsClientforGoogleMapsServices. Whatisgeocoding? Geocodingistheprocessofconvertingaddresses(like "1600AmphitheatreParkway,MountainView,CA")intogeographic coordinates(likelatitude37.423021andlongitude-122.083739),whichyou canusetoplacemarkersonamap,orpositionthemap. Reversegeocodingisthe processofconvertinggeographiccoordinatesintoahuman-readable address. YoucanalsousetheGeocodingAPItofindtheaddressfora givenplaceID. TheGeocodingAPIprovidesadirectwaytoaccesstheseservices viaanHTTPrequest.ThefollowingexampleusestheGeocodingservicethroughthe MapsJavaScriptAPItodemonstratethebasicfunctionality. Viewthisexample fullscreentoseeadditional functionalityoftheGeocodingAPI,suchasmoreoptionsavailable fortailoringtherequest(componentfilteringandviewportbiasing)andmore detailsabouteachresult. Beforeyoubegin ThisdocumentdescribestheGeocodingAPIwebservice.Itisintendedforwebsite andmobiledeveloperswhowanttousegeocodingdatawithinmapsprovidedbyoneofthe GoogleMapsPlatformAPIs. Note:Thisserviceisgenerallydesignedforgeocoding static(knowninadvance)addressesforplacementofapplication contentonamap;thisserviceisnotdesignedtorespondinrealtimetouser input.Fordynamicgeocoding(forexample,withinauserinterfaceelement),consult thedocumentationforthe MapsJavaScriptAPIclientgeocoderand/orthe GooglePlayservicesLocationAPIs. BeforeyoustartdevelopingwiththeGeocodingAPI,reviewthe authenticationrequirements(youneed anAPIkey)andthe APIusageandbillinginformation(youneedtoenablebillingonyourproject). Sendfeedback Exceptasotherwisenoted,thecontentofthispageislicensedundertheCreativeCommonsAttribution4.0License,andcodesamplesarelicensedundertheApache2.0License.Fordetails,seetheGoogleDevelopersSitePolicies.JavaisaregisteredtrademarkofOracleand/oritsaffiliates. Lastupdated2022-06-22UTC. [{ "type":"thumb-down", "id":"missingTheInformationINeed", "label":"MissingtheinformationIneed" },{ "type":"thumb-down", "id":"tooComplicatedTooManySteps", "label":"Toocomplicated/toomanysteps" },{ "type":"thumb-down", "id":"outOfDate", "label":"Outofdate" },{ "type":"thumb-down", "id":"samplesCodeIssue", "label":"Samples/codeissue" },{ "type":"thumb-down", "id":"otherDown", "label":"Other" }] [{ "type":"thumb-up", "id":"easyToUnderstand", "label":"Easytounderstand" },{ "type":"thumb-up", "id":"solvedMyProblem", "label":"Solvedmyproblem" },{ "type":"thumb-up", "id":"otherUp", "label":"Other" }] Needtotellusmore? StackOverflow Askaquestionunderthegoogle-mapstag. GitHub Forkoursamplesandtrythemyourself. Discord ChatwithfellowdevelopersaboutGoogleMapsPlatform. IssueTracker Somethingwrong?Sendusabugreport! LearnMore FAQ APIPicker JavaClientLibrary PythonClientLibrary Platforms Android iOS Web WebServices ProductInfo PricingandPlans ContactSales Support TermsofService Android Chrome Firebase GoogleCloudPlatform Allproducts Terms Privacy SignupfortheGoogleDevelopersnewsletter Subscribe Language English BahasaIndonesia Deutsch Español Français Português–Brasil Русский 中文–简体 日本語 한국어
延伸文章資訊
- 1Resolve and code addresses using geocoding
Documentation for HERE's HERE Maps API for Javascript. ... The HERE Geocoding and Search API unlo...
- 2Example: Address Completion on Google's Geocoding Service
The Google Geocoding API provides a direct way to access a geocoder via an ... FROM json WHERE ' ...
- 3Google Maps V3 - Geocoder example - gists · GitHub
Google Maps V3 - Geocoder example. GitHub Gist: instantly share code, notes, and snippets.
- 4Google geocode example - gists · GitHub
Google geocode example. GitHub Gist: instantly share code, notes, and snippets.
- 5Overview | Geocoding API - Google Developers
Geocoding converts addresses into geographic coordinates to be placed on a map. Reverse Geocoding...