We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3cc67a commit 8ea4502Copy full SHA for 8ea4502
lib/ios/AirMaps/AIRMapManager.m
@@ -354,8 +354,8 @@ - (UIView *)view
354
} else {
355
CGPoint touchPoint = [mapView convertCoordinate:
356
CLLocationCoordinate2DMake(
357
- [coordinate[@"lat"] doubleValue],
358
- [coordinate[@"lng"] doubleValue]
+ [coordinate[@"latitude"] doubleValue],
+ [coordinate[@"longitude"] doubleValue]
359
)
360
toPointToView:mapView];
361
@@ -386,8 +386,8 @@ - (UIView *)view
386
toCoordinateFromView:mapView];
387
388
resolve(@{
389
- @"lat": @(coordinate.latitude),
390
- @"lng": @(coordinate.longitude),
+ @"latitude": @(coordinate.latitude),
+ @"longitude": @(coordinate.longitude),
391
});
392
}
393
}];
0 commit comments