Select to view content in your preferred language

Bind esri:OverviewMap from code behind in silverlight... ??

2079
2
11-08-2013 12:22 AM
MohammadSharique
Emerging Contributor
Hi All,

I required OverviewMap binding from code behind. can i do please let me know.
Below are the xaml which i want to same from code behind

<esri:OverviewMap x:Name="OVMap" MaximumExtent="-205818.8687,-7042.26300000027,1142621.2779,1018258.1427" Map="{Binding ElementName=PrintOverviewMap}" Margin="0" Foreground="{x:Null}" BorderThickness="1" Background="White">
<esri:ArcGISDynamicMapServiceLayer Url="http://10.104.51.114/ArcGIS/rest/services/DEVGIS/BaseMapNew/MapServer" />
</esri:OverviewMap>



Thanks in Advance
Mohammad Sharique
0 Kudos
2 Replies
ErwinSoekianto
Esri Alum

<esri:OverviewMap x:Name="OVMap" MaximumExtent="-205818.8687,-7042.26300000027,1142621.2779,1018258.1427" Map="{Binding ElementName=PrintOverviewMap}" Margin="0" Foreground="{x:Null}" BorderThickness="1" Background="White">
<esri:ArcGISDynamicMapServiceLayer Url="http://10.104.51.114/ArcGIS/rest/services/DEVGIS/BaseMapNew/MapServer" />
</esri:OverviewMap>


In the code behind would be,

OVMap.Map = PrintOverviewMap;
0 Kudos
MohammadSharique
Emerging Contributor
Hi Dear,

I have tried as you mentioned in below but still its not working.
OVMap.Map = PrintOverviewMap;


Kindly can you please sent me a sample code.

Thanks in Advance
Mohammad Sharique
0 Kudos