0
votes
0answers
126 views

Add Legend with GeoExt in OpenLayers

I need help with legend display for a WMS layer. So far I did this: - insert a Google Map Hybrid layer - insert a layer called "Vladaia" for creating the page - insert CQL filter for WMS layer - ...
2
votes
1answer
347 views

How to add a legend and toggle the legend with a layer in Openlayers?

I'm currently trying to add a legend to my map and to show/hide it, when the corresponding layer (an image layer) is shown/hidden. My approach was to add a custom button with a .png of my legend. That ...
1
vote
0answers
116 views

How to add Legend Panel to Dojo / Openlayers?

I have openlayers app on dojo framework. I've been serving WMS layers with geoserver and wanted to use GetLegendGraphic to build legend for all layers. I've seen there are some ready widgets (like ...
1
vote
1answer
357 views

GeoExt: Excluding some of the layers from the legend

Openlayers and GeoExt for producing a web map. The map has a legend panel generated by GeoExt. By default, GeoExt grabs the details of every layers from the map and create a legend for all the layers. ...
2
votes
1answer
618 views

Legend labels for Vector layer symbols - how to name them (GeoEXT)

I'm coding with GeoExt and I have some problems trying to display the names of diferent features in a vector layer. This is my code: mapPanel = new GeoExt.MapPanel({ map: map }); legendPanel = ...
1
vote
0answers
55 views

How to extract numbers from each vectors?

I'm trying to create custom legend for a layer where OpenLayers.Rule objects are created dynamically and added to a layer. new OpenLayers.Rule({ symbolizer: { ...