Repository navigation
Custom callout views - #3456
Custom callout views#3456
Conversation
|
🙏 |
Renamed MGLCalloutView to MGLCompactCalloutView and MGLCalloutViewProtocol to MGLCalloutView to avoid an awkward workaround for a Swift name collision. Replaced individual title and subtitle properties with a single representedObject property that lets you use custom annotation properties in the custom callout view. Overrode a problematic SMCalloutView method. Added lots more documentation.
f322aca to
11d99bd
Compare
|
Great thanks. |
|
No, thank you! 😊 |
|
Categorized |
|
Hi Mapbox,
How can i use this method? Can anyone provide some example for this... |
|
Here’s the documentation for |
|
Your MGLCalloutView-conforming class should somehow implement the If you have any further questions about this feature, please contact our Support team, who would be happy to assist you. (They also help us write documentation, so please let them know about things that can be explained better.) |
This PR is a continuation of #3322 by @RomainQuidet with the following additional changes:
titleandsubtitleproperties in MGLCalloutView with a singlerepresentedObjectproperty that lets you use custom annotation properties in the custom callout view./cc @friedbunny