Get Updates By E-mail 

Article Written By:
Johann Dowa

Library For Easily Making Different Custom Colored Annotation Pins On A Map Kit Map

  •  
  •  
  •  
  •  
  •  

I’ve mentioned a number of great libraries for working with Map Kit maps such as the excellent CalloutView for customized annotations.

Here’s a library submitted by Nic Hubbard of Zed Said Studio that allows you to easily make map kit annotation pins of different colors ZSPinAnnotation.  This can be an issue when working with Map Kit especially if you want multiple pin colors on a single map.

You simply supply need to supply ZSPinAnnotation with the UIColor, RGB value, or hex value of to use, and it will return your colored annotation pin.

The included example shows how to use the custom pins on a MapKit map.

Here’s an image showing ZSPinAnnotation in action from the readme:

ZSPinAnnotation

You can find ZSPinAnnotation on Github here.

A nice simple library with a userful purpose.  Thanks to Nic for the submission.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments