user697576
user697576

Reputation: 827

How to listen for a zoom level change in Here Maps

I'd like to run some code when the zoom level changes on a map but I'm having a hard time figuring out how to listen for the change.

I've tried variations of the following without any luck:

map.addEventListener("zoomLevel",function(){...

map.addObserver("zoomLevel",function(){...

Upvotes: 1

Views: 2732

Answers (1)

Aseem Ahir
Aseem Ahir

Reputation: 743

map.addEventListener('mapviewchange', function () {

});

Upvotes: 1

Related Questions