[OpenLayers-Users] Overlapping CSS controls on the Map Window
Christopher Schmidt
crschmidt at metacarta.com
Sat Feb 28 08:28:14 EST 2009
On Sat, Feb 28, 2009 at 05:36:17AM -0700, Bill Thoen wrote:
> I tried to create a CSS-based form and for lack of screen real estate I
> put it over the OpenLayers-controlled map window. But even though my
> form was visible and on top, the onclick event I had attached to one of
> its buttons never got the focus. It seems that OpenLayers controls all
> the "airspace" over its map window, intercepting all the mouse activity.
Are your divs *inside* the map div
<div id="map">
<div id="yourcontrol"></div>
</div>
Or outside?
It souds like the former; I would recommend that the latter will
probably not suffer the same difficulty.
> Is it possible to set it so that I can have all mouse activity in my
> form window seen by my form first? I would need to do this for drop-down
> CSS menus too, if they overlap the map window. Or am I trying to do
> something unreasonable?
>
> - Bill Thoen
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list