HSLayers.SLD.Util (class)

HSLayers.SLD.Util

class HSLayers.SLD.Util()

Helper class

Methods

HSLayers.SLD.Util.createAttributeStoreEmpty()
Returns:
Return type:Ext.data.Store
HSLayers.SLD.Util.createAttributeStoreFromArray(arr)
Arguments:
  • arr (Array) –
Returns:

Return type:

Ext.data.Store

HSLayers.SLD.Util.initAttributeStore(attributes)
Arguments:
  • attributes (Mixed) –
    {Ext.data.Store}

    {Array}

Returns:

Return type:

Ext.data.Store

HSLayers.SLD.Util.generateRandomColor()
Returns:
Return type:String
HSLayers.SLD.Util.generateDefaultSymbolizer(symbolType)
Arguments:
Returns:

Return type:

Object

HSLayers.SLD.Util.initRule(rule, symbolType)
Arguments:
  • rule (OpenLayer.Rule) –
  • symbolType (String) –
Returns:

Return type:

OpenLayer.Rule

HSLayers.SLD.Util.getSLDFromRule(rule)
Arguments:
  • rule (OpenLayer.Rule) –
Returns:

Return type:

String

HSLayers.SLD.Util.getSLDFromStyle(style)
Arguments:
  • style (OpenLayers.Style) –
Returns:

Return type:

String

HSLayers.SLD.Util.formatXml(xml, indentString)
Arguments:
Returns:

Return type:

String

HSLayers.SLD.Util.showSLD(sld)
Arguments:
  • sld (Mixed) – {String}

{OpenLayers.Style}

Returns:
HSLayers.SLD.Util.cloneSymbolizer()

:param Object :

Returns:
Return type:Object
HSLayers.SLD.Util.getSymbolizersForPreviewFromRule(rule, symbolType)
Arguments:
  • rule (OpenLayers.Rule) –
  • symbolType (String) –
Returns:

Return type:

Array of Object

HSLayers.SLD.Util.getSymbolizersForPreviewFromSymbolizers(symbolizerGeom, symbolizerText)
Arguments:
  • symbolizerGeom (Object) –
  • symbolizerText (Object) –
Returns:

Return type:

Array of Object

HSLayers.SLD.Util.addTextForPrimarySymbolizer(style, symbolType)
Arguments:
  • style (OpenLayers.Style) –
  • symbolType (String) –
HSLayers.SLD.Util.removeTextForPrimarySymbolizer(style, symbolType)
Arguments:
  • style (OpenLayers.Style) –
  • symbolType (String) –

Main Menu


Table Of Contents

Previous topic

HSLayers.SLD.UniqueSymbolsPanel (class)

Next topic

HSLayers.SOS (class)

This Page