react-native-maps 1.21.0-alpha.97 → 1.21.0-alpha.98

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.
Files changed (55) hide show
  1. package/android/src/main/java/com/rnmaps/fabric/NativeAirMapsModule.java +1 -1
  2. package/android/src/main/java/com/rnmaps/maps/MapAirModulePackage.java +3 -3
  3. package/lib/{src/MapMarker.d.ts → MapMarker.d.ts} +1 -1
  4. package/lib/{src/MapMarker.js → MapMarker.js} +1 -1
  5. package/lib/{src/MapView.js → MapView.js} +2 -2
  6. package/lib/{src/createFabricMap.d.ts → createFabricMap.d.ts} +2 -2
  7. package/lib/{src/createFabricMap.js → createFabricMap.js} +1 -1
  8. package/lib/{src/decorateMapComponent.js → decorateMapComponent.js} +6 -6
  9. package/package.json +4 -3
  10. /package/lib/{src/AnimatedRegion.d.ts → AnimatedRegion.d.ts} +0 -0
  11. /package/lib/{src/AnimatedRegion.js → AnimatedRegion.js} +0 -0
  12. /package/lib/{src/Geojson.d.ts → Geojson.d.ts} +0 -0
  13. /package/lib/{src/Geojson.js → Geojson.js} +0 -0
  14. /package/lib/{src/MapCallout.d.ts → MapCallout.d.ts} +0 -0
  15. /package/lib/{src/MapCallout.js → MapCallout.js} +0 -0
  16. /package/lib/{src/MapCalloutSubview.d.ts → MapCalloutSubview.d.ts} +0 -0
  17. /package/lib/{src/MapCalloutSubview.js → MapCalloutSubview.js} +0 -0
  18. /package/lib/{src/MapCircle.d.ts → MapCircle.d.ts} +0 -0
  19. /package/lib/{src/MapCircle.js → MapCircle.js} +0 -0
  20. /package/lib/{src/MapHeatmap.d.ts → MapHeatmap.d.ts} +0 -0
  21. /package/lib/{src/MapHeatmap.js → MapHeatmap.js} +0 -0
  22. /package/lib/{src/MapLocalTile.d.ts → MapLocalTile.d.ts} +0 -0
  23. /package/lib/{src/MapLocalTile.js → MapLocalTile.js} +0 -0
  24. /package/lib/{src/MapMarkerNativeComponent.d.ts → MapMarkerNativeComponent.d.ts} +0 -0
  25. /package/lib/{src/MapMarkerNativeComponent.js → MapMarkerNativeComponent.js} +0 -0
  26. /package/lib/{src/MapOverlay.d.ts → MapOverlay.d.ts} +0 -0
  27. /package/lib/{src/MapOverlay.js → MapOverlay.js} +0 -0
  28. /package/lib/{src/MapPolygon.d.ts → MapPolygon.d.ts} +0 -0
  29. /package/lib/{src/MapPolygon.js → MapPolygon.js} +0 -0
  30. /package/lib/{src/MapPolygon.types.d.ts → MapPolygon.types.d.ts} +0 -0
  31. /package/lib/{src/MapPolygon.types.js → MapPolygon.types.js} +0 -0
  32. /package/lib/{src/MapPolyline.d.ts → MapPolyline.d.ts} +0 -0
  33. /package/lib/{src/MapPolyline.js → MapPolyline.js} +0 -0
  34. /package/lib/{src/MapUrlTile.d.ts → MapUrlTile.d.ts} +0 -0
  35. /package/lib/{src/MapUrlTile.js → MapUrlTile.js} +0 -0
  36. /package/lib/{src/MapView.d.ts → MapView.d.ts} +0 -0
  37. /package/lib/{src/MapView.types.d.ts → MapView.types.d.ts} +0 -0
  38. /package/lib/{src/MapView.types.js → MapView.types.js} +0 -0
  39. /package/lib/{src/MapView.web.d.ts → MapView.web.d.ts} +0 -0
  40. /package/lib/{src/MapView.web.js → MapView.web.js} +0 -0
  41. /package/lib/{src/MapViewNativeComponent.d.ts → MapViewNativeComponent.d.ts} +0 -0
  42. /package/lib/{src/MapViewNativeComponent.js → MapViewNativeComponent.js} +0 -0
  43. /package/lib/{src/MapWMSTile.d.ts → MapWMSTile.d.ts} +0 -0
  44. /package/lib/{src/MapWMSTile.js → MapWMSTile.js} +0 -0
  45. /package/lib/{src/ProviderConstants.d.ts → ProviderConstants.d.ts} +0 -0
  46. /package/lib/{src/ProviderConstants.js → ProviderConstants.js} +0 -0
  47. /package/lib/{src/decorateMapComponent.d.ts → decorateMapComponent.d.ts} +0 -0
  48. /package/lib/{src/fixImageProp.d.ts → fixImageProp.d.ts} +0 -0
  49. /package/lib/{src/fixImageProp.js → fixImageProp.js} +0 -0
  50. /package/lib/{src/index.d.ts → index.d.ts} +0 -0
  51. /package/lib/{src/index.js → index.js} +0 -0
  52. /package/lib/{src/sharedTypes.d.ts → sharedTypes.d.ts} +0 -0
  53. /package/lib/{src/sharedTypes.js → sharedTypes.js} +0 -0
  54. /package/lib/{src/sharedTypesInternal.d.ts → sharedTypesInternal.d.ts} +0 -0
  55. /package/lib/{src/sharedTypesInternal.js → sharedTypesInternal.js} +0 -0
