On the example http://gmap3.net/issues/contains-failed.html
map.getBounds().contains(marker.getPosition()) failed while the marker is visible,
if i change the map width from 1200px to 800px, it succeed
is it a known issue ?
Regards,
Jean-Baptiste.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
With ‘
800px‘ width, you have these bounds:In ‘
1200px‘ case:Your marker have
(49.00408, 2.562279999999987)coordinates.So for 1st case:and for 2nd one:
That is why, you get
"No"as an alert in 2nd case, and"Yes"in 1st case.