[GIS] Displaying operational layers in the overview map

arcgis-flex-apiflex

Does anyone have the code to display an operational layer within the overview map?

Best Answer

<?xml version="1.0"?>
<configuration>
    <!-- possible values for initialstate: open or closed (default) -->
    <initialstate>open</initialstate>
    <!-- by default it will use the same basemap as current main map,
         you can hardcode as below if you wish -->
    <layer label="Demographics" 
           type="tiled"
           url="http://server.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_Median_Household_Income/MapServer"
    />
</configuration>

<!--
    See Overview Map widget documentation at
    http://links.esri.com/overviewmapwidget
-->
Related Question