Mapview - Infowindow show / hide

Hi !

Is there a way to show / hide the annotations infowindow programmatically without clicking on the annotation ?

For instance :

TMSFMXNativeMKMapView1.Annotations.showinfo;

TMSFMXNativeMKMapView1.Annotations.hideinfo;

Cheers,

Paul

Question 2 regarding question 1 :

Is it possible to show 2 or more infowindows on the mapview ?

Cheers,

Paul

Hi, 


No unfortunately not, you cannot show 2 info windows on different annotations.
To show the info you need to select the annotation with:

TMSFMXNativeMKMapView1.SelectAnnotation(...)

Kind Regards, 
Pieter

Hi Pieter,

Thanks for the answer.

Cheers,

Paul

Pieter,

Is this due a limitation of IOS, or by the TMS component ?

Thanks,

Paul

This is a limitation of ios since the callouts are called automatically when a title is available,

A possible approach would be to show a custom MKAnnotationView, but that is currently not implemented.

Here is another similar question:

http://stackoverflow.com/questions/2417952/multiple-annotation-callouts-displaying-in-mkmapview

Kind Regards,
Pieter