DevDevDev
DevDevDev

Reputation: 5177

How to scale icons by zoom in a MKMapView?

How can I have the size of my icons scale with zoom in a MKMapView? As far as I can tell there is no way to do this?

The only thing I can think of is to have the MKMapView a subview of some UIView, and catch all of the user input in this parent view, scale the images on zoom and relay to the subview.

Upvotes: 1

Views: 1010

Answers (1)

Lutz
Lutz

Reputation: 11

You need to do a CGTransform on the annotation views on each mapRegionChanged

Upvotes: 1

Related Questions