I am trying to detect when the zoom has changed on my map, I tried to use them:
Microsoft.Maps.Events.addHandler(map, "targetviewchanged", console.log('targetviewchanged'));
Microsoft.Maps.Events.addHandler(map, "viewchangestart", console.log('viewchangestart'));
but only starts once when the card changes
How can I detect only a zoom change?
Thank you in advance
source
share