Arnd Wippermann wrote:
That will work:

<Placemark>
<name>La Roquebrussanne</name>
<description>Provence</description>
<Point>
<coordinates>665231.4570703981,5363853.803594344</coordinates></Point></Plac
emark>

Thanks, at least my code is correct. Besides is it possible to have the name attribute written centered instead at the start of the KML? Is this because of the "label" declaration in the styles?

      styles = new OpenLayers.StyleMap ({
                   "default": new OpenLayers.Style({
                       label: "${name}",
                       fillColor: "#ffcc66",
                       strokeColor: "red",
                       strokeWidth: 3
                   }),

Are these styles anywhere documented or how do I find them?

Wyo

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

Reply via email to