@@ -16,7 +16,7 @@ import android.util.DisplayMetrics;
16
16
 
17
17
  import androidx.annotation.Nullable;
18
18
 
19
- import com.facebook.fbreact.specs.NativeAirMapsModuleSpec;
19
+ import com.rnmaps.fabric.NativeAirMapsModuleSpec;
20
20
  import com.facebook.react.bridge.Arguments;
21
21
  import com.facebook.react.bridge.Promise;
22
22
  import com.facebook.react.bridge.ReactApplicationContext;
@@ -13,7 +13,7 @@ import com.rnmaps.fabric.CircleManager;
13
13
  import com.rnmaps.fabric.MapViewManager;
14
14
  import com.rnmaps.fabric.MarkerManager;
15
15
  import com.rnmaps.fabric.NativeAirMapsModule;
16
- import com.facebook.fbreact.specs.NativeAirMapsModuleSpec;
16
+ import com.rnmaps.fabric.NativeAirMapsModuleSpec;
17
17
  import com.rnmaps.fabric.OverlayManager;
18
18
  import com.rnmaps.fabric.PolygonManager;
19
19
  import com.rnmaps.fabric.PolylineManager;
@@ -54,7 +54,7 @@ public class MapAirModulePackage extends TurboReactPackage {
54
54
  return new MapViewManager(reactContext);
55
55
  }
56
56
  if (NativeAirMapsModuleSpec.NAME.equals(name)) {
57
- return new NativeAirMapsModule(reactContext);
57
+ return (NativeModule) new NativeAirMapsModule(reactContext);
58
58
  } else {
59
59
  return null;
60
60
  }
@@ -79,4 +79,4 @@ public class MapAirModulePackage extends TurboReactPackage {
79
79
  }
80
80
  };
81
81
  }
82
- }
82
+ }
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { Animated, ViewProps, ImageURISource, ImageRequireSource } from 'react-native';
3
3
  import { MapManagerCommand, NativeComponent, ProviderContext, UIManagerCommand } from './decorateMapComponent';
4
4
  import { MapMarkerNativeComponentType } from './MapMarkerNativeComponent';
5
- import type { AppleMarkerPriority } from '../specs/NativeComponentMarker';
5
+ import type { AppleMarkerPriority } from './specs/NativeComponentMarker';
6
6
  import { CalloutPressEvent, LatLng, MarkerDeselectEvent, MarkerDragEvent, MarkerDragStartEndEvent, MarkerPressEvent, MarkerSelectEvent, Point } from './sharedTypes';
7
7
  import { Modify } from './sharedTypesInternal';
8
8
  type AppleMarkerVisibility = 'hidden' | 'adaptive' | 'visible';
@@ -28,7 +28,7 @@ const React = __importStar(require("react"));
28
28
  const react_native_1 = require("react-native");
29
29
  const decorateMapComponent_1 = __importStar(require("./decorateMapComponent"));
30
30
  const MapMarkerNativeComponent_1 = require("./MapMarkerNativeComponent");
31
- const NativeComponentMarker_1 = require("../specs/NativeComponentMarker");
31
+ const NativeComponentMarker_1 = require("./specs/NativeComponentMarker");
32
32
  const ProviderConstants_1 = require("./ProviderConstants");
33
33
  const fixImageProp_1 = require("./fixImageProp");
