Use a Custom Map Extent
Standard Esri Map Control
Use a Custom Map Extent
Technologies > User Interface Add-Ins > Geographic Information System (GIS) Views > Map with Custom Extent
This example displays a map with a custom start-up extent.
To display a map with a custom start-up extent, include a configuration js in the view:
<js file="ab-arcgis-custom-extent-config.js"/>
Specify the map extent in the
mapConfigObject
of the configuration js:
var mapConfigObject = { mapInitExtent: [-7913404, 5213652, -7907208, 5216556] mapInitExtentWKID: 102100 }
For help with the format of the map extent object, use the Map Extent Helper : ab-arcgis-extent-helper.axvw. Position the map as desired, click the Map Extent button, copy and paste the results into the configuration js.
Sample view: http://localhost:8080/archibus/schema/ab-products/solutions/arcgis/standard/map-config/ab-arcgis-custom-extent.axvw