Changes between Version 2 and Version 3 of Cookbook/Map/Query
- Timestamp:
- 06/06/08 04:54:39 (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified Cookbook/Map/Query
v2 v3 31 31 computedProperties:: 32 32 boolean, default is false. This controls whether to compute additional properties about the geometries of the features that are in the result set, including perimeter and area of polygons, lengths of lines etc. 33 34 == Example == 35 36 {{{ 37 var map = Fusion.getWidgetById('map'); 38 map.registerForEvent(Fusion.Event.MAP_SELECTION_ON, mySelectionHandler); 39 var options = {}; 40 options.geometry = 'POLYGON((0 0,0 1,1 1,1 0,0 0))'; 41 options.layers = 'parcels' 42 options.filter = 'parcelid = 10010'; 43 map.query(options); 44 }}}