[OpenLayers-Users] Vector StyleMap labels with HTML tags (is it possible?)

Milan Antonovic milan.antonovic at gmail.com
Tue Aug 11 05:56:33 EDT 2009


Hi list,
I would like some explanation about StyleMap with labels, before OL 2.8 I
used to create popups with transparent background to create labels.
But now I tried to use the new StyleMap - label option.

During my tests I understand that I cannot do somthing like this:

  label : "<h2>${value}</h2><br>${name}",

Is there an other way to format labels with html tags using the label
option?


My best regards


  Milan

--

M. Antonovic
Software Engineer
Institute of Earth Sciences - SUPSI
 - http://www.ist.supsi.ch/
Division of Geomatics
 - http://istgeo.ist.supsi.ch/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090811/652e96a1/attachment.html


More information about the Users mailing list