Fixed
Status Update
Comments
ch...@wetzelrice.com <ch...@wetzelrice.com> #2
Just to make sure I understand the request, you want LatLng coordinates translated to
absolute pixel coordinates? Is that correct?
absolute pixel coordinates? Is that correct?
cs...@google.com <cs...@google.com>
zw...@google.com <zw...@google.com>
en...@google.com <en...@google.com>
ch...@wetzelrice.com <ch...@wetzelrice.com> #3
Filing the feature request, but please confirm my question above.
en...@google.com <en...@google.com> #4
Yes, absolute pixel coordinates.
en...@google.com <en...@google.com> #5
Sorry, I just woke up, i meant to say. Yes, absolute pixel coordinates. Thanks for
the response :)
the response :)
Description
Attached is a working example of the issue. There are two event handlers attached at the body level and there is a button in the middle of the map. One of the event handlers has filtering and one without filtering. On desktop's both event handlers fire when the button is clicked but on tablets the one with a selector key does not fire.
I think i have tracked it down to line 4467 of jQuery.2.1.4
I believe the issue is because google maps generates a click event handler from a touch event and when it does it sets the button clicked to 1 and not 0. A 1 indicates a middle button click and not a left button click. This causes jQuery to think the event should not be bubbled(or something like it) and therefore ignores the event for the handler.
The line that generates the click handler is in common.js of google maps.
c.initMouseEvent(b, !0, !0, window, 1, d.pageX, d.pageY, d.clientX, d.clientY, !1, !1, !1, !1, 1, null);