Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

This repository is archived and no longer managed.

Please vist the ArcGIS Explorer help documentation for more information on linking to Explorer

Explorer custom URL scheme

This is a multi-language repository that contains documentation and sample code for creating custom URL schemes in Explorer for ArcGIS.

Supported versions

  • iOS: Explorer for ArcGIS 18.1.0 or later
  • Android: Explorer for ArcGIS 18.1.0 or later with limited support

What's included

Get started

Read the following documentation and clone down the appropriate language into your development environment.


What is the Explorer for ArcGIS URL scheme?

A URL scheme allows you to launch a native app from another app, website, or email. You can set options in the URL that will be passed to the app you want to open, causing it to perform specific functions, such as opening a map to a specific location and scale. This capability is available on Explorer for ArcGIS for iOS and Android.

Explorer URL scheme overview

All Explorer URL schemes start with the application scheme of arcgis-explorer:// and can contain additional query parameters in the following format:


The following diagram is meant to be used as a quick reference to show how the parameters can be used together. The rest of this topic describes each parameter in greater detail.


Using URL scheme to customize map viewing experience


This is one of the simplest parameters that can be used. Explorer searches for the item (in ArcGIS Online or Portal) and attempts to open the map using the map’s default center and scale. If the user is not signed in, Explorer will continue without signing in and search ArcGIS for the item.

itemID: Sets Item ID for the map. The item referenced can be of type Web Map or Mobile Map Package that is shared with the current user. Mobile Map Packages will be automatically downloaded if not already on-device. If the item referenced is shared publically in ArcGIS Online, the user tapping on the URL scheme does not need to be signed in to Explorer in order to access the map.

The following examples show how you can open a specific map from a URL.

// open a public Web Map

// open a public Mobile Map Package

NOTE: All other parameters require that a item id be specified.

In addition to opening a map to the default center and scale, there are a couple ways to set the map extent in order to provide a custom map viewing experience. You can specify the center and scale (optionally providing wkid, rotation, and/or markup parameters) or specify a bookmark from the map . Alternatively, you can search within the map to let Explorer determine how the initial extent should be set while also displaying the matching results.

center, scale

center and scale are used in conjuction to recenter a map. The center parameter can include either a set of latitude and longitude coordinates (decimal degrees), a query formatted address, or a feature search result. When specifying a center, the scale must also be provided.

  • center: Centers the map to a certain location. Provide center in the following formats:
    • Comma-seperated latitude/longitude (y/x) pair in WGS84 (WKID:4326)
    • Address (plus-encode spaces) to be reverse geocoded by organization geocoder (Mobile Map Package's with locators will not utilize geocoder)
    • Feature search result (plus-encode spaces). Explorer will automatically center on top result.
  • scale: Sets the scale in map units that the map should be rendered.

The following examples show how you can use center and scale to adjust the map view point from a URL.

// center on a coordinate pair

// center on a reverse geocoded address

// center on a feature from map. In this case, Hydrant #43141
wkid, rotation, markup

In addition to providing a center and scale, you can optionally specify any combination of the wkid, rotation, or markup parameters. Note, when using any of these parameters, an itemID and center/scale are required.

  • wkid: Specify coordinates in a different spatial reference. Defaults to WKID: 4326 (WGS84) if parameter is not used.
  • rotation: Rotate the given map 0-360 degrees. Sets the rotation in degrees that the map should be rendered. Acceptable values range from 0 - 360.
  • markup: Enable markup mode when opening a map.

The following examples show how the wkid, rotation, and markup parameters can be used together from a URL.

// rotate the map 180 degrees

// center on coordinates in NAD83 / UTM zone 19N (WKID: 26919) spatial reference

// rotate the map 180 degrees and enable markup mode

Instead of providing a center and scale, the bookmark parameter can be used to open the map to a specific viewpoint by specifying a bookmark from the map. When providing a bookmark, you must also provide an itemID for the map. You cannot provide any additional parameters.

  • bookmark: Adjusts map viewpoint to the specified bookmark from the map. Bookmark name should be plus-encoded for spaces.

The following example shows how to open a map to a specific bookmark within the map from a URL.

// open map to a bookmark named "Centennial Park"

The search parameter allows you to quickly launch a map and execute a search, returning places and feature results without having to manually type your query using the search tool.

  • search: Executes a search, returning places and/or features. Query string should be plus-encoded for spaces.

The following examples show how you can use the search parameter in a URL.

// search for an address from the geocoder

// search for a POI from the geocoder

// search for a feature from map. In this case, Hydrant #43141

Known Issues

  • Support on the Android version of Explorer for ArcGIS is limited to itemID, center/scale, and rotation parameters. Center parameter cannot reference feature from layer configured for search.


If an error is encountered when processing a URL scheme, the user will receive an alert.

Sample code

Resources and related repositories

Not Esri's doc but still pretty dang useful :-)


Find a bug or want to request a new feature? Please let us know by submitting an issue. Thank you!


Anyone and everyone is welcome to contribute. See our guidelines for contributing.


Copyright 2016 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

[](Esri Tags: iOS, Android, Explorer, URL Scheme) [](Esri Language: Java, Swift, Javascript)


Multi Language repository that contains documentation and sample code for creating custom URL schemes in Explorer for ArcGIS.




No releases published


No packages published
You can’t perform that action at this time.