Trip Phillips Trip Phillips - 6 months ago 14
Swift Question

Custom Map Annotation is blurry

Hi I have created a custom annotation in Sketch 3 and when I scale it down to fit into the map view it becomes blurry. How do I fix this?


You could try to set the filtering Mode of your Node texture to .Nearest

 let nodeTexture = SKTexture(imageNamed: "node")
 nodeTexture.filteringMode = .Nearest
 node = SKSpriteNode(texture: nodeTexture)