[OpenLayers-Users] Lock dragging to outside area

Ravi Pavuluri ravitheja at ymail.com
Thu Mar 10 17:18:35 EST 2011


Hi,

Did you try playing around with the maxextent option in map options? You "may" 
also have to change bounds of TMS if needed. 



-Ravi.


________________________________
From: oekter <millitz at gmail.com>
To: users at openlayers.org
Sent: Thu, March 10, 2011 7:48:25 AM
Subject: [OpenLayers-Users] Lock dragging to outside area

http://maps.alltrams.com/Budapest.html
Need a little help with this:
How can I lock dragging outside my set of tiles so that the empty space
around my map will never be visible (stay outside the box)?

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Lock-dragging-to-outside-area-tp6157548p6157548.html

Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110310/0f5ac7a3/attachment.html


More information about the Users mailing list