Read/Wite SLD. Create a new instance with the OpenLayers.Format.SLD constructor.
OpenLayers. Format.SLD | Read/Wite SLD. |
Properties | |
defaultVersion | {String} Version number to assume if none found. |
version | {String} Specify a version string if one is known. |
namedLayersAsArray | {Boolean} Generate a namedLayers array. |
Constructor | |
OpenLayers. Format.SLD | Create a new parser for SLD. |
Functions | |
write | Write a SLD document given a list of styles. |
read | Read and SLD doc and return an object representing the SLD. |
Write a SLD document given a list of styles.
write: function( sld, options )
Read and SLD doc and return an object representing the SLD.
read: function( data, options )