react-native-maps 1.26.5 → 1.26.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,7 +131,7 @@ using namespace facebook::react;
131
131
  _view = (AIRMap *)[_legacyMapManager view];
132
132
 
133
133
  self.contentView = _view;
134
-
134
+
135
135
  _view.onLongPress = [self](NSDictionary* dictionary) {
136
136
  if (_eventEmitter) {
137
137
  // Extract values from the NSDictionary
@@ -277,6 +277,13 @@ using namespace facebook::react;
277
277
  facebook::react::RNMapsMapViewEventEmitter::OnUserLocationChangeCoordinate coordinate = {
278
278
  .latitude = [coordinateDict[@"latitude"] doubleValue],
279
279
  .longitude = [coordinateDict[@"longitude"] doubleValue],
280
+ .altitude =[coordinateDict[@"altitude"] doubleValue],
281
+ .timestamp =[coordinateDict[@"timestamp"] doubleValue],
282
+ .accuracy =[coordinateDict[@"accuracy"] floatValue],
283
+ .speed =[coordinateDict[@"speed"] floatValue],
284
+ .heading =[coordinateDict[@"heading"] floatValue],
285
+ .altitudeAccuracy =[coordinateDict[@"altitudeAccuracy"] floatValue],
286
+
280
287
  };
281
288
  NSString* str = @"";
282
289
  if (errorDict){
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "src/index.ts",
6
6
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
7
7
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
8
- "version": "1.26.5",
8
+ "version": "1.26.6",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",