Skip To Content ArcGIS for Developers Sign In Dashboard
Download the app project: Android Javascript

Nearby Places is an open source app project built with ArcGIS Runtime SDK and ArcGIS API for Javascript to help your users discover what's in the world around them. The app recommends and displays places of interest, contextualized by the user's location. Upon choosing a place, your user can request a route and get to where they want to go.

You can git clone, configure, and immediately start developing with this app to easily build your own consumer-grade, nearby places recommendation app.

Features

Search for nearby places

Using their location, your users can request recommendations for nearby places of interest using the ArcGIS World Geocoding Service. The app comes with a customizable filtering mechanism that allows your users to refine what kind of places are returned as results. If the user changes location, they can refresh the results with places near to their new location.

Show places in a list-then-map presentation

The app is designed to favor showing suggestions in list-form before showing them on a map. The user's location drives what recommendations are made. The app presents these in a custom list UI and further contextualizes them by calculating their bearing and distance.

Toggling result presentation to the map allows users to see recommendations in relation to their location. Using a map also allows yours to generate and display a route and get to where they want to go.

Route to nearby places

After settling on a suggestion, your users can generate a route to a place nearby using the ArcGIS World Routing Service and display the route on a map. This allows yours users to get to where they want to go.

Make this app yours

Your users can use the application right away with very little configuration. You can modify it to display categories of places you care about or configure your own custom locator.

Get started

From your developer dashboard

  1. Register your app, which creates a unique client ID, on your developer dashboard.

In your local environment

  1. Download the app source code and SDK for the platform of your choice.
  2. Configure the app source code with the registered app client ID.

Consuming credits

The app leverages the ArcGIS World Routing Service, which consumes credits. Ensure your users can consume credits with a named user login or by using a proxy.

Read the documentation

The Nearby Places app repositories maintain comprehensive documentation. Consult the documentation to learn about app architecture, interface, configuration, ArcGIS development patterns, and licenses. See the docs/README.md file in the app repository for more information.


Get the app source code and SDK

Get the app for Android

  1. Download and install ArcGIS Runtime SDK for Android.
  2. Download the Android app source code.

Get the app for JavaScript

  1. Download and install ArcGIS API for Javascript.
  2. Download the Javascript app source code.
In this topic