Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Redlining: styles in exported KML are not taken into account #849

Open
asaunier opened this issue Sep 1, 2014 · 1 comment
Open

Redlining: styles in exported KML are not taken into account #849

asaunier opened this issue Sep 1, 2014 · 1 comment

Comments

@asaunier
Copy link
Member

asaunier commented Sep 1, 2014

The styles contained in the KML files exported by the redlining tool are not taken into account when loaded in Google Earth/Maps or with the AddKmlFile plugin.

May be reproduced at http://mapfish-geoportal.demo-camptocamp.com/1.5

@sbrunner sbrunner added this to the 1.5 milestone Sep 1, 2014
@asaunier
Copy link
Member Author

asaunier commented Sep 3, 2014

Actually the problem comes from OpenLayers.Format.KML that does not support styles when exporting features to KML (styles are only supported when importing KML).

The "styles" available in the elements of the exported KML files are only attributes of the exported features but cannot be used as actual styles. In short: there are useless here.

I have found an old ticket in OpenLayers about styles exporting in KML:
http://trac.osgeo.org/openlayers/ticket/2409
but it is still open :)

@sbrunner sbrunner modified the milestones: 1.6, 1.5 Sep 3, 2014
@sbrunner sbrunner removed this from the 1.6 milestone Apr 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants