are you sure you are creating the bounds object right, I think you
should debug your objects in Fire Bug

On 10/19/10, Andrés Maneiro <[email protected]> wrote:
> Hi people,
>
> I'm trying to understand how "maxExtent" parameter works, and for that I
> have started with the next simple -almost naive- code:
>
> http://pastebin.com/1VTh23xd
>
> If I'm not wrong, the expected behaviour would be that the user only can
> navigate between the bounds defined. Well, the simple code above doesn't
> work, because the map shows the whole world instead of showing the
> bounds defined.
>
> Some help or advice?
>
> amaneiro
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>


-- 
I.R
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to