I hereby claim:
- I am zssz on github.
- I am zssz (https://keybase.io/zssz) on keybase.
- I have a public key whose fingerprint is 955F ABB6 7280 0EB4 5C4F ABE4 94F9 D589 CF7F 39D2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // | |
| // IZOSMShortLink.h | |
| // OpenMaps | |
| // | |
| // Created by Zsombor Szabó on 2/2/10. | |
| // Copyright 2010 IZE. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
| // | |
| // IZGoogleGeocoder.m | |
| // JSON Google Geocoder | |
| // | |
| // Created by Zsombor Szabó on 2/11/11. | |
| // Copyright 2011 IZE. All rights reserved. | |
| // | |
| #import "IZGoogleGeocoder.h" |
| - (void)scrollWithOffset:(CGSize)offset animated:(BOOL)animated | |
| { | |
| MKMapPoint centerMapPoint = MKMapPointForCoordinate(self.centerCoordinate); | |
| CGPoint centerPoint = [self convertCoordinate:self.centerCoordinate toPointToView:self]; | |
| CGPoint destinationPoint = CGPointMake(centerPoint.x+offset.width, centerPoint.y+offset.height); | |
| CLLocationCoordinate2D destinationCoordinate = [self convertPoint:destinationPoint toCoordinateFromView:self]; | |
| MKMapPoint destMapPoint = MKMapPointForCoordinate(destinationCoordinate); | |
| MKMapRect mapRect = self.visibleMapRect; |