[TIMOB-7206] iOS: add support for map annotation bubble to be a custom view
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Low |
| Status | Reopened |
| Resolution | Unresolved |
| Affected Version/s | Release 1.8.0.1 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | SupportTeam |
| Reporter | Jon Alter |
| Assignee | Vijay Singh |
| Created | 2012-01-16T10:54:08.000+0000 |
| Updated | 2018-01-29T03:44:26.000+0000 |
Description
Requesting the ability to use custom views for map annotation bubbles.
I have attached an image to demonstrate what I mean.
Attachments
| File | Date | Size |
|---|---|---|
| CustomAnnotationView.PNG | 2013-02-08T18:33:07.000+0000 | 174147 |
| MapCalloutCompare.png | 2012-01-16T10:54:08.000+0000 | 296242 |
Marking invalid since Apple gives us no ability to do such. https://developer.apple.com/library/ios/#documentation/MapKit/Reference/MKAnnotationView_Class/Reference/Reference.html#//apple_ref/occ/cl/MKAnnotationView The Annotation view allows for a callout, its left view, its right view, and in the annotation class, a title and subtitle, but precious little else. In playing around, it is possible to set an annotation with a custom left view, and a title of " ".
Vishal to investigate
For reference, here is a link to the workaround, but there is still an issue with the standard annotation showing for a split second before being hidden, therefor looking like a glitch. https://github.com/AppceleratorSolutions/TitaniumProjects/tree/master/MapExtensions