The Time Extent bundle allows users to filter FeatureLayer for a specific time extent.
https://demos.conterra.de/mapapps/resources/apps/downloads_timeextent/index.html
Requirement: map.apps 4.12.0
- First, you need to add the bundle "dn_timeextent" to your app.
- After that, add a time-aware FeatureLayer to your app.
- Finally you can configure your time extent bundle.
"dn_timesextent": {
"Config": {
"start": "2000-08-01T00:00Z",
"end": "2000-10-04T00:00Z"
}
}
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