Showing custom infopopup on RadMap in silverlight

2 posts, 0 answers
  1. Davor
    Davor avatar
    3 posts
    Member since:
    Jul 2013

    Posted 28 Aug 2013 Link to this post

    Hello,

    i'm trying to add a view (much like a frame with info) of specific info of a ROI.
    My ROI is presented with a MapPolygon and now i'm trying to draw a MapRectangle, which would contain the folowing things:
    - Header text (top left alignment)
    - X-button (top-right to hide this rectangle)
    - body text, containing main info.

    Now i want to add these dynamically using C# code when a user either hovers or clicks on the ROI/MapPolygon on map.
    How can i do this?
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 29 Aug 2013 Link to this post

    Hi Davor,

    You should not use MapRectangle for this purpose. You can show any framework elements over the map. So you can create your own control or data template and use it to show necessary information. I would recommend you to take a look into the following samples in our demo application:

    http://demos.telerik.com/silverlight/#Map/DataBinding
    http://demos.telerik.com/silverlight/#Map/DynamicLayer
    http://demos.telerik.com/silverlight/#Map/HotSpot

    Also I would recommend you to take a look into the following topics in our online help:

    http://www.telerik.com/help/silverlight/radmap-features-information-layer.html
    http://www.telerik.com/help/silverlight/radmap-features-information-layer-framework-elements.html
    http://www.telerik.com/help/silverlight/radmap-features-hot-spots.html

    Regards,
    Andrey Murzov
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top