Hi,

you can do this by setting the restrictedExtent of the map or
baseLayer to the extent of the image.

Andreas.

On Wed, Jun 1, 2011 at 11:21 AM, Alexandre Saunier
<[email protected]> wrote:
> Hello,
>
> in the image layer example
> http://openlayers.org/dev/examples/image-layer.html
>
> if one pans to the ends of the image (vertically or horizontally),
> blank margins appear and take half of the map. I guess it is not a
> normal behaviour. Does anyone know how to get rid of these margins?
>
> Thanks,
> alex
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to