ios - How to make stretchable circular region around pin like Reminder App -


i tried following code make circle:

mkcircle *circle = [mkcircle  circlewithcentercoordinate:userlocation.coordinate radius:1000]; [map addoverlay:circle]; 

then in map view's delegate:

- (mkoverlayview *)mapview:(mkmapview *)map viewforoverlay:(id <mkoverlay>)overlay {     mkcircleview *circleview = [[mkcircleview alloc] initwithoverlay:overlay];     circleview.strokecolor = [uicolor redcolor];     circleview.fillcolor = [[uicolor redcolor] colorwithalphacomponent:0.4];     return circleview; } 

it adds circle around pin, how make circle stretchable reminder app's location reminder feature?

enter image description here

look found:

https://github.com/d0ping/dbmapselectorviewcontroller

you can set lot of things radius of circle, background , stroke color , radius text.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -