A feature collection of a result geometry list.
Copyright © 2009, Open Source Geospatial Foundation This program is dual licensed under the GNU General Public License and Simplified BSD license. http://svn.osgeo.org
ResultGeometryListModel | A feature collection of a result geometry list. |
Functions and Properties | |
ResultGeometryListModel | |
events | |
addFeatureCollection | Add a feature collection to the geometry array |
addFeature | Add a feature to the geometry array |
deleteFeatureCollection | Delete the feature collection (= clear) |
deleteFeature | Delete a feature from the geometry array |
updateFeature | Replace a feature in the geometry array |
setFeatureProperty | Set a property of a feature in the geometry array |
getFeatureProperty | Get a property of a feature in the geometry array |
getFeature | Get a feature in the geometry array |
var ResultGeometryListModel = function ()
Add a feature collection to the geometry array
this.addFeatureCollection = function ( geoJSON )
Add a feature to the geometry array
this.addFeature = function ( geoJSON )
Delete the feature collection (= clear)
this.deleteFeatureCollection = function ()
Delete a feature from the geometry array
this.deleteFeature = function ( index )
Replace a feature in the geometry array
this.updateFeature = function ( index, geoJson )
Set a property of a feature in the geometry array
this.setFeatureProperty = function ( index, pName, pValue )
Get a property of a feature in the geometry array
this.getFeatureProperty = function ( index, pName )
Get a feature in the geometry array
this.getFeature = function ( index )