Closed cerberusv2px closed 5 years ago
How to zoom into certain coordinates. Suppose I am at zoom level 12 with coordinates [a1,b1]. Now on button click, I want to zoom into coordinates [a2,b2] with zoom level 20.
I did the following, but it wont work.
this.map.moveTo([85.4279593, 27.7159906]); this.map.zoomTo(18);
Use setCamera instead. This function takes both coordinates and zoom level and other params.
How to zoom into certain coordinates. Suppose I am at zoom level 12 with coordinates [a1,b1]. Now on button click, I want to zoom into coordinates [a2,b2] with zoom level 20.
I did the following, but it wont work.