Select to view content in your preferred language

can MapTip and InfoWindow share the same UI

812
2
Jump to solution
03-26-2014 09:57 AM
DaveOrlando
Frequent Contributor
Hello,

I have a fairly complex MapTip (includes buttons and also queries related records when activated).

Now I'm giving the users the option to have either a MapTip on hover or a InfoWindow on click. I would like the output to be seemless to the end-user (same result with different ways to get there).

Can a MapTip and a InfoWindow share the same UI element?, I've looked at examples and the InfoWindow can utilitize a 'ContentTemplate' but the MapTip doesn't have this property.

anyone else tried this or have any suggestions?

Thanks,
0 Kudos
1 Solution

Accepted Solutions
AhmedEl-Sisi
Deactivated User
Use Silverlight ContentControl inside MapTip

  
 <esri:FeatureLayer.MapTip>     <ContentControl ContentTemplate="{StaticResource MyFeatureLayerInfoWindowTemplate}" Content="{Binding}"/>   </esri:FeatureLayer.MapTip>    

View solution in original post

0 Kudos
2 Replies
AhmedEl-Sisi
Deactivated User
Use Silverlight ContentControl inside MapTip

  
 <esri:FeatureLayer.MapTip>     <ContentControl ContentTemplate="{StaticResource MyFeatureLayerInfoWindowTemplate}" Content="{Binding}"/>   </esri:FeatureLayer.MapTip>    
0 Kudos
DaveOrlando
Frequent Contributor
Thank-you, just what I needed.

:cool:
0 Kudos