Maptip doesn't work for my secured map service.

335
1
05-27-2010 10:04 AM
weiliang
New Contributor II
I try to add map tip for one FeatureLayer. If it's arcgisonline service, it works properly. But if I substitute it with our secured map service, the maptip doesn't show up (the graphic point itself can still shows up, but not the attribute window). It seems that this is a bug for maptip. Is there any way I can work this around?

The following is the xaml code:

<esri:Map x:Name="MyMap" Extent="-130,10,-70,60" >
            <esri:Map.Layers>
                <esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" Url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/>
                <esri:FeatureLayer ID="MyFeatureLayer" ProxyUrl="../proxy.ashx" Url="http://gis.ursbtr.com/ArcGIS/rest/services/petrohawk/Petrohawk_Haynesville2/MapServer/2" FeatureSymbol="{StaticResource MapTipSymbol}" >

                     <esri:FeatureLayer.MapTip>
                        <Grid x:Name="text" Background="LightYellow">
                            <StackPanel Margin="5">                              
                                <StackPanel Orientation="Horizontal">
                                    <TextBlock Text="Population Density (2007): " />                                   
                                </StackPanel>
                            </StackPanel>
                            <Border BorderBrush="Black" BorderThickness="1" />
                        </Grid>
                    </esri:FeatureLayer.MapTip>
                </esri:FeatureLayer>
            </esri:Map.Layers>
        </esri:Map>

Thanks,

Wei
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Hi Wei,

Have you still the same issue?

The maptip is working with the feature in memory and is  not supposed to do any connection to the service.
So it should work the same way with a secured map service as long as you were able to load the feature layer.

Had your feature layer been initialized succesfully when you ran into this issue?
0 Kudos