Hi..
How can I conditional show/enable a context menu when the zoom level is a certain value.
I'd like to add a context menu to a pushpin when the pushpin is in view and zoomlevel = 15
thanks again
1 Answer, 1 is accepted
0
Andrey
Telerik team
answered on 22 Jun 2012, 08:04 AM
Hi Jon,
I think you just can handle the RadMap.MouseRightButtonUp event. When the event occurs then you can check the zoom level and the pushpin which has been clicked. And when the zoom level does not satisfy a condition then you can mark event as handled using the Handled property of event arguments. It prevents showing of a context menu.
The sample code is below.