Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wanting to take the labels/attributes that are used in arcMap and display them in an InfoWindow when the user clicks on the map point. I really have no idea where to start on this so any help would be appreciated. I have attached a screen shot of my arcMap with the labels as well as a screen shot of where I am wanting the labels to appear. If you look at the picture titled 'InfoWindow,' Utah is displayed when the user clicks on the state.

Here is the xaml I have used with my maps so far:

<esri:Map x:Name="MyMap" Background="#FFE3E3E3" WrapAround="True" MouseClick="MyMap_MouseClick" MouseRightButtonDown="MyMap_MouseRightButtonDown" Extent="-9834972.92753924,4441899.425293319,-9833977.88119163, 4442762.485358352">
                <esri:ArcGISTiledMapServiceLayer ID="MyLayer" Url="" />
<esri:ArcGISDynamicMapServiceLayer  ID="ID" Url="This is where the URL is."/>

            <Border Background="{StaticResource PanelGradient}" BorderThickness="1" CornerRadius="5"
            HorizontalAlignment="Left"  VerticalAlignment="Top"
            Margin="20" Padding="5" BorderBrush="Black" >
                <esri:Legend Map="{Binding ElementName=MyMap}"
                            <StackPanel Orientation="Horizontal">
                                <CheckBox Content="{Binding Label}"
                                    IsChecked="{Binding IsEnabled, Mode=TwoWay}"
                                    IsEnabled="{Binding IsInScaleRange}" >
                                <Slider Maximum="1" Value="{Binding Layer.Opacity, Mode=TwoWay}" Width="50" />
                            <CheckBox Content="{Binding Label}"
                            IsChecked="{Binding IsEnabled, Mode=TwoWay}"
                            IsEnabled="{Binding IsInScaleRange}" >

If you have any questions, do not hesitate to ask! Thanks again! Labels InfoWindow

share|improve this question
If this is using the ArcGIS API for Silverlight then you may want to put a title and tag(s) on it that attracts AGS/Silverlight developers to it - at the moment I suspect they will see the title and think its ArcGIS for Desktop. – PolyGeo Oct 28 '12 at 23:36
I do not see any screenshots. – blah238 Oct 31 '12 at 6:32
Sorry about that. I completely forgot to add them. You should now see the pictures. Thank you for letting me know. – JLott Nov 1 '12 at 19:09
I am still confused, perhaps even moreso now :) What do ArcMap and the ArcGIS Silverlight API have to do with each other? Are you developing an ArcMap customization or a Silverlight application? – blah238 Nov 1 '12 at 19:55
Haha sorry about that. I am developing a WPF application. I am using arcMap to create the map package that I am using in the application. arcMap has all of the data in it and I can make the labels show up. I would like to be able to make the labels show up in the info windows. Or at least be able to pull the information out of the arcMap and display it in the info window. – JLott Nov 1 '12 at 19:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.