KML Style and Label Question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

KML Style and Label Question

dnbphysicist
All, it seems when you plot KML and set the format to extract styles, the style map on the vector label is bypassed. Is this true? If so, how do you extract styling AND set a label on a feature? Using OL 2.12.

Thanks in advance.

_______________________________________________
Users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
Reply | Threaded
Open this post in threaded view
|

Re: KML Style and Label Question

Xavier Mamano (jorix)
> ... KML and set the format to extract styles, the style map on the vector label is bypassed. Is this true?
Yes :-(

> If so, how do you extract styling AND set a label on a feature?
You consider acceptable to use <LabelStyle> in KLM? If not, AFAIK, should do some trick in function KML.parseStyle

Regards,

dnbphysicist wrote
All, it seems when you plot KML and set the format to extract styles, the
style map on the vector label is bypassed. Is this true? If so, how do you
extract styling AND set a label on a feature? Using OL 2.12.

Thanks in advance.

_______________________________________________
Users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/openlayers-users