camptocamp / ngeo

Library combining OpenLayers and AngularJS
https://camptocamp.github.io/ngeo/master/examples
MIT License
135 stars 87 forks source link

MapServer run time substitution in ngeo #3214

Closed svaabs closed 6 years ago

svaabs commented 6 years ago

For limiting the displayed features of a layer you could use MapServer run time substitution in cgxp and add the parameter _mapparam_ to the URL. We were told, that the parameter in ngeo is called dim_, but it does not work for us. Is there some more configuration needed?

Project:

sbrunner commented 6 years ago

Yes, in the database the layer should have a dimension with the same name and no value :-)

svaabs commented 6 years ago

Solved the problem, thank you!