[OpenLayers-Users] updateSize on div resize

Christian López Espínola penyaskito at gmail.com
Sat Jun 9 11:20:31 EDT 2007


Hi Kevin,

The position of the OverviewMap is set as absolute on the style.css.
Maybe you can change the right property of his dom element.

Hope this helps

On 6/9/07, Kevin Kempfer <mail at kevinkempfer.de> wrote:
> Hi,
>
> I dynamically change the size of the map div. Specifically, I try to add
> a sidebar right next to it, making the map div a little less wide.
> Calling map.updateSize() gives no error and the map looks fine, but the
> OverviewMap is not moved to it's new position. As it is located in the
> bottom right corner of the div, it should move to the left, when
> decreasing the  map div's width. Is this by design? Is there a workaround?
>
> Thanks,
>
> Kevin.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
>


-- 
Regards,

Christian López Espínola


More information about the Users mailing list