[OpenLayers-Users] vector layer alignment problem

Christopher Schmidt crschmidt at metacarta.com
Mon Dec 3 16:20:15 EST 2007


On Mon, Dec 03, 2007 at 04:07:41PM -0500, Heidt, Christopher M.  wrote:
> Attached is a clone of the draw feature example page, with an extra
> function that adds divs to the top of the page when u click the add div
> link. If you draw some points, then add some divs to the page, then draw
> some more points, you will witness the issue. 

Any time you change the offset of the map, you should call
map.updateSize() so that it updates the 'offsets' element of its events
property.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list