Available with the ArcGIS Indoors Maps extension.
Just as you can configure launch actions to open other apps from the ArcGIS Indoors Mobile app, you can configure a link to launch the Indoors Mobile app from other configurable mobile apps. If your organization uses other configurable mobile apps, you can embed the share link in those apps to launch the Indoors Mobile app with the map centered on a specific feature.
The following are examples of using a URL link:
- Mobile workers who use a work order app can launch the Indoors Mobile app with the map centered on a specific work order.
- Employees who use a company-specific app to keep track of meetings and events can launch the Indoors Mobile app centered to the location of an event or meeting to quickly get directions without needing to search in the Indoors Mobile app.
Note:
If you are using an iPhone 12 mini or iPhone 13 mini, the device does not automatically download and open mobile maps when opening a smart launch URL that enables anonymous access. Tap Continue as Visitor to open the mobile map after opening the smart launch URL on these devices.
URL parameters
The following table lists all the supported parameters and their descriptions.
Parameter | Description |
---|---|
portalURL | The URL of an ArcGIS organization that contains the map to download and open. |
itemID | The item ID of the map to open. This must be a mobile map package. |
anonymousAccess | Specifies whether anonymous access is used when calling a map or MMPK that is shared publicly, or when signing in to an organization. |
action | The action for the app to take upon launching (locate or route). |
x | The longitude of the location. |
y | The latitude of the location. |
floor | The vertical order of the floor on which the feature is located. |
layer | The name of the layer in the map that contains the feature. |
featureID | A unique identifier for the feature that can be an Object ID, Global ID, or a unique attribute from the ArcGIS Indoors Information Model, such as Unit ID. |
featureIDField | The name of the field that contains a unique identifier for the feature. |
toX | The longitude of the destination location. |
toY | The latitude of the destination location. |
toFloor | The vertical order of the floor on which the destination feature is located. |
toLayer | The name of the layer in the map that contains the destination feature. |
toFeatureID | A unique identifier for the feature to route to that can be an Object ID, Global ID, or a unique attribute from the Indoors model, such as Unit ID. |
toFeatureIDField | The name of the field that contains a unique identifier for the destination feature. |
fromX | The longitude of the origin location. |
fromY | The latitude of the origin location. |
fromFloor | The vertical order of the floor on which the origin feature is located. |
fromLayer | The name of the layer in the map that contains the origin feature. |
fromFeatureID | A unique identifier for the feature to route from that can be an Object ID, Global ID, or a unique attribute from the Indoors model, such as Unit ID. |
fromFeatureIDField | The name of the field that contains a unique identifier for the origin feature. |
Example URLs
The examples below demonstrate URLs that can be used to launch to a feature.
Note:
The portalURL and itemID parameters must be included in all smart launch URLs.
URL to open a specific mobile map:
https://indoors.arcgis.app?portalURL=https://myorgName.maps.arcgis.com&itemID=ac4145c1ac44aea86e9ed42e00fbb0d3
URL to open a specific mobile map as a visitor (anonymous access)
https://indoors.arcgis.app?portalURL=https://myorgName.maps.arcgis.com&itemID=f1daf45bd232417382b733c132e56928&anonymousAccess=true
URL to locate a feature or place on the map
https://indoors.arcgis.app?action=locate&portalURL=https://myorgName.maps.arcgis.com&itemID=ac4145c1ac44aea86e9ed42e00fbb0d3&x=-117.184&y=34.058&floor=2
URL to select a specific feature on the map
https://indoors.arcgis.app?action=locate&portalURL=https://myorgName.maps.arcgis.com&itemID=ac4145c1ac44aea86e9ed42e00fbb0d3&layer=Units&featureID=M3.ne350&featureIDField=unit_id
URL to generate directions from an origin location to a destination location
https://indoors.arcgis.app?action=route&portalURL=https://myorgName.maps.arcgis.com&itemID=ac4145c1ac44aea86e9ed42e00fbb0d3&fromfloor=0&fromLayer=Safety%20Assets&fromFeatureID=115&fromFeatureIDField=ObjectID&toX=-117.19450469439536&toY=34.05679685034205&toFloor=1&toLayer=Units&toFeatureID=L2e820&toFeatureIDField=name
URL to generate directions from a user-specified location to a destination location
https://indoors.arcgis.app?action=route&portalURL=https://myorgName.maps.arcgis.com&itemID=ac4145c1ac44aea86e9ed42e00fbb0d3&toX=-117.184&toY=34.058&toFloor=2&toLayer=Units&toFeatureID=M3.ne350&toFeatureIDField=unit_id