[OpenLayers-Users] Lock dragging to outside area

Wally Atkins wallyatkins at gmail.com
Thu Mar 10 08:42:13 EST 2011


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

On Thu, Mar 10, 2011 at 7:48 AM, oekter <millitz at gmail.com> 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
> 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/0ad2929c/attachment.html


More information about the Users mailing list