Hi all,
I'm creating a widget and want it to zoom to a particular lat/lon. All functionality of the widgit works great except the zoom. It will pan to the point but not zoom in no matter what zoom level I put. There are no zoom restrictions on the map itself, whatever zoom level the map is in, it stays at and pans to the point. I've tried several different ways to do this, here is my latest relevant code. Here mapViewRef refers to a JimuMapView instance.
```
Solved! Go to Solution.
Okay, solved my own problem....
Instead of setting mapViewRef.current.view.zoom = 14; I used mapViewRef.current.view.scale = 1000; and it now zooms to the point.