Followup to r8519; fix styleurl parsing as well. Includes new KML modifications
to examples to show styleurls in action. r=me (Closes #1796) git-svn-id: http://svn.openlayers.org/trunk/openlayers@8882 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -543,7 +543,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
// Create reference to styleUrl
|
||||
if (this.extractStyles && feature.attributes &&
|
||||
feature.attributes.styleUrl) {
|
||||
feature.style = this.getStyle(feature.attributes.styleUrl);
|
||||
feature.style = this.getStyle(feature.attributes.styleUrl, options);
|
||||
}
|
||||
|
||||
if (this.extractStyles) {
|
||||
|
||||
Reference in New Issue
Block a user