Skip to content

Places

Place finding is the process of discovering businesses and geographic locations, also known as points of interest (POIs). To find places with MapLibre GL JS, use the ArcGIS REST JS library to access the ArcGIS Places service.

Steps
  1. Use the MapLibre ArcGIS plugin to display a map.
  2. Reference the ArcGIS REST JS request and places packages.
  3. Perform a nearby or bounding box place search.
  4. Optionally, get place details.
  5. Display the results in the map.

Nearby places

You can search for nearby places such as cafes, hospitals, or parks, by searching within a distance from a point or device location. You can also filter search results by using place categories.

Find nearby places and details

Learn how to find places within a radius and return details about them. It uses the findPlacesNearby and getPlaceDetails methods in ArcGIS REST JS.

Go to tutorial

Places within a bounding box

You can also find places within an envelope or map extent to locate businesses, landmarks, or facilities.

Find places and details within a bounding box

Learn how to find places and return details about them using the current visible extent of the map. It uses the findPlacesWithinExtent and getPlaceDetails methods 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.