[OpenLayers-Users] Focus or Blur on Map

Linda Rawson linda.rawson at gmail.com
Wed Oct 24 05:40:32 EDT 2007


I have this tree control with a context menu.  It is in the left column
placed there by style sheets.  Then my openlayers map is in the
maincontent.  Again positioned by stylesheets.  When the useres access one
of the options on the context menu ("View and Zoom") I execute a
map.zoomToExtent(bounds).  It does not execute until I "mouseover the map".
I have to leave the tree and hover over the map to get the command to
execute.  I am sure the mouse events are battling but I was wondering if
anybody could think of anything to help me with this.  I thought maybe I
could bring focus to the map after calling zoomToExtent.

LEMENO
Linda Rawson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071024/33187874/attachment.html


More information about the Users mailing list