diff options
Diffstat (limited to 'platform/ios/MGLShape.m')
-rw-r--r-- | platform/ios/MGLShape.m | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/ios/MGLShape.m b/platform/ios/MGLShape.m new file mode 100644 index 0000000000..e3d92c38c8 --- /dev/null +++ b/platform/ios/MGLShape.m @@ -0,0 +1,14 @@ +#import "MGLShape.h" + +@implementation MGLShape + +- (CLLocationCoordinate2D)coordinate +{ + [[NSException exceptionWithName:@"MGLAbstractClassException" + reason:@"MGLShape is an abstract class" + userInfo:nil] raise]; + + return CLLocationCoordinate2DMake(MAXFLOAT, MAXFLOAT); +} + +@end |