Ticket #2987 (closed bug: fixed)
Bing layer's zoom level may be incorrect
| Reported by: | ahocevar | Owned by: | euzuro |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.11 Release |
| Component: | Layer | Version: | SVN |
| Keywords: | Cc: | ||
| State: | Complete |
Description
Because the Bing layer may set its final resolutions array after it is added to the map and the map is rendered, there is a chance that, if it is a base layer, overlays won't align because they are still rendered at a different zoom level. The solution is to call map.zoomTo in the initLayer method, as soon as we have the final resolutions.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

