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

Map with Contextural Menu

3 Answers 122 Views
Map
This is a migrated thread and some comments may be shown as answers.
Pr1Smiley
Top achievements
Rank 2
Pr1Smiley asked on 07 Dec 2015, 10:53 PM

Hello,

Does the Kendo UI Map Widget support using the Menu Contextual Menu if clicked on an marker, any example would be very helpful , else just a pointer will do 

Thanks in advanced

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 07 Dec 2015, 11:52 PM
Hello Dana,

Here's a dojo example of attaching a ContextMenu to the Map's markers by passing the markers' class (".k-marker") to the Menu's target property.

Regards,
Ivan Danchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jason
Top achievements
Rank 1
Veteran
answered on 10 Sep 2020, 06:15 PM

I have made the changes mentioned which gives me a context menu for the marker.  However, how do I get reference to the marker that had the context menu call on it and subsequently the map behind it.

The only thing I see in the e object is an _marker: 0633bb92.

0
Alex Hajigeorgieva
Telerik team
answered on 14 Sep 2020, 12:32 PM

Hi, Jason,

I have responded to you in the other forum thread that you have submitted:

https://www.telerik.com/forums/conditional-context-menu-for-markers-on-map#dWFzMO41hE-t40cY3kzm5A

Let me know in case you need further assistance with the question.

Kind Regards,
Alex Hajigeorgieva
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Map
Asked by
Pr1Smiley
Top achievements
Rank 2
Answers by
Ivan Danchev
Telerik team
Jason
Top achievements
Rank 1
Veteran
Alex Hajigeorgieva
Telerik team
Share this question
or