Use this class to create choropleths on a map.
mapfish. GeoStat. Choropleth | Use this class to create choropleths on a map. |
Properties | |
colors | {Array(<mapfish.Color>}} Array of 2 colors to be applied to features We should use styles instead |
method | {Integer} Specifies the distribution method to use. |
numClasses | {Integer} Number of classes |
Constructor | |
mapfish. GeoStat. Choropleth | |
Functions | |
updateOptions | Method used to update the properties method, indicator, numClasses and colors. |
applyClassification | Style the features based on the classification |
map | {OpenLayers.Map} OpenLayers map object |
options | {Object} Hashtable of extra options |
Method used to update the properties method, indicator, numClasses and colors.
updateOptions: function( newOptions )
Style the features based on the classification
applyClassification: function( options )