arcgis.apps module

build_collector_url

apps.build_collector_url(center=None, feature_layer=None, fields=None)

Creates a url that can be used to open Collector for ArcGIS

Argument Description
webmap Optional String, WebMap, Item. The item id, webmap, or item representing the map to open in Collector.
center Optional String. The “lat,long” in WGS84 of where to center the map
feature_layer Optional String or FeatureLayer. The feature layer url as string or the feature layer representing the layer to open for collection.
fields Optional Dict. The feature attributes dictionary {“field”:”value”}

Additional info can be found here: https://github.com/Esri/collector-integration

Returns:String

build_explorer_url

apps.build_explorer_url(search=None, bookmark=None, center=None, scale=None, wkid=None, rotation=None, markup=None)

Creates a url that can be used to open Explorer for ArcGIS

Argument Description
webmap Optional String, WebMap, Item. The item id, webmap, or item representing the map to open in Explorer.
search Optional String. The location to search for.
bookmark Optional String. The name of the bookmark in the map to open.
center Optional String. The “lat,long” in WGS84 of where to center the map.
scale Optional Int. The scale at which to open the map.
rotation Optional Int. The rotation, in degrees, at which to open the map.
markup Optional Boolean. Determines if the app should open in markup mode.

Additional info can be found here: https://github.com/Esri/explorer-integration

Returns:String

build_navigator_url

apps.build_navigator_url(stops=None, optimize=None, navigate=None, travel_mode=None, callback=None, callback_prompt=None)

Creates a url that can be used to open Navigator for ArcGIS

Argument Description
start Optional String or Tuple. The starting location. Can be a single string such as ‘45,-77’ or a tuple containing the location and the name (‘45,-77’,’Home’)
stops Optional List. The list of locations. A location can be either a single string or a tuple containing the location and the name (‘45,-77’, ‘Home’).
optimize Optional Boolean. Determines if the route should be optimized.
navigate Optional Boolean. Determines if navigation should begin immediately.
travel_mode Optional String. The travel mode to use (e.g. ‘Walking Time’)
callback Optional String. The url to open when the route completes.
callback_prompt Optional String. The text to show when the route finishes and the callback is about to be invoked.

Additional info can be found here: https://github.com/Esri/navigator-integration

Returns:String

build_survey123_url

apps.build_survey123_url(center=None, fields=None)

Creates a url that can be used to open Survey123 for ArcGIS

Argument Description
survey Optional String or Item. The item id or item representing the survey to open.
center Optional String. The “lat,long” in WGS84 of where to center the map
fields Optional Dict. The feature attributes dictionary {“field”:”value”}

Additional info can be found here: https://doc.arcgis.com/en/survey123/reference/integratewithotherapps.htm

Returns:String