You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I working on a project that need to group annotation on the map. and when the number of annotation change, I expect to update the title/subtitle on current displayed calloutview.
I use to set title and subtitle, but that is not work. because the attribute of property is copy.
I also try another way, is dismiss and present, it work if I am not navigation map to another region, but if I change it will navigation map back to selected annotation.
I wonder how could I update title/subtitle to current callout view for selecting annotation.
Regards,
Ratha
The text was updated successfully, but these errors were encountered:
Hello - so the callout doesn't officially support changing its content after appearing - because this would require some complex animation to do it "the Apple way".
However you might try presenting the callout view again without animation - it would just update in place and resize itself.
We use such an approach over in https://github.com/mapbox/mapbox-ios-sdk in order to essentially move a callout with a map pan or zoom action. I've played with it for textual changes and had pretty good luck, too.
I working on a project that need to group annotation on the map. and when the number of annotation change, I expect to update the title/subtitle on current displayed calloutview.
I use to set title and subtitle, but that is not work. because the attribute of property is copy.
I also try another way, is dismiss and present, it work if I am not navigation map to another region, but if I change it will navigation map back to selected annotation.
I wonder how could I update title/subtitle to current callout view for selecting annotation.
Regards,
Ratha
The text was updated successfully, but these errors were encountered: