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:
crschmidt
2009-02-21 13:43:21 +00:00
parent d4c94eb1e6
commit 31dd2e65bd
4 changed files with 32 additions and 2 deletions
+2 -1
View File
@@ -19,7 +19,8 @@
format: OpenLayers.Format.KML,
formatOptions: {
extractStyles: true,
extractAttributes: true
extractAttributes: true,
maxDepth: 2
}
}));
map.zoomToExtent(new OpenLayers.Bounds(-112.306698,36.017792,-112.03204,36.18087));