0
votes
0answers
29 views

OpenLayers: WMSGetFeatureInfo shouldn't return feature when a layer is hidden

In OpenLayers, I have a map with several layers. I created a control to query the layers and return feature info. var info= new OpenLayers.Control.WMSGetFeatureInfo({ ...
2
votes
1answer
1k views

Layer visibility using maxscale minscale not working

I'm using Openlayer and Geoserver. I have a series of layers that have a scale parameter like: 1:50000-1:25000 where 50000 is the max scale while 25000 is the minscale. I have a map like in this ...
4
votes
3answers
3k views

openlayers toggle visibility of layer

EDIT: I have cross-posted this to Drupal Answers. I hope this isn't too much against the rules --- I think the answer will be something to do with both Drupal and OpenLayers. ...
0
votes
1answer
123 views

Control visibility of multiple layers

I am displaying multiple feature types using one layer in OpenLayers, like here: var **vector** = new OpenLayers.Layer.Vector("My Layer", { maxExtent: new OpenLayers.Bounds(-1.09863,44.42907, ...