Hello!
I have poured over the docs, issues, and this group, but can't seem to
find an answer for this question:
I have a widget that displays a set of configurable lat/long values.
Calling fitBounds() works well for most cases to find the right zoom
level and bounds. However, sometimes the zoom level is not
appropriate, so I would like to override with an explicit zoom level
after the contents have been centered in the frame. This most often
comes up when using a single lat/long value. But attempting to set
the zoom level after calling fitBounds() seems to have no effect:
map.fitBounds(bounds);
map.setZoom(14); // <-- HAS NO EFFECT!
I've tried to simply the code in an example here:
http://www.andyfrank.com/test/test.html
This seems like a bug, so I can post a bug report, but figured I would
get some feedback here first. Thanks for any help!
- Andy