Reverse geocode
Turn a coordinate into a street address, pin it on the map and read the whole response beside it
A pair of coordinates goes in, the map pins the street address the service matched to them, and the panel prints the response exactly as your code receives it.
reverseGeocoderesolves to one GeoJSONFeature, not a service envelope, soJSON.stringifyis the whole rendering step for the panel.- Its
propertiescarry the address fields and the matchedoriginalPosition, typed. PlacesModule.showtakes that same feature as it stands once itspropertiesare there, with no layer wiring in between.
Related examples
Add Stops to Route
Find stops along a route within a one-minute detour and insert them all at optimal positions in a single call.
Getting Started
Routing
Search and Geocoding
Electric Vehicles
Utilities
Web
Along route search
Find the beaches and viewpoints within a one-minute detour of a coastal drive
Getting Started
Routing
Search and Geocoding
Web
Basic geometry
Show geometry around the search area
Getting Started
Geometry
Search and Geocoding
Web
EV chargers nearby
Fast charging stations near one location, filtered by connector and power, with each station's connectors on click
Getting Started
Electric Vehicles
Search and Geocoding
Places and POIs
Web