I have a published and deployed app created with Web AppBuilder Developer.
Is there a way to find out the exact extent of the current map?
I need to know information such as the following:
"type": "extent",
"xmin": -13588276.74216401,
"ymin": 4566302.296222248,
"xmax": -13588151.337664517,
"ymax": 4566421.729078907,
Solved! Go to Solution.
In that case it is extremely simple. In your app open the developer tools (F12) and in the console tab find the command prompt line (>) and type _viewerMap.extent and click enter.
Phil,
You need to know the extent of the web map that your app uses or the extent at a certain point in your apps usage?
I think I mean the extent that the app uses at any given time.
Phil,
If it is just something you need to print to the console then it would be supper easy to add come code to the MapManager.js to console log the maps extent changes.
I need the extent to manually create new book marks after the application has already been downloaded and deployed.
In that case it is extremely simple. In your app open the developer tools (F12) and in the console tab find the command prompt line (>) and type _viewerMap.extent and click enter.
Exactly what I needed! Thank you Robert!