The Map extent storage bundle saves the current map extent of your app and loads the last one when the app is opened again.
The map extent is saved and loaded for each app separately and is stored in the local storage of your browser.
The saving happens automatically each time you change the map extent.
To view all map extents in your local storage use the map extent storage manager bundle. This bundle contains a widget that displays all map extents that are currently saved in the local storage of your browser. Here you can also delete unwanted extents. It works independently of the "Save and load map extents bundle".
https://demos.conterra.de/mapapps/resources/apps/downloads_mapextentstorage/index.html
Requirement: map.apps 4.9.0 or newer
dn_mapextentstorage Documentation
dn_mapextentstoragemanager Documentation
Before you can run the project you have to define the mapapps.remote.base property in the pom.xml-file:
<mapapps.remote.base>http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%</mapapps.remote.base>
-
Goal parameters
mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%
-
Build properties Change the mapapps.remote.base in the build.properties file and run:
mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties