[OpenLayers-Users] showing textlabels on a KML layer

Thomas PAPIN thomas.papin at gmail.com
Fri Aug 27 06:12:29 EDT 2010


Cool project,

One more thing, add to your stylemap
labelSelect: true

so the user will be able to click on the text and not only on the point.

Thomas

2010/8/26 Tim Alder <tim.alder at s2002.tu-chemnitz.de>

> Thanks a lot.
> The result is now:
>
> http://toolserver.org/~kolossos/openlayers/kml-on-ol-labels.php?zoom=13&lat=48.20833&lon=16.373063&lang=de<http://toolserver.org/%7Ekolossos/openlayers/kml-on-ol-labels.php?zoom=13&lat=48.20833&lon=16.373063&lang=de>
>
> Are there some ideas to make it cleaner:
> *Anticollision/Pseudo-Clustering
> *halftransparent text background
> *replace "space" to "<br>" to make the labels more compact
> ?
> Everything seem a little bit complex for me.
>
> Greetings Kolossos
>
> Thomas PAPIN schrieb:
>
>> You can do something like:
>> ....
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100827/7ee94020/attachment.html


More information about the Users mailing list