Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

This bundle passes the tranparency settings of layers via the URL.

License

Notifications You must be signed in to change notification settings

conterra/mapapps-url-transparency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mapapps-url-transparency

This bundle passes the tranparency settings of layers via the URL. For all operational layers for which you can change the opacity a URL extension will be generated. This way it is possible to pass an application with user-defined transparencies of layers.

❗️ This bundle is no longer needed for map.apps line 4 apps. From map.apps 4.5.0 on, transferring transparency set by a user, is a map.apps core functionality. ❗️

Installation Guide

Requirement: map.apps @^3.1.4

To generate the URL with the layer transparency add the parametermanager bundle.

No special configuration needed. Just add the bundle to the app.json.

Development Guide

Define the mapapps remote base

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>

Other methods to to define the mapapps.remote.base property.
  1. Goal parameters mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%

  2. Build properties Change the mapapps.remote.base in the build.properties file and run: mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties