Changes between Version 2 and Version 3 of Cookbook/Map/Query


Ignore:
Timestamp:
Jun 6, 2008, 4:54:39 AM (16 years ago)
Author:
pagameba
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Cookbook/Map/Query

    v2 v3  
    3131 computedProperties::
    3232   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{{{
     37var map = Fusion.getWidgetById('map');
     38map.registerForEvent(Fusion.Event.MAP_SELECTION_ON, mySelectionHandler);
     39var options = {};
     40options.geometry = 'POLYGON((0 0,0 1,1 1,1 0,0 0))';
     41options.layers = 'parcels'
     42options.filter = 'parcelid = 10010';
     43map.query(options);
     44}}}