Opened 10 years ago

Closed 10 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:

Description

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

http://japhy.perlmonk.org/maps.html (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@… 10 years ago.
HTML and Javascript demonstrating map zoom-out problem

Download all attachments as: .zip

Change History (2)

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

Attachment: maps.html added

HTML and Javascript demonstrating map zoom-out problem

comment:1 Changed 10 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.