[OpenLayers-Trac] [OpenLayers] #1259: Add KML Styling support
OpenLayers
trac at openlayers.org
Fri Feb 8 23:25:06 EST 2008
#1259: Add KML Styling support
-------------------------+--------------------------------------------------
Reporter: rdewit | Owner: tschaub
Type: feature | Status: new
Priority: minor | Milestone: 2.6 Release
Component: Format.KML | Version: 2.5
Resolution: | Keywords:
State: Review |
-------------------------+--------------------------------------------------
Comment (by ahocevar):
1259-!r6161-A0.patch
This patch adds a few changes to Roald's kml_styling_v3.1.diff:
* features, styles and fetched will be cleared on every call of read()
* Styles will only be parsed if extractStyles is set to true
* Styles will no longer extend
OpenLayers.Feature.Vector.Style!["default"]
* Options from read() moved back to the instance, because they do not
change the return type
* Shows style extraction in examples/KMLParser.html
I am not concerned about the hotspots. If it turns out that there are
problems, another ticket can be created to track that.
--
Ticket URL: <http://trac.openlayers.org/ticket/1259#comment:13>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list