AnsweredAssumed Answered

Odd behavior with decimal zoom values

Question asked by prairierobotics on Oct 8, 2017
Latest reply on Oct 9, 2017 by rscheitlin

I'm experiencing an odd bug with zooming on a MapView with the javascript 4.5 API.

 

I can set the MapView zoom to any decimal value (ie: 15.1), but it always rounds down for any decimals that are between x.01 and x.49. I'm setting it by calling mapView.zoom = {Number}

 

So zoom level 17.1, 17.2, 17.3, 17.4, and 17.5 all look exactly the same, but every number between 17.6 and 17.9 are smoothly drawn as expected.

 

Any idea what could be causing this?

 

Thanks

Outcomes