[OpenLayers-Users] drawing shape gets offset when window expands

PhilM pj_maloney at hotmail.com
Thu Aug 27 04:44:45 EDT 2009


I am experiencing this problem with OL 2.8 in IE and FF. My map sits within a
container DIV which scrolls when the window size is reduced. If the user
scrolls the page, the mouse position is offset. I wondered if Ticket #388
addressed this particular issue, but it appears not. Does updateSize() still
apply?


Christopher Schmidt-2 wrote:
> 
> On Thu, Jul 31, 2008 at 11:23:19AM -0400, Burgholzer,Robert wrote:
>> Chris,
>> Thanks for the response.  I am using OL 2.6.  The issue occurs not when
>> the map window is resized (it stays the same), but when it's location is
>> moved over on the page to accept a larger block of text in an adjacent
>> table cell. 
> 
> Okay. calling map.updateSize() will still solve your problem.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://n2.nabble.com/drawing-shape-gets-offset-when-window-expands-tp1829763p3522766.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list