cordova-plugin-googlemaps
cordova-plugin-googlemaps copied to clipboard
Fix tap on polyline
According to my issue -> https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2845
I use the lib & possibility of google map sdk native plugin on ios. When you have a lot of polylines in your map, the previous fonctionnality of this cordova plugin to try to calculate if click is on polyline don't work, so i use the native default functionnality with didtabOverlay event. The only default of my solution is that i cannot find the position clicked by user, the google map sdk plugin don't give the position clicked. So i return the center of the clicked polyline.