[OpenLayers-Users] KML write custom attribute
Alexandre Dube
adube at mapgears.com
Wed Aug 5 08:05:33 EDT 2009
Hi Peter,
How do you add your new 'Info' attribute to your feature ? Please, share
some of your code.
Regards,
Alexandre
Peter Dawn wrote:
> Hi everyone,
>
> I am using open layers to write to kml. I am able to successfully
> write to a 'Description' attribute as its already in KML.
>
> But if I need to introduce a new attribute like 'Info', I am unable to
> write to it using open layer. I would expected, since KML is just XML
> it would allow me to create a custom attribute.
>
> So if I use,
> kmlFormater.write(features);
> This writes to just description attribute.
>
> If I create my own then it doesn't. Does anybody know if there is a
> work around this.
>
> Thanks.
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Users
mailing list