refs alpstein/route-me#120: use proper map bounds for shape clipping
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -187,7 +187,7 @@ | @@ -187,7 +187,7 @@ | ||
187 | // Clip bound rect to screen bounds. | 187 | // Clip bound rect to screen bounds. |
188 | // If bounds are not clipped, they won't display when you zoom in too much. | 188 | // If bounds are not clipped, they won't display when you zoom in too much. |
189 | 189 | ||
190 | - CGRect screenBounds = [mapView frame]; | 190 | + CGRect screenBounds = [mapView bounds]; |
191 | 191 | ||
192 | // we start with the non-clipped bounds and clip them | 192 | // we start with the non-clipped bounds and clip them |
193 | CGRect clippedBounds = nonClippedBounds; | 193 | CGRect clippedBounds = nonClippedBounds; |
-
Please register or login to post a comment