react-native-maps 1.21.0-alpha.14 → 1.21.0-alpha.140
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.
- package/android/build.gradle +73 -53
- package/android/gradlew +1 -2
- package/android/src/main/RCTAppDependencyProvider.h +25 -0
- package/android/src/main/RCTAppDependencyProvider.mm +55 -0
- package/android/src/main/RCTModulesConformingToProtocolsProvider.h +18 -0
- package/android/src/main/RCTModulesConformingToProtocolsProvider.mm +33 -0
- package/android/src/main/RCTThirdPartyComponentsProvider.h +16 -0
- package/android/src/main/RCTThirdPartyComponentsProvider.mm +28 -0
- package/android/src/main/ReactAppDependencyProvider.podspec +34 -0
- package/android/src/main/java/com/facebook/fbreact/specs/NativeAirMapsModuleSpec.java +63 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerDelegate.java +35 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsCalloutManagerInterface.java +17 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsCircleManagerDelegate.java +49 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsCircleManagerInterface.java +23 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsGooglePolygonManagerDelegate.java +49 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsGooglePolygonManagerInterface.java +23 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsMapViewManagerDelegate.java +209 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsMapViewManagerInterface.java +74 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsMarkerManagerDelegate.java +104 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsMarkerManagerInterface.java +39 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsOverlayManagerDelegate.java +46 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsOverlayManagerInterface.java +23 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsPolylineManagerDelegate.java +58 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsPolylineManagerInterface.java +26 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsUrlTileManagerDelegate.java +62 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsUrlTileManagerInterface.java +27 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsWMSTileManagerDelegate.java +56 -0
- package/android/src/main/java/com/facebook/react/viewmanagers/RNMapsWMSTileManagerInterface.java +25 -0
- package/android/src/main/java/com/rnmaps/fabric/CalloutManager.java +77 -0
- package/android/src/main/java/com/rnmaps/fabric/CircleManager.java +94 -0
- package/android/src/main/java/com/rnmaps/fabric/JSONUtil.java +86 -0
- package/android/src/main/java/com/rnmaps/fabric/MapViewManager.java +624 -0
- package/android/src/main/java/com/rnmaps/fabric/MarkerManager.java +258 -0
- package/android/src/main/java/com/rnmaps/fabric/NativeAirMapsModule.java +235 -2
- package/android/src/main/java/com/rnmaps/fabric/OverlayManager.java +95 -0
- package/android/src/main/java/com/rnmaps/fabric/PolygonManager.java +89 -0
- package/android/src/main/java/com/rnmaps/fabric/PolylineManager.java +121 -0
- package/android/src/main/java/com/rnmaps/fabric/UrlTileManager.java +124 -0
- package/android/src/main/java/com/rnmaps/fabric/WMSTileManager.java +114 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnCalloutPressEvent.java +25 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnDeselectEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnDoublePressEvent.java +27 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnDragEndEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnDragEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnDragStartEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnIndoorBuildingFocusedEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnIndoorLevelActivatedEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnKmlReadyEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnLongPressEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMapLoadedEvent.java +29 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMapReadyEvent.java +29 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMarkerDeselectEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMarkerDragEndEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMarkerDragEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMarkerDragStartEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMarkerPressEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnMarkerSelectEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnPanDragEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnPoiClickEvent.java +27 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnPressEvent.java +27 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnRegionChangeCompleteEvent.java +30 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnRegionChangeEvent.java +48 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnRegionChangeStartEvent.java +33 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnSelectEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/fabric/event/OnUserLocationChangeEvent.java +28 -0
- package/android/src/main/java/com/rnmaps/maps/MapAirModulePackage.java +55 -3
- package/android/src/main/java/com/rnmaps/maps/MapCallout.java +18 -0
- package/android/src/main/java/com/rnmaps/maps/MapCircle.java +24 -0
- package/android/src/main/java/com/rnmaps/maps/MapManager.java +14 -14
- package/android/src/main/java/com/rnmaps/maps/MapMarker.java +637 -556
- package/android/src/main/java/com/rnmaps/maps/MapMarkerManager.java +3 -3
- package/android/src/main/java/com/rnmaps/maps/MapModule.java +206 -206
- package/android/src/main/java/com/rnmaps/maps/MapOverlay.java +267 -151
- package/android/src/main/java/com/rnmaps/maps/MapPolygon.java +31 -1
- package/android/src/main/java/com/rnmaps/maps/MapPolyline.java +207 -141
- package/android/src/main/java/com/rnmaps/maps/MapPolylineManager.java +1 -16
- package/android/src/main/java/com/rnmaps/maps/MapUrlTile.java +18 -18
- package/android/src/main/java/com/rnmaps/maps/MapUrlTileManager.java +10 -14
- package/android/src/main/java/com/rnmaps/maps/MapView.java +1649 -1336
- package/android/src/main/java/com/rnmaps/maps/MapWMSTile.java +3 -3
- package/android/src/main/java/com/rnmaps/maps/MapWMSTileManager.java +10 -10
- package/android/src/main/jni/CMakeLists.txt +36 -0
- package/android/src/main/jni/RNMapsSpecs-generated.cpp +68 -0
- package/android/src/main/jni/RNMapsSpecs.h +31 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.cpp +31 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/ComponentDescriptors.h +33 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/EventEmitters.cpp +979 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/EventEmitters.h +860 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/Props.cpp +227 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/Props.h +1263 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI-generated.cpp +74 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/RNMapsSpecsJSI.h +268 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.cpp +26 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/ShadowNodes.h +131 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/States.cpp +16 -0
- package/android/src/main/jni/react/renderer/components/RNMapsSpecs/States.h +137 -0
- package/ios/AirGoogleMaps/AIRGoogleMap.h +10 -11
- package/ios/AirGoogleMaps/AIRGoogleMap.m +104 -71
- package/ios/AirGoogleMaps/AIRGoogleMapCircle.m +23 -11
- package/ios/AirGoogleMaps/AIRGoogleMapManager.h +1 -0
- package/ios/AirGoogleMaps/AIRGoogleMapManager.m +254 -250
- package/ios/AirGoogleMaps/AIRGoogleMapMarker.m +6 -3
- package/ios/AirGoogleMaps/AIRGoogleMapMarkerManager.m +1 -1
- package/ios/AirGoogleMaps/AIRGoogleMapPolygon.m +3 -0
- package/ios/AirGoogleMaps/AIRGoogleMapPolyline.h +0 -1
- package/ios/AirGoogleMaps/AIRGoogleMapPolyline.m +0 -7
- package/ios/AirGoogleMaps/AIRGoogleMapUrlTile.m +2 -2
- package/ios/AirGoogleMaps/AIRGoogleMapWMSTile.h +1 -1
- package/ios/AirGoogleMaps/AIRGoogleMapWMSTile.m +4 -4
- package/ios/AirGoogleMaps/RNMapsGoogleMapView.h +1 -1
- package/ios/AirGoogleMaps/RNMapsGoogleMapView.mm +123 -43
- package/ios/AirGoogleMaps/RNMapsGoogleMapViewManager.mm +16 -1
- package/ios/AirGoogleMaps/RNMapsGooglePolygonView.h +26 -0
- package/ios/AirGoogleMaps/RNMapsGooglePolygonView.mm +217 -0
- package/ios/AirGoogleMaps/RNMapsGooglePolygonViewManager.mm +26 -0
- package/ios/AirMaps/AIRMap.h +8 -9
- package/ios/AirMaps/AIRMap.m +222 -239
- package/ios/AirMaps/AIRMapManager.m +10 -7
- package/ios/AirMaps/AIRMapMarker.h +1 -0
- package/ios/AirMaps/AIRMapMarker.m +142 -67
- package/ios/AirMaps/Callout/SMCalloutView.m +1 -1
- package/ios/AirMaps/FabricPlaceholders/PlaceHolderGoogleMapView.h +28 -0
- package/ios/AirMaps/FabricPlaceholders/PlaceHolderGoogleMapView.mm +68 -0
- package/ios/AirMaps/FabricPlaceholders/PlaceHolderPolygonView.h +25 -0
- package/ios/AirMaps/FabricPlaceholders/PlaceHolderPolygonView.mm +43 -0
- package/ios/AirMaps/RNMapsAirModule.h +1 -1
- package/ios/AirMaps/RNMapsAirModule.mm +4 -3
- package/ios/AirMaps/RNMapsDefines.h +1 -0
- package/ios/AirMaps/RNMapsMapView.h +1 -1
- package/ios/AirMaps/RNMapsMapView.mm +119 -95
- package/ios/AirMaps/RNMapsMapViewManager.mm +19 -1
- package/ios/AirMaps/RNMapsMarkerView.h +24 -0
- package/ios/AirMaps/RNMapsMarkerView.mm +430 -0
- package/ios/AirMaps/RNMapsMarkerViewManager.mm +28 -0
- package/ios/AirMaps.xcodeproj/project.pbxproj +20 -0
- package/ios/generated/RCTAppDependencyProvider.h +25 -0
- package/ios/generated/RCTAppDependencyProvider.mm +55 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.h +18 -0
- package/ios/generated/RCTModulesConformingToProtocolsProvider.mm +33 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.h +16 -0
- package/ios/generated/RCTThirdPartyComponentsProvider.mm +26 -0
- package/ios/{AirMaps → generated}/RNMapsAirModuleDelegate.h +2 -2
- package/ios/generated/RNMapsSpecs/ComponentDescriptors.cpp +29 -0
- package/ios/generated/RNMapsSpecs/ComponentDescriptors.h +31 -0
- package/ios/generated/RNMapsSpecs/EventEmitters.cpp +977 -0
- package/ios/generated/RNMapsSpecs/EventEmitters.h +846 -0
- package/ios/generated/RNMapsSpecs/Props.cpp +194 -0
- package/ios/generated/RNMapsSpecs/Props.h +1224 -0
- package/ios/generated/RNMapsSpecs/RCTComponentViewHelpers.h +591 -0
- package/ios/generated/RNMapsSpecs/RNMapsSpecs-generated.mm +92 -0
- package/ios/generated/RNMapsSpecs/RNMapsSpecs.h +137 -0
- package/ios/generated/RNMapsSpecs/ShadowNodes.cpp +24 -0
- package/ios/generated/RNMapsSpecs/ShadowNodes.h +109 -0
- package/ios/generated/RNMapsSpecs/States.cpp +16 -0
- package/ios/generated/RNMapsSpecs/States.h +113 -0
- package/ios/generated/RNMapsSpecsJSI-generated.cpp +74 -0
- package/ios/generated/RNMapsSpecsJSI.h +268 -0
- package/ios/generated/ReactAppDependencyProvider.podspec +34 -0
- package/package.json +26 -19
- package/react-native-google-maps.podspec +26 -0
- package/react-native-maps-generated.podspec +31 -0
- package/react-native-maps.podspec +55 -15
- package/react-native.config.js +16 -0
- package/src/AnimatedRegion.ts +169 -0
- package/src/Geojson.tsx +541 -0
- package/src/MapCallout.tsx +77 -0
- package/src/MapCalloutSubview.tsx +64 -0
- package/src/MapCircle.tsx +162 -0
- package/src/MapHeatmap.tsx +125 -0
- package/src/MapLocalTile.tsx +60 -0
- package/src/MapMarker.tsx +531 -0
- package/src/MapMarkerNativeComponent.ts +51 -0
- package/src/MapOverlay.tsx +156 -0
- package/src/MapPolygon.tsx +188 -0
- package/src/MapPolygon.types.ts +25 -0
- package/src/MapPolyline.tsx +215 -0
- package/src/MapUrlTile.tsx +169 -0
- package/src/MapView.tsx +1230 -0
- package/src/MapView.types.ts +212 -0
- package/src/MapView.web.ts +2 -0
- package/src/MapViewNativeComponent.ts +86 -0
- package/src/MapWMSTile.tsx +148 -0
- package/src/ProviderConstants.ts +2 -0
- package/src/createFabricMap.tsx +253 -0
- package/src/decorateMapComponent.ts +227 -0
- package/src/fixImageProp.ts +17 -0
- package/src/index.ts +52 -0
- package/src/sharedTypes.ts +101 -0
- package/src/specs/NativeAirMapsModule.ts +36 -0
- package/src/specs/NativeComponentCallout.ts +63 -0
- package/src/specs/NativeComponentCircle.ts +93 -0
- package/src/specs/NativeComponentGoogleMapView.ts +922 -0
- package/src/specs/NativeComponentGooglePolygon.ts +94 -0
- package/src/specs/NativeComponentMapView.ts +1100 -0
- package/src/specs/NativeComponentMarker.ts +326 -0
- package/src/specs/NativeComponentOverlay.ts +89 -0
- package/src/specs/NativeComponentPolyline.ts +124 -0
- package/src/specs/NativeComponentUrlTile.ts +128 -0
- package/src/specs/NativeComponentWMSTile.ts +107 -0
- package/lib/AnimatedRegion.d.ts +0 -19
- package/lib/AnimatedRegion.js +0 -134
- package/lib/Geojson.d.ts +0 -204
- package/lib/Geojson.js +0 -166
- package/lib/MapCallout.d.ts +0 -40
- package/lib/MapCallout.js +0 -51
- package/lib/MapCalloutSubview.d.ts +0 -34
- package/lib/MapCalloutSubview.js +0 -48
- package/lib/MapCircle.d.ts +0 -117
- package/lib/MapCircle.js +0 -53
- package/lib/MapHeatmap.d.ts +0 -78
- package/lib/MapHeatmap.js +0 -59
- package/lib/MapLocalTile.d.ts +0 -35
- package/lib/MapLocalTile.js +0 -44
- package/lib/MapMarker.d.ts +0 -309
- package/lib/MapMarker.js +0 -116
- package/lib/MapMarkerNativeComponent.d.ts +0 -15
- package/lib/MapMarkerNativeComponent.js +0 -17
- package/lib/MapOverlay.d.ts +0 -87
- package/lib/MapOverlay.js +0 -63
- package/lib/MapPolygon.d.ts +0 -140
- package/lib/MapPolygon.js +0 -53
- package/lib/MapPolygon.types.d.ts +0 -18
- package/lib/MapPolygon.types.js +0 -2
- package/lib/MapPolyline.d.ts +0 -156
- package/lib/MapPolyline.js +0 -53
- package/lib/MapUrlTile.d.ts +0 -134
- package/lib/MapUrlTile.js +0 -44
- package/lib/MapView.d.ts +0 -715
- package/lib/MapView.js +0 -447
- package/lib/MapView.types.d.ts +0 -161
- package/lib/MapView.types.js +0 -2
- package/lib/MapView.web.d.ts +0 -1
- package/lib/MapView.web.js +0 -9
- package/lib/MapViewNativeComponent.d.ts +0 -18
- package/lib/MapViewNativeComponent.js +0 -19
- package/lib/MapWMSTile.d.ts +0 -116
- package/lib/MapWMSTile.js +0 -44
- package/lib/ProviderConstants.d.ts +0 -2
- package/lib/ProviderConstants.js +0 -5
- package/lib/createFabricMap.d.ts +0 -23
- package/lib/createFabricMap.js +0 -175
- package/lib/decorateMapComponent.d.ts +0 -36
- package/lib/decorateMapComponent.js +0 -80
- package/lib/index.d.ts +0 -38
- package/lib/index.js +0 -81
- package/lib/sharedTypes.d.ts +0 -81
- package/lib/sharedTypes.js +0 -2
- package/lib/sharedTypesInternal.js +0 -2
- package/lib/specs/NativeAirMapsModule.d.ts +0 -31
- package/lib/specs/NativeAirMapsModule.js +0 -4
- package/lib/specs/NativeComponentGoogleMapView.d.ts +0 -713
- package/lib/specs/NativeComponentGoogleMapView.js +0 -21
- package/lib/specs/NativeComponentMapView.d.ts +0 -855
- package/lib/specs/NativeComponentMapView.js +0 -21
- /package/ios/{AirMaps → generated}/RNMapsHostVewDelegate.h +0 -0
- /package/{lib/sharedTypesInternal.d.ts → src/sharedTypesInternal.ts} +0 -0
package/lib/MapCallout.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.MapCallout = void 0;
|
|
27
|
-
const React = __importStar(require("react"));
|
|
28
|
-
const react_native_1 = require("react-native");
|
|
29
|
-
const decorateMapComponent_1 = __importStar(require("./decorateMapComponent"));
|
|
30
|
-
class MapCallout extends React.Component {
|
|
31
|
-
getNativeComponent;
|
|
32
|
-
getMapManagerCommand;
|
|
33
|
-
getUIManagerCommand;
|
|
34
|
-
render() {
|
|
35
|
-
const { tooltip = false, alphaHitTest = false } = this.props;
|
|
36
|
-
const AIRMapCallout = this.getNativeComponent();
|
|
37
|
-
return (<AIRMapCallout {...this.props} tooltip={tooltip} alphaHitTest={alphaHitTest} style={[styles.callout, this.props.style]}/>);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
exports.MapCallout = MapCallout;
|
|
41
|
-
const styles = react_native_1.StyleSheet.create({
|
|
42
|
-
callout: {
|
|
43
|
-
position: 'absolute',
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
exports.default = (0, decorateMapComponent_1.default)(MapCallout, 'Callout', {
|
|
47
|
-
google: {
|
|
48
|
-
ios: decorateMapComponent_1.SUPPORTED,
|
|
49
|
-
android: decorateMapComponent_1.USES_DEFAULT_IMPLEMENTATION,
|
|
50
|
-
},
|
|
51
|
-
});
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { NativeSyntheticEvent, ViewProps } from 'react-native';
|
|
3
|
-
import { ProviderContext, NativeComponent, MapManagerCommand, UIManagerCommand } from './decorateMapComponent';
|
|
4
|
-
import { Frame, Point } from './sharedTypes';
|
|
5
|
-
export type MapCalloutSubviewProps = ViewProps & {
|
|
6
|
-
/**
|
|
7
|
-
* Callback that is called when the user presses on this subview inside callout
|
|
8
|
-
*
|
|
9
|
-
* @platform iOS: Supported
|
|
10
|
-
* @platform Android: Not supported
|
|
11
|
-
*/
|
|
12
|
-
onPress?: (event: CalloutSubviewPressEvent) => void;
|
|
13
|
-
};
|
|
14
|
-
type NativeProps = MapCalloutSubviewProps;
|
|
15
|
-
export declare class MapCalloutSubview extends React.Component<MapCalloutSubviewProps> {
|
|
16
|
-
context: React.ContextType<typeof ProviderContext>;
|
|
17
|
-
getNativeComponent: () => NativeComponent<NativeProps>;
|
|
18
|
-
getMapManagerCommand: (name: string) => MapManagerCommand;
|
|
19
|
-
getUIManagerCommand: (name: string) => UIManagerCommand;
|
|
20
|
-
render(): React.JSX.Element;
|
|
21
|
-
}
|
|
22
|
-
declare const _default: typeof MapCalloutSubview;
|
|
23
|
-
export default _default;
|
|
24
|
-
type CalloutSubviewPressEvent = NativeSyntheticEvent<{
|
|
25
|
-
/**
|
|
26
|
-
* Apple Maps: `callout-inside-press`
|
|
27
|
-
*
|
|
28
|
-
* Google Maps: `marker-inside-overlay-press`
|
|
29
|
-
*/
|
|
30
|
-
action: 'callout-inside-press' | 'marker-inside-overlay-press';
|
|
31
|
-
frame: Frame;
|
|
32
|
-
id: string;
|
|
33
|
-
point: Point;
|
|
34
|
-
}>;
|
package/lib/MapCalloutSubview.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.MapCalloutSubview = void 0;
|
|
27
|
-
const React = __importStar(require("react"));
|
|
28
|
-
const react_native_1 = require("react-native");
|
|
29
|
-
const decorateMapComponent_1 = __importStar(require("./decorateMapComponent"));
|
|
30
|
-
class MapCalloutSubview extends React.Component {
|
|
31
|
-
getNativeComponent;
|
|
32
|
-
getMapManagerCommand;
|
|
33
|
-
getUIManagerCommand;
|
|
34
|
-
render() {
|
|
35
|
-
const AIRMapCalloutSubview = this.getNativeComponent();
|
|
36
|
-
return (<AIRMapCalloutSubview {...this.props} style={[styles.calloutSubview, this.props.style]}/>);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
exports.MapCalloutSubview = MapCalloutSubview;
|
|
40
|
-
const styles = react_native_1.StyleSheet.create({
|
|
41
|
-
calloutSubview: {},
|
|
42
|
-
});
|
|
43
|
-
exports.default = (0, decorateMapComponent_1.default)(MapCalloutSubview, 'CalloutSubview', {
|
|
44
|
-
google: {
|
|
45
|
-
ios: decorateMapComponent_1.SUPPORTED,
|
|
46
|
-
android: decorateMapComponent_1.NOT_SUPPORTED,
|
|
47
|
-
},
|
|
48
|
-
});
|
package/lib/MapCircle.d.ts
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { View, ViewProps } from 'react-native';
|
|
3
|
-
import { ProviderContext, NativeComponent, MapManagerCommand, UIManagerCommand } from './decorateMapComponent';
|
|
4
|
-
import { LatLng, LineCapType, LineJoinType } from './sharedTypes';
|
|
5
|
-
export type MapCircleProps = ViewProps & {
|
|
6
|
-
/**
|
|
7
|
-
* The coordinates of the center of the circle.
|
|
8
|
-
*
|
|
9
|
-
* @platform iOS: Supported
|
|
10
|
-
* @platform Android: Supported
|
|
11
|
-
*/
|
|
12
|
-
center: LatLng;
|
|
13
|
-
/**
|
|
14
|
-
* The fill color to use for the path.
|
|
15
|
-
*
|
|
16
|
-
* @default `#000`, `rgba(r,g,b,0.5)`
|
|
17
|
-
* @platform iOS: Supported
|
|
18
|
-
* @platform Android: Supported
|
|
19
|
-
*/
|
|
20
|
-
fillColor?: string;
|
|
21
|
-
/**
|
|
22
|
-
* The line cap style to apply to the open ends of the path
|
|
23
|
-
*
|
|
24
|
-
* @default `round`
|
|
25
|
-
* @platform iOS: Apple Maps only
|
|
26
|
-
* @platform Android: Not supported
|
|
27
|
-
*/
|
|
28
|
-
lineCap?: LineCapType;
|
|
29
|
-
/**
|
|
30
|
-
* An array of numbers specifying the dash pattern to use for the path.
|
|
31
|
-
* The array contains one or more numbers that indicate the lengths (measured in points)
|
|
32
|
-
* of the line segments and gaps in the pattern.
|
|
33
|
-
* The values in the array alternate, starting with the first line segment length,
|
|
34
|
-
* followed by the first gap length, followed by the second line segment length, and so on.
|
|
35
|
-
*
|
|
36
|
-
* @platform iOS: Apple Maps only
|
|
37
|
-
* @platform Android: Not supported
|
|
38
|
-
*/
|
|
39
|
-
lineDashPattern?: number[];
|
|
40
|
-
/**
|
|
41
|
-
* The offset (in points) at which to start drawing the dash pattern.
|
|
42
|
-
* Use this property to start drawing a dashed line partway through a segment or gap.
|
|
43
|
-
* For example, a phase value of 6 for the patter 5-2-3-2 would cause drawing to begin in the middle of the first gap.
|
|
44
|
-
*
|
|
45
|
-
* @default 0
|
|
46
|
-
* @platform iOS: Apple Maps only
|
|
47
|
-
* @platform Android: Not supported
|
|
48
|
-
*/
|
|
49
|
-
lineDashPhase?: number;
|
|
50
|
-
/**
|
|
51
|
-
* The line join style to apply to corners of the path.
|
|
52
|
-
*
|
|
53
|
-
* @platform iOS: Apple Maps only
|
|
54
|
-
* @platform Android: Not supported
|
|
55
|
-
*/
|
|
56
|
-
lineJoin?: LineJoinType;
|
|
57
|
-
/**
|
|
58
|
-
* The limiting value that helps avoid spikes at junctions between connected line segments.
|
|
59
|
-
* The miter limit helps you avoid spikes in paths that use the `miter` `lineJoin` style.
|
|
60
|
-
* If the ratio of the miter length—that is, the diagonal length of the miter join—to the line thickness exceeds the miter limit,
|
|
61
|
-
* the joint is converted to a bevel join.
|
|
62
|
-
* The default miter limit is 10, which results in the conversion of miters whose angle at the joint is less than 11 degrees.
|
|
63
|
-
*
|
|
64
|
-
* @default 10
|
|
65
|
-
* @platform iOS: Apple Maps only
|
|
66
|
-
* @platform Android: Not supported
|
|
67
|
-
*/
|
|
68
|
-
miterLimit?: number;
|
|
69
|
-
/**
|
|
70
|
-
* The radius of the circle to be drawn (in meters)
|
|
71
|
-
*
|
|
72
|
-
* @platform iOS: Supported
|
|
73
|
-
* @platform Android: Supported
|
|
74
|
-
*/
|
|
75
|
-
radius: number;
|
|
76
|
-
/**
|
|
77
|
-
* The stroke color to use for the path.
|
|
78
|
-
*
|
|
79
|
-
* @default `#000`, `rgba(r,g,b,0.5)`
|
|
80
|
-
* @platform iOS: Supported
|
|
81
|
-
* @platform Android: Supported
|
|
82
|
-
*/
|
|
83
|
-
strokeColor?: string;
|
|
84
|
-
/**
|
|
85
|
-
* The stroke width to use for the path.
|
|
86
|
-
*
|
|
87
|
-
* @default 1
|
|
88
|
-
* @platform iOS: Supported
|
|
89
|
-
* @platform Android: Supported
|
|
90
|
-
*/
|
|
91
|
-
strokeWidth?: number;
|
|
92
|
-
/**
|
|
93
|
-
* The order in which this tile overlay is drawn with respect to other overlays.
|
|
94
|
-
* An overlay with a larger z-index is drawn over overlays with smaller z-indices.
|
|
95
|
-
* The order of overlays with the same z-index is arbitrary.
|
|
96
|
-
*
|
|
97
|
-
* @default 0
|
|
98
|
-
* @platform iOS: Google Maps only
|
|
99
|
-
* @platform Android: Supported
|
|
100
|
-
*/
|
|
101
|
-
zIndex?: number;
|
|
102
|
-
};
|
|
103
|
-
type NativeProps = MapCircleProps & {
|
|
104
|
-
ref: React.RefObject<View>;
|
|
105
|
-
};
|
|
106
|
-
export declare class MapCircle extends React.Component<MapCircleProps> {
|
|
107
|
-
context: React.ContextType<typeof ProviderContext>;
|
|
108
|
-
getNativeComponent: () => NativeComponent<NativeProps>;
|
|
109
|
-
getMapManagerCommand: (name: string) => MapManagerCommand;
|
|
110
|
-
getUIManagerCommand: (name: string) => UIManagerCommand;
|
|
111
|
-
private circle;
|
|
112
|
-
constructor(props: MapCircleProps);
|
|
113
|
-
setNativeProps(props: Partial<NativeProps>): void;
|
|
114
|
-
render(): React.JSX.Element;
|
|
115
|
-
}
|
|
116
|
-
declare const _default: typeof MapCircle;
|
|
117
|
-
export default _default;
|
package/lib/MapCircle.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.MapCircle = void 0;
|
|
27
|
-
const React = __importStar(require("react"));
|
|
28
|
-
const decorateMapComponent_1 = __importStar(require("./decorateMapComponent"));
|
|
29
|
-
class MapCircle extends React.Component {
|
|
30
|
-
getNativeComponent;
|
|
31
|
-
getMapManagerCommand;
|
|
32
|
-
getUIManagerCommand;
|
|
33
|
-
circle;
|
|
34
|
-
constructor(props) {
|
|
35
|
-
super(props);
|
|
36
|
-
this.circle = React.createRef();
|
|
37
|
-
}
|
|
38
|
-
setNativeProps(props) {
|
|
39
|
-
this.circle.current?.setNativeProps(props);
|
|
40
|
-
}
|
|
41
|
-
render() {
|
|
42
|
-
const { strokeColor = '#000', strokeWidth = 1 } = this.props;
|
|
43
|
-
const AIRMapCircle = this.getNativeComponent();
|
|
44
|
-
return (<AIRMapCircle {...this.props} strokeColor={strokeColor} strokeWidth={strokeWidth} ref={this.circle}/>);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.MapCircle = MapCircle;
|
|
48
|
-
exports.default = (0, decorateMapComponent_1.default)(MapCircle, 'Circle', {
|
|
49
|
-
google: {
|
|
50
|
-
ios: decorateMapComponent_1.SUPPORTED,
|
|
51
|
-
android: decorateMapComponent_1.USES_DEFAULT_IMPLEMENTATION,
|
|
52
|
-
},
|
|
53
|
-
});
|
package/lib/MapHeatmap.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ProcessedColorValue, View, ViewProps } from 'react-native';
|
|
3
|
-
import { MapManagerCommand, NativeComponent, ProviderContext, UIManagerCommand } from './decorateMapComponent';
|
|
4
|
-
import { LatLng } from './sharedTypes';
|
|
5
|
-
import { Modify } from './sharedTypesInternal';
|
|
6
|
-
export type MapHeatmapProps = ViewProps & {
|
|
7
|
-
gradient?: {
|
|
8
|
-
/**
|
|
9
|
-
* Resolution of color map -- number corresponding to the number of steps colors are interpolated into.
|
|
10
|
-
*
|
|
11
|
-
* @default 256
|
|
12
|
-
* @platform iOS: Google Maps only
|
|
13
|
-
* @platform Android: Supported
|
|
14
|
-
*/
|
|
15
|
-
colorMapSize: number;
|
|
16
|
-
/**
|
|
17
|
-
* Colors (one or more) to used for gradient.
|
|
18
|
-
*
|
|
19
|
-
* @platform iOS: Google Maps only
|
|
20
|
-
* @platform Android: Supported
|
|
21
|
-
*/
|
|
22
|
-
colors: string[];
|
|
23
|
-
/**
|
|
24
|
-
* Array of floating point values from 0 to 1 representing where each color starts.
|
|
25
|
-
*
|
|
26
|
-
* Array length must be equal to `colors` array length.
|
|
27
|
-
*
|
|
28
|
-
* @platform iOS: Google Maps only
|
|
29
|
-
* @platform Android: Supported
|
|
30
|
-
*/
|
|
31
|
-
startPoints: number[];
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* The opacity of the heatmap.
|
|
35
|
-
*
|
|
36
|
-
* @default 0.7
|
|
37
|
-
* @platform iOS: Google Maps only
|
|
38
|
-
* @platform Android: Supported
|
|
39
|
-
*/
|
|
40
|
-
opacity?: number;
|
|
41
|
-
/**
|
|
42
|
-
* Array of heatmap entries to apply towards density.
|
|
43
|
-
*
|
|
44
|
-
* @platform iOS: Google Maps only
|
|
45
|
-
* @platform Android: Supported
|
|
46
|
-
*/
|
|
47
|
-
points?: WeightedLatLng[];
|
|
48
|
-
/**
|
|
49
|
-
* The radius of the heatmap points in pixels, between 10 and 50.
|
|
50
|
-
*
|
|
51
|
-
* @default 20
|
|
52
|
-
* @platform iOS: Google Maps only
|
|
53
|
-
* @platform Android: Supported
|
|
54
|
-
*/
|
|
55
|
-
radius?: number;
|
|
56
|
-
};
|
|
57
|
-
type NativeProps = Modify<MapHeatmapProps, {
|
|
58
|
-
gradient?: Modify<MapHeatmapProps['gradient'], {
|
|
59
|
-
colors: (ProcessedColorValue | null | undefined)[];
|
|
60
|
-
}>;
|
|
61
|
-
}> & {
|
|
62
|
-
ref: React.RefObject<View>;
|
|
63
|
-
};
|
|
64
|
-
export declare class MapHeatmap extends React.Component<MapHeatmapProps> {
|
|
65
|
-
context: React.ContextType<typeof ProviderContext>;
|
|
66
|
-
getNativeComponent: () => NativeComponent<NativeProps>;
|
|
67
|
-
getMapManagerCommand: (name: string) => MapManagerCommand;
|
|
68
|
-
getUIManagerCommand: (name: string) => UIManagerCommand;
|
|
69
|
-
private heatmap;
|
|
70
|
-
constructor(props: MapHeatmapProps);
|
|
71
|
-
setNativeProps(props: Partial<NativeProps>): void;
|
|
72
|
-
render(): React.JSX.Element;
|
|
73
|
-
}
|
|
74
|
-
declare const _default: typeof MapHeatmap;
|
|
75
|
-
export default _default;
|
|
76
|
-
type WeightedLatLng = LatLng & {
|
|
77
|
-
weight?: number;
|
|
78
|
-
};
|
package/lib/MapHeatmap.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.MapHeatmap = void 0;
|
|
27
|
-
const React = __importStar(require("react"));
|
|
28
|
-
const react_native_1 = require("react-native");
|
|
29
|
-
const decorateMapComponent_1 = __importStar(require("./decorateMapComponent"));
|
|
30
|
-
class MapHeatmap extends React.Component {
|
|
31
|
-
getNativeComponent;
|
|
32
|
-
getMapManagerCommand;
|
|
33
|
-
getUIManagerCommand;
|
|
34
|
-
heatmap;
|
|
35
|
-
constructor(props) {
|
|
36
|
-
super(props);
|
|
37
|
-
this.heatmap = React.createRef();
|
|
38
|
-
}
|
|
39
|
-
setNativeProps(props) {
|
|
40
|
-
this.heatmap.current?.setNativeProps(props);
|
|
41
|
-
}
|
|
42
|
-
render() {
|
|
43
|
-
const AIRMapHeatmap = this.getNativeComponent();
|
|
44
|
-
const propGradient = this.props.gradient;
|
|
45
|
-
let gradient;
|
|
46
|
-
if (propGradient) {
|
|
47
|
-
const colors = propGradient.colors.map(c => (0, react_native_1.processColor)(c));
|
|
48
|
-
gradient = { ...propGradient, colors };
|
|
49
|
-
}
|
|
50
|
-
return (<AIRMapHeatmap {...this.props} gradient={gradient} ref={this.heatmap}/>);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exports.MapHeatmap = MapHeatmap;
|
|
54
|
-
exports.default = (0, decorateMapComponent_1.default)(MapHeatmap, 'Heatmap', {
|
|
55
|
-
google: {
|
|
56
|
-
ios: decorateMapComponent_1.SUPPORTED,
|
|
57
|
-
android: decorateMapComponent_1.USES_DEFAULT_IMPLEMENTATION,
|
|
58
|
-
},
|
|
59
|
-
});
|
package/lib/MapLocalTile.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ViewProps } from 'react-native';
|
|
3
|
-
import { ProviderContext, NativeComponent, MapManagerCommand, UIManagerCommand } from './decorateMapComponent';
|
|
4
|
-
export type MapLocalTileProps = ViewProps & {
|
|
5
|
-
/**
|
|
6
|
-
* @platform iOS: Apple Maps only
|
|
7
|
-
* @platform Android: Supported
|
|
8
|
-
*/
|
|
9
|
-
pathTemplate: string;
|
|
10
|
-
/**
|
|
11
|
-
* @platform iOS: Apple Maps only
|
|
12
|
-
* @platform Android: Supported
|
|
13
|
-
*/
|
|
14
|
-
tileSize?: number;
|
|
15
|
-
/**
|
|
16
|
-
* Set to true to use pathTemplate to open files from Android's AssetManager. The default is false.
|
|
17
|
-
* @platform android
|
|
18
|
-
*/
|
|
19
|
-
useAssets?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* @platform iOS: Not supported
|
|
22
|
-
* @platform Android: Supported
|
|
23
|
-
*/
|
|
24
|
-
zIndex?: number;
|
|
25
|
-
};
|
|
26
|
-
type NativeProps = MapLocalTileProps;
|
|
27
|
-
export declare class MapLocalTile extends React.Component<MapLocalTileProps> {
|
|
28
|
-
context: React.ContextType<typeof ProviderContext>;
|
|
29
|
-
getNativeComponent: () => NativeComponent<NativeProps>;
|
|
30
|
-
getMapManagerCommand: (name: string) => MapManagerCommand;
|
|
31
|
-
getUIManagerCommand: (name: string) => UIManagerCommand;
|
|
32
|
-
render(): React.JSX.Element;
|
|
33
|
-
}
|
|
34
|
-
declare const _default: typeof MapLocalTile;
|
|
35
|
-
export default _default;
|
package/lib/MapLocalTile.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.MapLocalTile = void 0;
|
|
27
|
-
const React = __importStar(require("react"));
|
|
28
|
-
const decorateMapComponent_1 = __importStar(require("./decorateMapComponent"));
|
|
29
|
-
class MapLocalTile extends React.Component {
|
|
30
|
-
getNativeComponent;
|
|
31
|
-
getMapManagerCommand;
|
|
32
|
-
getUIManagerCommand;
|
|
33
|
-
render() {
|
|
34
|
-
const AIRMapLocalTile = this.getNativeComponent();
|
|
35
|
-
return <AIRMapLocalTile {...this.props}/>;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.MapLocalTile = MapLocalTile;
|
|
39
|
-
exports.default = (0, decorateMapComponent_1.default)(MapLocalTile, 'LocalTile', {
|
|
40
|
-
google: {
|
|
41
|
-
ios: decorateMapComponent_1.SUPPORTED,
|
|
42
|
-
android: decorateMapComponent_1.USES_DEFAULT_IMPLEMENTATION,
|
|
43
|
-
},
|
|
44
|
-
});
|