Opened 12 years ago

Closed 12 years ago

#1522 closed defect (invalid)

cannot restrict zoom-out with maxExtent and maxResolution

Reported by: japhy.734+openstreetmap@… Owned by: Tom Hughes
Priority: major Milestone:
Component: admin Version:
Keywords: Cc:


I have not been able to restrict zooming out when using OSM maps. I have a simple example at: (also attached)

The OSM map starts with the right image, and I cannot pan outside my requested boundaries, but I CAN zoom out as much as I want. The equivalent OpenLayers? code DOES restrict my zooming... it doesn't work with OSM as far as I have seen.

Attachments (1)

maps.html (1.4 KB) - added by japhy.734+openstreetmap@… 12 years ago.
HTML and Javascript demonstrating map zoom-out problem

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by japhy.734+openstreetmap@…

Attachment: maps.html added

HTML and Javascript demonstrating map zoom-out problem

comment:1 Changed 12 years ago by Tom Hughes

Resolution: invalid
Status: newclosed

This doesn't appear to have anything to do with us - if you need help using OpenLayers? I suggest you ask on the OpenLayers? mailing list or something.

Note: See TracTickets for help on using tickets.