Drop pin / annotation on specific location on map

Hi all,

I want to add an annotation when user tap on a specific location it will drop an annotation. But here tap gesture is not working on TomTom Map in iOS. Can anyone helps me.


Have you set TTMapViewDelegate to your TTMapView object and overridden this method?
func mapView(_ mapView: TTMapView, didSingleTap coordinate: CLLocationCoordinate2D)


Thanks! Yes I forgot to set the delegate. It is working now

1 Like