[OpenLayers-Users] How to restrict map extent?

shymon szymon.bogacz at o2.pl
Wed Apr 1 10:07:29 EDT 2009





Ok, after setting restrictedExtent zoomToMaxExtent() method works, and map is centered always to ma city while zooming in and out. That's good. But now how can I restrict zooming out? 



I found this post:
http://n2.nabble.com/restrictedExtent---maxExtent-bug-with-OpenLayers---OpenStreetMaps-td2218511.html

Is it really a bug? Isn't it possible to restrict zooming out of restricted extent?
Panning restriction works fine.

Shymon
-- 
View this message in context: http://n2.nabble.com/How-to-restrict-map-extent--tp2568378p2569194.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list