Locations of visitors to this page

Downloads Components

 

 

Using the virtual layer component.

The virtual layer component makes it easy to play with layers inside an ArcIMS service. You can use it for the following tasks.

  • Turn off/on layers during startup
  • Change symbols and add where clauses
  • Create joints to tables
  • Add layers not specified in the AXL-config file.

In the following example we will show how you initialy turn off a layer and how you put a where clause on top of a layer during load of a service.

Turn off SDEEPER_points.

  1. Drag a virtual layer component onto the stage.
  2. Give the component the instance name 'SDEEPER_points'. The same as the layerid inside the AXL-file.
  3. Open the component inspector (Alt-F7)
  4. set visible property to false
  5. set target_instance_name to 'my_map', (instance name of the map component)

Query SDEEPER and only show groupid 4, show the points into black circles.

  1. Drag a virtual layer component onto the stage.
  2. Give the component the instance name 'SDEEPER4_points'.
  3. Open the component inspector (Alt-F7)
  4. set target_instance_name to 'my_map', (instance name of the map component)
  5. set the "where" property to "groupid = 4"
  6. set the "fromlayer" property to "SDEEPER_points"
  7. double click on the "marker symbol" property
  8. click on the plus sign.
  9. set the "width" property to 4

Screenshot of the the macromedia flash design environment. The globe sign with a big plus is the virtual layer component.

The following show the result.

Download the example here