mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
04b3b52726
Summary: Here is an example project demonstrating this pull request: [AKMapView](https://github.com/adamkrell/AKMapView) Closes https://github.com/facebook/react-native/pull/1503 Github Author: Adam Krell <akrell@bethanyassociates.com> Test Plan: Imported from GitHub, without a `Test Plan:` line.
24 lines
465 B
Objective-C
24 lines
465 B
Objective-C
//
|
|
// RCTConvert+MapKit.h
|
|
// React
|
|
//
|
|
// Created by Nick Lockwood on 12/04/2015.
|
|
// Copyright (c) 2015 Facebook. All rights reserved.
|
|
//
|
|
|
|
#import <MapKit/MapKit.h>
|
|
|
|
#import "RCTConvert.h"
|
|
|
|
@interface RCTConvert (MapKit)
|
|
|
|
+ (MKCoordinateSpan)MKCoordinateSpan:(id)json;
|
|
+ (MKCoordinateRegion)MKCoordinateRegion:(id)json;
|
|
+ (MKShape *)MKShape:(id)json;
|
|
+ (MKMapType)MKMapType:(id)json;
|
|
|
|
typedef NSArray MKShapeArray;
|
|
+ (MKShapeArray *)MKShapeArray:(id)json;
|
|
|
|
@end
|