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 |
Thanks for providing Demo App. But in my callout view i have two buttons. i am not able to get the button actions when i tap the button. Can you help how the button action will fire.
|
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:
title
andsubtitle
properties in MGLCalloutView with a singlerepresentedObject
property that lets you use custom annotation properties in the custom callout view./cc @friedbunny