Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

The Map Layer URL parser allow the user to show specified layers when the client start, overriding the default settings for the toc.


The user can use the ShowMapLayers or HideMapLayers keys in the URL to either show a set of layers or to hide them. The value should the layer id and map engine id separated by '/', i.e. roads/me.vector. Optionally, the toc layer id (id attribute from the toc for the specified layer) could be specified without the need to specify layer id or Map Engine. Multiple layers should be comma separated.


Example:

Show/Hide layers by layer id + mapengine and by toc layer id.

http://localhost:8080/weave/desktop.html?ShowMapLayers=0/mapengine.weave.tile.waymarkedtrails.org.cycling,l_mapengine.weave.tile.lonvia.de.hiking_0


http://localhost:8080/weave/desktop.html?HideMapLayers=0/mapengine.weave.tile.waymarkedtrails.org.cycling,l_mapengine.weave.tile.lonvia.de.hiking_0


  • No labels