Perform an identidy


Home
Up
Downloads
templates
Schedule
Members
Archive
AXL (ESRI)
WMS (OGC)
GeoRSS
XML (Static)
Other tools
Discussions
Search
Contact Us


Up


Selecting data on the map.

To perform selection on a map you need know how the service layers are named and what fields they provide.
There is a tool available (When you installed the map extention) under the menu Window->Other panels->Arc IMS services.
This tool can help you explore the map service. Before you can perform a selection you need to know 2 things.

1) The layerid you want to make the selection on. The ArcIMS service tool will display this information between [ ].
2) The field-names you would like to retrieve.

Once you know what information you want the user to see. Do the following action on your map-viewer.

1) Drag an selectLayer component on the stage.

2) Open the properties window (Or use Alt-F7) to see all properties as shown below.

3) find the "fromlayer" property and refer to the layerid your selection should be performed on. In this example the layerid is called "SDEEPER_points"
4) Double click on the "subfields" property and add all fields you like to retrieve. (this is optional) In this example we use the #ALL# tag.
5) Type the map_instance name inside the "target_instance_name" property. In this example we use "my_map"
6) Depending on the type of layer (line,point,poly) you can decide how you would like to display the selection on the map. in this case it is a point layer and we show the selection with a marker symbol. Double click on the "Marker symbol" property.
7) Press the + sign.

8) Alter the symbology as you wish and press Ok.

9) Now we need to decide where the result will be send too. Drag a grid-component on the stage and call the grid "my_grid" in the instance name of the component.
10) Go back to the selectionLayer component and type "my_grid" inside the result_instance_name property.

You can drag multiple of those selection-components on the stage and point them to different output objects. Also the onSelectResult of the map-component will trigger each time a selection is performed. Other action could be taken from this event.

At this moment the map is ready for selection. A selection will only happen when the user interaction is set towards "select" mode. In this example we simple drag the select-button on the stage and refere to my_map. The result shoud look like this.

Source code : selection.fla


Home | Downloads | templates | Schedule | Members | Archive | AXL (ESRI) | WMS (OGC) | GeoRSS | XML (Static) | Other tools | Discussions | Search | Contact Us

Locations of visitors to this page

 All source code and components can be used freely by anybody.
For problems or questions regarding this Web site contact
[ProjectEmail].
Last updated: 05/10/07.