Address Locator Example
A demo for Geocoding an Address and adding the points to a map.
HTML Code
The below example uses the Search API and some simple functions from the Slpy JS library to geocode addresses and add them to a map.
Also available from NPM with npm install slpy
. See the Slpy JS Github for more info.
Next Steps
Enhance your search with Maps or Autocomplete
- Add a search bar to your map.
- Translate addresses to coordinates
- Search for points of interest.
- Display your location
- Provide context to an address
- Add popups for more information