tags:

views:

116

answers:

1

any property can set the pin in google map bigger? from what i know, MKPinAnnotationView class only provided few properties but not any related to set custom pin size.

Pls help if have any idea.

Thanks in advance

+1  A: 

As MKPinAnnotationView is a subclass of UIView I believe you can explicitly set its frame.

As an alternative you can apply CGAffineTransform to your view to scale it appropriately.

pinView.transform = CGAffineTransformMakeScale(2.0, 2.0);
Vladimir
this is what i need!thanks dude