If pan initiated from shape, shapeClick is triggered. click - is not.shapeClick should not be triggered, too.
Hi, Hongmei,
Thank you for taking the time to report this issue, I have updated your Telerik points as a token of appreciation.
The relevant public issue in the Kendo UI repository is available at:
https://github.com/telerik/kendo-ui-core/issues/5586
The workaround at the moment is to use a map internal property to check when the map was last panned:
shapeClick: function(e){
// check when the map was last panned
var millisecondsFromPan = e.sender._panEndTS ? new Date().getTime() - e.sender._panEndTS.getTime() : 10;
if(millisecondsFromPan < 10){
console.log("End of pan");
} else {
console.log("shapeClick", e);
}
Regards,
Alex Hajigeorgieva
Progress Telerik