Patch for KML format of OpenLayers.
Extends the OpenLayers.Format.KML format to load StyleMap with “normal” and “highlight” styles.
OpenLayers. | Patch for KML format of OpenLayers. |
Functions | |
parseStyleMaps | Looks for <Style> nodes in the data and parses them Also parses <StyleMap> nodes, but only uses the ‘normal’ key |
getStyle | Retrieves a style from a style hash using styleUrl as the key If the styleUrl doesn’t exist yet, we try to fetch it Internet |
Looks for Style nodes in the data and parses them Also parses StyleMap nodes, but only uses the ‘normal’ key
_prototype.parseStyleMaps = function( nodes, options )
Retrieves a style from a style hash using styleUrl as the key If the styleUrl doesn’t exist yet, we try to fetch it Internet
_prototype.getStyle = function( styleUrl, options )