I already asked this over on stackoverflow weeks ago.
I like to implement this resizable circle in my app. Any Idea how to do that?
thx
I already asked this over on stackoverflow weeks ago.
I like to implement this resizable circle in my app. Any Idea how to do that?
thx
Hi @cranimax,
I have not tried to solve it via code as yet, however, there are a couple of things you can do to solve this.
The gesture is on the black dot, not the circle, and as the black dot moves away from the centre.
This gives you the radius and you can redraw the circle with this new radius
The simplest way would be to use a CAShapeLayer to render the circle
The distance is a bit tricky and you will have to translate that based on the current zoom level (I have not tried it out hence cannot provide a definitive answer on this distance calculation)
cheers,
Thanks. Unfortunately I didn’t have had the time to have a more detailed look at this feature. But I will … someday
Until than, if somebody is looking for this feature, I found the following on GitHub.
This topic was automatically closed after 166 days. New replies are no longer allowed.