Reverse geocoding playground
Reverse geocode a clicked point, with every request option on one panel
Click anywhere, and a white pin marks the query, a red pin marks the address it matched and a dashed line shows the offset.
reverseGeocodetakes radius, heading, area types and geopolitical view in one options object, so every panel knob is a property, not a separate call.- The match’s
originalPositionis where the service snapped the query, so the dashed line comes off the response. - The
entryPointsoption on the red pin’sPlacesModuledraws the entrances the service places on the road network. BaseMapModule.events.on('click')makes the whole map the input, andcreateLatestRequestretires the previous click’s request.
Related examples
React Route Planner
Search, add and drag stops, set how long you stay at each, follow the trip on a timeline of its road sections, then fly over it.
Playground
Routing
Search and Geocoding
Electric Vehicles
User Interaction Events
Utilities
Plugins
Web
React
Search playground
Suggest places, brands and categories as you type, then page through a picked brand or category in view
Playground
Search and Geocoding
User Interaction Events
Web
Add Stops to Route (Playground)
Dynamically add and remove intermediate stops on a route by clicking the map
Playground
Routing
Utilities
User Interaction Events
Web
Along route search playground
Search along one of several drives by query or category, or only along chosen section types or a share of its length
Playground
Routing
Search and Geocoding
Web