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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -