Forum/KB - Mapping

Configuring Incoming Events

Pierre Seguin
posted this on September 16, 2010 02:47

<incomingEvents>
    <incomingEvent queryName="MapQuery">

        <behaviours>
            <behaviour id="" type="queryLayer">
                <queryLayer mapServiceId="StatesUSA" layerId="0" returnGeometry="true">
                    <outFields>
                        <field>STATE_NAME</field>
                    </outFields>
                </queryLayer>
                <behaviours>
                    <behaviour id="" type="drawGraphic">
                        <drawGraphic/>
                    </behaviour>
                    <behaviour id="" type="zoomToSelection">
                        <zoomToSelection/>
                    </behaviour>
                </behaviours>                
            </behaviour>
        </behaviours>
    </incomingEvent>
</incomingEvents>