This is a migrated thread and some comments may be shown as answers.

Showing custom infopopup on RadMap in silverlight

1 Answer 30 Views
Map
This is a migrated thread and some comments may be shown as answers.
Davor
Top achievements
Rank 1
Davor asked on 28 Aug 2013, 06:36 AM
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?

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 29 Aug 2013, 02:48 PM
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 >>
Tags
Map
Asked by
Davor
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or