Select to view content in your preferred language

add layers features or operational layers

791
2
03-09-2014 09:04 PM
MohammedKhamis
Emerging Contributor
Dear My Friends,

How can add layers features or operational layers on the small Screen Viewer in Flex ?? , and how can do it ???

you can see attached to understand my Question..


thanks for helping
Tags (2)
0 Kudos
2 Replies
AnthonyGiles
Honored Contributor
Mohammed,

You can specify which map service is used for the overmap in its config file. If no layer is specified in the config then the overview map will use the basemap service currently selected.

So if you want to show your basemap with operational layers over the top you will need to create a combined service that you then specify in the config file, see:


http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Overview_Map_widget_tags/01m300...

Regards

Anthony
0 Kudos
MohammedKhamis
Emerging Contributor
Dear Anthony Giles ,

thanks for your answer , What I understanding from you and helping Esri ,

I copy url (my service) on the config overviewMap by format xml , as you see in the below ..
it is right or not ??

<?xml version="1.0"?>
<configuration>
    <!-- possible values for initialstate: open or closed (default) -->
    <initialstate>closed</initialstate>
    <!-- by default it will use the same basemap as current main map,
         you can hardcode as below if you wish -->
    <!-- <layer
            type="tiled"
            url="http://my server/arcgis/rest/services//GeneralServices/General_Services/MapServer?f=jsapi"/>
    -->
</configuration>

<!--
    See Overview Map widget tag reference at
    http://links.esri.com/overviewmapwidget
-->






but If I want to add basamap how can doing ??

Sorry I am not good for language programmer..
Mony Thanks.


Regards,
mohammed
0 Kudos