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 to convert some known addresses to latitude and longitude coordinates for display on the 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