Skip to content

Geocoding

Geocoding is the process of converting text to a complete address with a location. To perform geocoding with MapLibre GL JS, use the ArcGIS REST JS library to access the ArcGIS Geocoding service.

Steps
  1. Use the MapLibre ArcGIS plugin to display a map.
  2. Reference the ArcGIS REST JS request and geocode packages.
  3. Perform a geocoding operation.
  4. Display the results in the map.

Address geocoding

Address geocoding, also known as forward geocoding, allows you to search for addresses or places. In ArcGIS, this is referred to as finding address candidates.

Search for an address

Learn how to find address candidates with the geocode method in ArcGIS REST JS.

Go to tutorial

Autosuggest

Autosuggest can help find address candidates with partial text input when building interactive geocoding controls.

Search with autosuggest

Learn how to use autosuggest candidates to find addresses by with the suggest and geocode methods in ArcGIS REST JS.

Go to tutorial

Reverse geocoding

Reverse geocoding allows you to convert a location into a complete address. You can also use it to find the nearest address to your current location or show the closest address when you tap the map.

Reverse geocode

Learn how to reverse geocode with the reverseGeocode method in ArcGIS REST JS.

Go to tutorial

More resources

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.