rmush029 / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

infoBox.js eventpropagation on mobile devices #221

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I created a map with several markers with custom infoBoxes.
As there are many markers in a small area it happens very often that an infoBox 
hides some markers underneath it. In these cases the closeButton (or any other 
clicks on the infoBox) do not only trigger the closeButton but also trigger the 
marker underneath, opening its infoBox.

Expected result:
Just closing the infoBox without triggering any elements underneath it.

Actual result:
Click events are passed through triggering events that shouldn't be triggered 
e.g. other markers click-event.

Version: 1.1.19

Browser / Operating System:
Android 4.0.4s standard Browser
iPads Safari (actually I don't know the exact version, will look it up if 
necessary)

Additional comments:
I'm not quite sure wether this really is a bug or I'm just missing something

Original issue reported on code.google.com by t2o...@gmail.com on 8 Jan 2013 at 2:26

GoogleCodeExporter commented 9 years ago
Whooops, typo in version number. I am using infoBox.js version 1.1.9

Original comment by t2o...@gmail.com on 8 Jan 2013 at 2:44

GoogleCodeExporter commented 9 years ago
See http://code.google.com/p/gmaps-api-issues/issues/detail?id=3573

At what point this problem was fixed by Google but resurfaced again a while 
back. The workaround is to use unoptimized markers.

Here is the text of an email I sent to Google last December about this (alas, 
no reply):

Chris,

Can you help me figure out a Google Maps API V3 problem?

I reported this bug some time ago:

http://code.google.com/p/gmaps-api-issues/issues/detail?id=3573

At some point, the bug seemed to be fixed and mouseover events were not 
triggered for markers underneath an InfoWindow or a box created by my own 
InfoBox utility.

(InfoBox: see 
http://google-maps-utility-library-v3.googlecode.com/svn/tags/infobox/1.1.11/ )

Now I've noticed that InfoWindow is still working OK but that InfoBox is not. 
For the latter library, mouseover events are reaching markers underneath an 
InfoBox.

I'm trying to figure out why. When I create an InfoBox, the DIV is created in 
the floatPane, so it should be above the overlayMouseTarget pane where 
mouseover events are captured.

To make things more confusing, everyting works as expected if the markers are 
NOT optimized. Of course, I would prefer to use optimized markers.

I'm curious to know how the InfoWindow library gets this to work properly so I 
can do the same. Is there another pane I need to know about?

Regards,

Gary

Original comment by garylitt...@gmail.com on 14 Feb 2013 at 3:41

GoogleCodeExporter commented 9 years ago
jquery functions are not working in infobox on mobile browsers.

Original comment by guptagau...@gmail.com on 3 Dec 2013 at 8:52