Select to view content in your preferred language

Overview Map widget: adding operational layer & modifying spatial extent

393
0
10-03-2013 12:23 PM
MichaelPolly
Deactivated User
Hello! I am new to Flex. I'm using ArcServer 10.0 & Flex Viewer/App Builder/API 3.4. I've modified the OverviewMapWidget.xml so that the Overview Map (a) is open when the web map is started and (b) does not collapse. Now, I'm trying to (c) add an operational layer to the Overview and (d) make the spatial extent of the Overview Map static so that as the user navigates in the Main map s/he always knows the current location relative to the overall boundary. (C) seems like it should be straightforward, but I haven't gotten it to work. Is (d) even possible?

Here's my code:

<?xml version="1.0" ?>
<configuration>
    <initialstate>open</initialstate>
    <collapsible>false</collapsible>

    <layer type="tiled"
            url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" />

    <!--
    <layer type="tiled"
            url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" />
     -->

    <layer type="feature"
            url="http://srvt4/ArcGIS/rest/services/Test/ResIt/MapServer/0" />

</configuration>

Thank you for your help!!

Mike
Tags (2)
0 Kudos
0 Replies