ios - How do I set a custom image on an map annotation? -


I want to set a custom image to SKAnnotation , but when I send the image path markers I set the image of the marker with the following code:

Type: @ "png"]; Annotation.imageSize = 64;

I use a default image:

  annotation.annotationType = SKAnnotationTypeGreen;  

Markers appear correctly

How do I set a custom image on a map annotation?

png-8 file format is not supported. Using the png-24 file works properly.


Comments

Popular posts from this blog

c# - Roxy file manager in MVC doesn't accept session path -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -