Ticket #3362 (new bug)

Opened 2 years ago

Last modified 2 years ago

Map properties zoom ignored when center is specified

Reported by: gaellafond Owned by:
Priority: minor Milestone: 2.13 Release
Component: Map Version: 2.10
Keywords: map, center, zoom Cc:
State:

Description

As soon as the center property is specified for a Map, the zoom property is ignored and the map zoom to the highest possible zoom level.

I attached a very simple example to show this bug. NOTE: I added a control to show that the map is zoomed to the maximum possible zoom level. The problem persist without it.

Attachments

testOpenLayer.html Download (0.7 KB) - added by gaellafond 2 years ago.
Very simple demonstration of the zoom bug

Change History

Changed 2 years ago by gaellafond

Very simple demonstration of the zoom bug

Changed 2 years ago by gaellafond

Note: Adding "map.zoomTo(4);" before adding a layer doesn't do anything neither, but, it works after adding a layer.

Note: See TracTickets for help on using tickets.