mapfish. widgets. geostat. ProportionalSymbol

Use this class to create a widget allowing to display proportional symbols on the map.

Inherits from

  • {Ext.FormPanel}
Summary
mapfish. widgets. geostat. ProportionalSymbolUse this class to create a widget allowing to display proportional symbols on the map.
Properties
layer{OpenLayers.Layer.Vector} The vector layer containing the features that are styled based on statistical values.
format{OpenLayers.Format} The OpenLayers format used to get features from the HTTP request response.
url{String} The URL to the web service.
featureSelection{Boolean} A boolean value specifying whether feature selection must be put in place.
nameAttribute{String} The feature attribute that will be used as the popup title.
indicator{String} (read-only) The feature attribute currently chosen Useful if callbacks are registered on ‘featureselected’ and ‘featureunselected’ events
indicatorText{String} (read-only) The raw value of the currently chosen indicator (ie.
loadMaskAn Ext.LoadMask config or true to mask the widget while loading (defaults to false).
Constructor
mapfish. widgets. geostat. ProportionalSymbol

Properties

layer

{OpenLayers.Layer.Vector} The vector layer containing the features that are styled based on statistical values.  If none is provided, one will be created.

format

{OpenLayers.Format} The OpenLayers format used to get features from the HTTP request response.  GeoJSON is used if none is provided.

url

{String} The URL to the web service.  If none is provided, the features found in the provided vector layer will be used.

featureSelection

{Boolean} A boolean value specifying whether feature selection must be put in place.  If true a popup will be displayed when the mouse goes over a feature.

nameAttribute

{String} The feature attribute that will be used as the popup title.  Only applies if featureSelection is true.

indicator

{String} (read-only) The feature attribute currently chosen Useful if callbacks are registered on ‘featureselected’ and ‘featureunselected’ events

indicatorText

{String} (read-only) The raw value of the currently chosen indicator (ie. human readable) Useful if callbacks are registered on ‘featureselected’ and ‘featureunselected’ events

loadMask

An Ext.LoadMask config or true to mask the widget while loading (defaults to false).

Constructor

mapfish. widgets. geostat. ProportionalSymbol

Parameters

config{Object} Config object.
Instances of OpenLayers.Layer.Vector are used to render vector data from a variety of sources.
Base class for format reading/writing a variety of formats.
Close