1
vote
1answer
44 views

openlayers and labeling

Okay, I've been banging my head against the wall on this and I'm pretty sure I'm missing something silly. So I'm hoping you guys can help. The idea here is to allow the user to type in the label they ...
1
vote
0answers
100 views

How to make labels appear in Geoserver? (WMS) [duplicate]

Possible Duplicate: How to avoid duplicate labels on each tile? I have an Annotation Shapefile. I added it into GeoServer as point Shapefile and set its label with the help of the style ...
1
vote
1answer
1k views

show a Collection of LineStrings with labels

I use the following peace of code to show multiple LineStrings which have a point as the last one, along with a label: var strokeColors = [...];//"#FFAACC" kind-of elements var linesLayer = new ...
3
votes
5answers
1k views

Openlayers renderer in IE8 - Labels not visible

I copied the source code of http://openlayers.org/dev/examples/vector-features-with-text.html. This url works just fine in IE8. I put the html page as it is in the webfolder in our network. I opened ...
1
vote
1answer
250 views

Openlayers dynamically label polygon segments

My requirement is to show dynamic label on polygon feature's segments with some offeset. The label text should have the rank of each segment. If it is a square which starts at top left corner it will ...
5
votes
2answers
1k views

How to disable polygon Label on the vertices (OpenLayers) in Edit Mode

I added the style on the polygon layer like so. var style = $.extend(true, {}, OpenLayers.Feature.Vector.style['default']); // get a copy of the default style style.label = "1233456 ha" ...
2
votes
1answer
255 views

Prevent formatting of label text in OpenLayers

I have a vector layer in OpenLayers containing a few point features. Each of my features have an attribute tag which contains a short text identifying the feature. Example: tag: '1e-1' Applied ...
2
votes
1answer
2k views

How can I update the label of a Polygon Vector after it has been drawn?

I am quite new to OpenLayers. Right now, I have a polygon vector with some styling applied and a label. var style = $.extend(true, {}, OpenLayers.Feature.Vector.style['default']); style.pointRadius ...
3
votes
2answers
1k views

How to label a dynamic KML file in OpenLayers?

How can I display labels for features in a KML file on an OpenLayers map. I was thinking of using popup messages, but labels are more attractive and eye-catching. I want to replicate the labeling ...
2
votes
1answer
688 views

Label halos in OpenLayers

I would like to add halos on my labels on an Openlayers map. I have tried adding the following to my code but no halos display. labelHaloColor: "#FFFFFF", labelHaloWidth: "2", I got that from ...