mapfish.GeoStat.ProportionalSymbol

Use this class to create proportional symbols on a map.

Mandatory options are :

  • features

Example usage :

new mapfish.GeoStat.ProportionalSymbol(this.map, {
    minSize: 5,
    maxSize: 15,
    idAttribute:
});

Inherits from

Summary
mapfish.GeoStat.ProportionalSymbolUse this class to create proportional symbols on a map.
Properties
minSize{Integer} The minimum radius size
maxSize{Integer} The maximum radius size
Constructor
OpenLayers.Layer
Functions
updateOptionsMethod used to update the properties indicator, minSize and maxSize.
applyClassificationThis function loops over the layer’s features and applies already given classification.

Properties

minSize

{Integer} The minimum radius size

maxSize

{Integer} The maximum radius size

Constructor

OpenLayers.Layer

Parameters

map{OpenLayers.Map} OpenLayers map object
options{Object} Hashtable of extra options

Functions

updateOptions

updateOptions: function(newOptions)

Method used to update the properties indicator, minSize and maxSize.

Parameters

newOptions{Object} options object

applyClassification

applyClassification: function(options)

This function loops over the layer’s features and applies already given classification.

Parameters

options{Object} Options object with a single {Boolean} property: resetClassification.
updateOptions: function(newOptions)
Method used to update the properties indicator, minSize and maxSize.
applyClassification: function(options)
This function loops over the layer’s features and applies already given classification.
Base class for geo-statistics.
Instances of OpenLayers.Map are interactive maps embedded in a web page.
Close