Version 1 (modified by 16 years ago) ( diff ) | ,
---|
Using Map.query()
Fusion contains several widgets that allow the user to interactively select features in your map, but it is also possible to programmatically select features as well. This can be done in a couple of ways:
- writing some server-side code that performs the query, or
- using the
query()
method of the Map widget.
In this recipe, we'll look specifically at using the client side Map.query() method.
Map.query( options )
The options parameter to Map.query is an object that contains some of the following attributes:
- persistent
- geometry
- maxFeatures
- layers
- selectionType
- filter
- extendSelection
- computedProperties
Note:
See TracWiki
for help on using the wiki.