Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google map (GMSMapView) calls didTapMarker delegate's method after a delay

It take a second before didTapMarker is called. Same with didTapAtCoordinate method.

I have a project that contains only google map and two pins in it. I try to run it on iOS9 and iOS10, same results. When I add a button it works properly.

Looks like it's trouble with a map. How to fix that?

like image 826
Dmitry L. Avatar asked Sep 19 '25 07:09

Dmitry L.


1 Answers

How big is the delay? I've seen several cases where a small delay was caused by the device waiting to check if it is a single tap (didTapSomething) or double tap to zoom.

As stated by Nazir, Can we get some code?

like image 116
Faegy Avatar answered Sep 22 '25 14:09

Faegy