Base class for geo-statistics. This class is not meant to be used directly, it serves as the base for specific geo-statistics implementations.
| mapfish. GeoStat | Base class for geo-statistics. |
| 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. |
| requestSuccess | {Function} Function called upon success with the HTTP request. |
| requestFailure | {Function} Function called upon failure with the HTTP request. |
| 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} Defines the attribute to apply classification on |
| Constructor | |
| mapfish. GeoStat | |
| Functions | |
| applyClassification | To be overriden by subclasses. |
| Constants | |
| mapfish. GeoStat. Distribution. CLASSIFY_WITH_BOUNDS | |
| mapfish. GeoStat. Distribution. CLASSIFY_BY_EQUAL_INTERVALS | |
| mapfish. GeoStat. Distribution. CLASSIFY_BY_QUANTILS |
{OpenLayers.Layer.Vector} The vector layer containing the features that are styled based on statistical values. If none is provided, one will be created.
{OpenLayers.Format} The OpenLayers format used to get features from the HTTP request response. GeoJSON is used if none is provided.
| map | {OpenLayers.Map} OpenLayers map object |
| options | {Object} Hashtable of extra options |
To be overriden by subclasses.
applyClassification: function( options )