This should do the trick:
http://openlayers.org/dev/examples/restricted-extent.html

On Thu, Mar 10, 2011 at 7:48 AM, oekter <[email protected]> wrote:

> 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
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to