34
34
  class MapMarker extends React.Component {
@@ -31,8 +31,8 @@ const React = __importStar(require("react"));
31
31
  const react_native_1 = require("react-native");
32
32
  const decorateMapComponent_1 = require("./decorateMapComponent");
33
33
  const MapViewNativeComponent_1 = require("./MapViewNativeComponent");
34
- const NativeComponentMapView_1 = __importStar(require("../specs/NativeComponentMapView"));
35
- const NativeComponentGoogleMapView_1 = __importStar(require("../specs/NativeComponentGoogleMapView"));
34
+ const NativeComponentMapView_1 = __importStar(require("./specs/NativeComponentMapView"));
35
+ const NativeComponentGoogleMapView_1 = __importStar(require("./specs/NativeComponentGoogleMapView"));
36
36
  const createFabricMap_1 = __importDefault(require("./createFabricMap"));
37
37
  const FabricMap = (0, createFabricMap_1.default)(NativeComponentMapView_1.default, NativeComponentMapView_1.Commands);
38
38
  var FabricGoogleMap = null;
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { LatLng, Point, Region } from './sharedTypes';
3
3
  import type { Address, Camera, EdgePadding, SnapshotOptions } from './MapView.types';
4
- import { MapBoundaries } from '../specs/NativeAirMapsModule';
5
- import { MapFabricNativeProps } from '../specs/NativeComponentMapView';
4
+ import { MapBoundaries } from './specs/NativeAirMapsModule';
5
+ import { MapFabricNativeProps } from './specs/NativeComponentMapView';
6
6
  export type FabricMapViewProps = MapFabricNativeProps;
7
7
  export interface FabricMapHandle {
8
8
  getCamera: () => Promise<Camera>;
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const react_1 = __importStar(require("react"));
30
30
  const react_native_1 = require("react-native");
31
- const NativeAirMapsModule_1 = __importDefault(require("../specs/NativeAirMapsModule"));
31
+ const NativeAirMapsModule_1 = __importDefault(require("./specs/NativeAirMapsModule"));
32
32
  const createFabricMap = (ViewComponent, Commands) => {
33
33
  return (0, react_1.forwardRef)((props, ref) => {
34
34
  const fabricRef = (0, react_1.useRef)(null);
@@ -7,12 +7,12 @@ exports.googleMapIsInstalled = exports.createNotSupportedComponent = exports.get
7
7
  const react_1 = require("react");
8
8
  const react_native_1 = require("react-native");
9
9
  const ProviderConstants_1 = require("./ProviderConstants");
10
- const NativeComponentGooglePolygon_1 = __importDefault(require("../specs/NativeComponentGooglePolygon"));
11
- const NativeComponentMarker_1 = __importDefault(require("../specs/NativeComponentMarker"));
12
- const NativeComponentCallout_1 = __importDefault(require("../specs/NativeComponentCallout"));
13
- const NativeComponentPolyline_1 = __importDefault(require("../specs/NativeComponentPolyline"));
14
- const NativeComponentCircle_1 = __importDefault(require("../specs/NativeComponentCircle"));
15
- const NativeComponentOverlay_1 = __importDefault(require("../specs/NativeComponentOverlay"));
10
+ const NativeComponentGooglePolygon_1 = __importDefault(require("./specs/NativeComponentGooglePolygon"));
11
+ const NativeComponentMarker_1 = __importDefault(require("./specs/NativeComponentMarker"));
12
+ const NativeComponentCallout_1 = __importDefault(require("./specs/NativeComponentCallout"));
13
+ const NativeComponentPolyline_1 = __importDefault(require("./specs/NativeComponentPolyline"));
14
+ const NativeComponentCircle_1 = __importDefault(require("./specs/NativeComponentCircle"));
15
+ const NativeComponentOverlay_1 = __importDefault(require("./specs/NativeComponentOverlay"));
16
16
  exports.SUPPORTED = 'SUPPORTED';
17
17
  exports.USES_DEFAULT_IMPLEMENTATION = 'USES_DEFAULT_IMPLEMENTATION';
18
18
  exports.NOT_SUPPORTED = 'NOT_SUPPORTED';
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "lib/index.js",
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.21.0-alpha.97",
8
+ "version": "1.21.0-alpha.98",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",
@@ -17,11 +17,12 @@
17
17
  "release": "semantic-release",
18
18
  "bundle-install": "cd example && bundle install",
19
19
  "pod-install": "cd example/ios && bundle exec pod install",
20
- "bootstrap": "yarn --cwd example && yarn && yarn bundle-install && yarn pod-install"
20
+ "bootstrap": "yarn --cwd example && yarn && yarn bundle-install && yarn pod-install",
21
+ "prepack": "node updateCodegenConfig.js"
21
22
  },
22
23
  "files": [
23
- "lib",
24
24
  "specs",
25
+ "lib",
25
26
  "android",
26
27
  "ios",
27
28
  "react-native-maps.podspec",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes