From 4078ec2593cd787ee5eccbbd28071d1fe8b1a170 Mon Sep 17 00:00:00 2001 From: Andrea Cremaschi Date: Wed, 25 Jun 2014 17:05:06 +0200 Subject: [PATCH] bugfix --- Source/Framework/Classes/MKMultiPoint.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Framework/Classes/MKMultiPoint.m b/Source/Framework/Classes/MKMultiPoint.m index d95a584..d493279 100644 --- a/Source/Framework/Classes/MKMultiPoint.m +++ b/Source/Framework/Classes/MKMultiPoint.m @@ -19,7 +19,7 @@ - (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range { for (int i = range.location; i < range.location+range.length; i++) { - coords[i] = coordinates[i]; + coords[i - range.location] = coordinates[i]; } }