Select to view content in your preferred language

Can I display a callout without the leader on iOS?

717
2
Jump to solution
10-08-2024 01:46 AM
JackyCai
Occasional Contributor

Hi all,

I am trying to have a customized map callout without the callout "leader" (as shown in below picture). In the runtime SDK for Java, we can achieve this by 

style.setLeaderLength(0);
style.setLeaderWidth(0);
 
However, in both 100 and 200 versions of SDK for iOS, I cannot find a way to do the same thing. Does anyone know if there is actually a way to do this? Or it is just not possible for iOS.
 
Thanks

JackyCai_0-1728377007255.png

 

0 Kudos
2 Solutions

Accepted Solutions
Ting
by Esri Contributor
Esri Contributor

Hi Jacky,

Unfortunately, we don't support hiding the leader on iOS - its height is hardcoded in the SDK. 😔 Because the UIKit based Runtime SDK for iOS is in LTS period right now, we won't make additional feature changes to it either.

If you are interested in using the new ArcGIS Maps SDK for Swift SDK, feel free to post your feature request at ArcGIS Maps SDKs Native Ideas, and we will consider making the callout leader hide-able in the 200.x SDK. 🙂

View solution in original post

JackyCai
Occasional Contributor

Hi Ting,

Got it, thanks for your confirmation 🙂

View solution in original post

0 Kudos
2 Replies
Ting
by Esri Contributor
Esri Contributor

Hi Jacky,

Unfortunately, we don't support hiding the leader on iOS - its height is hardcoded in the SDK. 😔 Because the UIKit based Runtime SDK for iOS is in LTS period right now, we won't make additional feature changes to it either.

If you are interested in using the new ArcGIS Maps SDK for Swift SDK, feel free to post your feature request at ArcGIS Maps SDKs Native Ideas, and we will consider making the callout leader hide-able in the 200.x SDK. 🙂

JackyCai
Occasional Contributor

Hi Ting,

Got it, thanks for your confirmation 🙂

0 Kudos