@rnmapbox/maps 10.3.0-rc.0 → 10.3.1
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/src/main/java/com/rnmapbox/rnmbx/RNMBXPackage.kt +4 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewContent.kt +55 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewContentManager.kt +7 -2
- package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewManager.kt +0 -2
- package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXNativeUserLocationManager.kt +25 -24
- package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/NativeMapViewModule.kt +3 -2
- package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt +57 -39
- package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapViewManager.kt +0 -9
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleFactory.kt +638 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/atmosphere/RNMBXAtmosphere.kt +4 -4
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/atmosphere/RNMBXAtmosphereManager.kt +2 -1
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/light/RNMBXLightManager.kt +2 -1
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/rain/RNMBXRain.kt +83 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/rain/RNMBXRainManager.kt +40 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/snow/RNMBXSnow.kt +66 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/snow/RNMBXSnowManager.kt +40 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXSource.kt +2 -6
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/terrain/RNMBXTerrainManager.kt +2 -1
- package/android/src/main/java/com/rnmapbox/rnmbx/events/FeatureClickEvent.java +5 -6
- package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXModule.kt +1 -0
- package/android/src/main/java/com/rnmapbox/rnmbx/utils/ConvertUtils.kt +0 -30
- package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/Dynamic.kt +3 -1
- package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/ReadableArray.kt +16 -14
- package/ios/RNMBX/RNMBXAtmosphereComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXBackgroundLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXBridgeManager.h +8 -0
- package/ios/RNMBX/RNMBXBridgeManager.m +16 -0
- package/ios/RNMBX/RNMBXCircleLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXFillExtrusionLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXFillLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXHeatmapLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXHillshadeLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXImageModule.h +1 -0
- package/ios/RNMBX/RNMBXImageModule.mm +15 -2
- package/ios/RNMBX/RNMBXImageQueue.swift +9 -1
- package/ios/RNMBX/RNMBXImages.swift +4 -0
- package/ios/RNMBX/RNMBXImagesComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXLightComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXLineLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXMapViewModule.mm +1 -1
- package/ios/RNMBX/RNMBXModelLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXModule.swift +1 -0
- package/ios/RNMBX/RNMBXRain.swift +92 -0
- package/ios/RNMBX/RNMBXRainComponentView.h +14 -0
- package/ios/RNMBX/RNMBXRainComponentView.mm +80 -0
- package/ios/RNMBX/RNMBXRasterLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXRasterParticleLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXSkyLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXSnow.swift +76 -0
- package/ios/RNMBX/RNMBXSnowComponentView.h +14 -0
- package/ios/RNMBX/RNMBXSnowComponentView.mm +80 -0
- package/ios/RNMBX/RNMBXStyle.swift +415 -9
- package/ios/RNMBX/RNMBXStyleValue.swift +7 -1
- package/ios/RNMBX/RNMBXSymbolLayerComponentView.mm +2 -1
- package/ios/RNMBX/RNMBXTerrainComponentView.mm +2 -1
- package/lib/commonjs/plugin/install.md +2 -2
- package/lib/module/Mapbox.native.js +2 -0
- package/lib/module/Mapbox.native.js.map +1 -1
- package/lib/module/components/MapView.js +95 -113
- package/lib/module/components/MapView.js.map +1 -1
- package/lib/module/components/MarkerView.js +93 -76
- package/lib/module/components/MarkerView.js.map +1 -1
- package/lib/module/components/Rain.js +19 -0
- package/lib/module/components/Rain.js.map +1 -0
- package/lib/module/components/Snow.js +19 -0
- package/lib/module/components/Snow.js.map +1 -0
- package/lib/module/modules/offline/offlineManager.js +2 -12
- package/lib/module/modules/offline/offlineManager.js.map +1 -1
- package/lib/module/specs/RNMBXMarkerViewContentNativeComponent.ts +13 -1
- package/lib/module/specs/RNMBXRainNativeComponent.ts +13 -0
- package/lib/module/specs/RNMBXSnowNativeComponent.ts +13 -0
- package/lib/module/utils/styleMap.js +20 -0
- package/lib/module/utils/styleMap.js.map +1 -1
- package/lib/typescript/scripts/autogenHelpers/generateCodeWithEjs.d.mts +71 -2
- package/lib/typescript/scripts/autogenHelpers/generateCodeWithEjs.d.mts.map +1 -1
- package/lib/typescript/scripts/autogenHelpers/globals.d.mts +1 -1
- package/lib/typescript/scripts/autogenHelpers/globals.d.mts.map +1 -1
- package/lib/typescript/src/Mapbox.native.d.ts +3 -1
- package/lib/typescript/src/Mapbox.native.d.ts.map +1 -1
- package/lib/typescript/src/components/Callout.d.ts +3 -3
- package/lib/typescript/src/components/Camera.d.ts +2 -2
- package/lib/typescript/src/components/Camera.d.ts.map +1 -1
- package/lib/typescript/src/components/MapView.d.ts +53 -41
- package/lib/typescript/src/components/MapView.d.ts.map +1 -1
- package/lib/typescript/src/components/MarkerView.d.ts +10 -17
- package/lib/typescript/src/components/MarkerView.d.ts.map +1 -1
- package/lib/typescript/src/components/Rain.d.ts +17 -0
- package/lib/typescript/src/components/Rain.d.ts.map +1 -0
- package/lib/typescript/src/components/Snow.d.ts +8 -0
- package/lib/typescript/src/components/Snow.d.ts.map +1 -0
- package/lib/typescript/src/modules/offline/offlineManager.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXMarkerViewContentNativeComponent.d.ts +6 -0
- package/lib/typescript/src/specs/RNMBXMarkerViewContentNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXRainNativeComponent.d.ts +8 -0
- package/lib/typescript/src/specs/RNMBXRainNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/specs/RNMBXSnowNativeComponent.d.ts +8 -0
- package/lib/typescript/src/specs/RNMBXSnowNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/utils/MapboxStyles.d.ts +171 -1
- package/lib/typescript/src/utils/MapboxStyles.d.ts.map +1 -1
- package/lib/typescript/src/utils/styleMap.d.ts.map +1 -1
- package/package.json +12 -3
- package/plugin/install.md +2 -2
- package/setup-jest.js +1 -1
- package/src/Mapbox.native.ts +7 -1
- package/src/components/Camera.tsx +2 -2
- package/src/components/MapView.tsx +137 -154
- package/src/components/MarkerView.tsx +118 -95
- package/src/components/Rain.tsx +31 -0
- package/src/components/Snow.tsx +22 -0
- package/src/modules/offline/offlineManager.ts +2 -14
- package/src/specs/RNMBXMarkerViewContentNativeComponent.ts +13 -1
- package/src/specs/RNMBXRainNativeComponent.ts +13 -0
- package/src/specs/RNMBXSnowNativeComponent.ts +13 -0
- package/src/utils/MapboxStyles.ts +191 -0
- package/src/utils/styleMap.ts +22 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function getLayers(): {
|
|
1
|
+
export function getLayers(): ({
|
|
2
2
|
name: string;
|
|
3
3
|
properties: ({
|
|
4
4
|
name: any;
|
|
@@ -31,10 +31,79 @@ export function getLayers(): {
|
|
|
31
31
|
})[];
|
|
32
32
|
props: {
|
|
33
33
|
v10: any;
|
|
34
|
+
v11?: undefined;
|
|
34
35
|
};
|
|
35
36
|
support: {
|
|
36
37
|
v10: boolean;
|
|
38
|
+
v11?: undefined;
|
|
37
39
|
};
|
|
38
|
-
}
|
|
40
|
+
} | {
|
|
41
|
+
name: string;
|
|
42
|
+
properties: ({
|
|
43
|
+
name: any;
|
|
44
|
+
doc: {
|
|
45
|
+
default: any;
|
|
46
|
+
minimum: any;
|
|
47
|
+
maximum: any;
|
|
48
|
+
units: any;
|
|
49
|
+
description: any;
|
|
50
|
+
requires: any[];
|
|
51
|
+
disabledBy: any[];
|
|
52
|
+
values: any;
|
|
53
|
+
};
|
|
54
|
+
mbx: {
|
|
55
|
+
name: string;
|
|
56
|
+
namespace: "layout" | "paint" | null;
|
|
57
|
+
fullName: string;
|
|
58
|
+
};
|
|
59
|
+
type: any;
|
|
60
|
+
value: any;
|
|
61
|
+
image: boolean;
|
|
62
|
+
translate: boolean;
|
|
63
|
+
transition: any;
|
|
64
|
+
expression: any;
|
|
65
|
+
expressionSupported: boolean;
|
|
66
|
+
support: any;
|
|
67
|
+
allowedFunctionTypes: string[];
|
|
68
|
+
} & {
|
|
69
|
+
allowedFunctionTypes: never[];
|
|
70
|
+
})[];
|
|
71
|
+
props: {
|
|
72
|
+
v11: ({
|
|
73
|
+
name: any;
|
|
74
|
+
doc: {
|
|
75
|
+
default: any;
|
|
76
|
+
minimum: any;
|
|
77
|
+
maximum: any;
|
|
78
|
+
units: any;
|
|
79
|
+
description: any;
|
|
80
|
+
requires: any[];
|
|
81
|
+
disabledBy: any[];
|
|
82
|
+
values: any;
|
|
83
|
+
};
|
|
84
|
+
mbx: {
|
|
85
|
+
name: string;
|
|
86
|
+
namespace: "layout" | "paint" | null;
|
|
87
|
+
fullName: string;
|
|
88
|
+
};
|
|
89
|
+
type: any;
|
|
90
|
+
value: any;
|
|
91
|
+
image: boolean;
|
|
92
|
+
translate: boolean;
|
|
93
|
+
transition: any;
|
|
94
|
+
expression: any;
|
|
95
|
+
expressionSupported: boolean;
|
|
96
|
+
support: any;
|
|
97
|
+
allowedFunctionTypes: string[];
|
|
98
|
+
} & {
|
|
99
|
+
allowedFunctionTypes: never[];
|
|
100
|
+
})[];
|
|
101
|
+
v10?: undefined;
|
|
102
|
+
};
|
|
103
|
+
support: {
|
|
104
|
+
v11: boolean;
|
|
105
|
+
v10?: undefined;
|
|
106
|
+
};
|
|
107
|
+
})[];
|
|
39
108
|
export default function generateCodeWithEjs(layers: any): Promise<string[]>;
|
|
40
109
|
//# sourceMappingURL=generateCodeWithEjs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateCodeWithEjs.d.mts","sourceRoot":"","sources":["../../../../scripts/autogenHelpers/generateCodeWithEjs.mjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generateCodeWithEjs.d.mts","sourceRoot":"","sources":["../../../../scripts/autogenHelpers/generateCodeWithEjs.mjs"],"names":[],"mappings":"AAgcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4EC;AAED,4EA4EC"}
|
|
@@ -3,7 +3,7 @@ export function exists(value: any): boolean;
|
|
|
3
3
|
export function camelCase(str: any, delimiter?: string): any;
|
|
4
4
|
export function pascelCase(str: any, delimiter?: string): any;
|
|
5
5
|
export function setLayerMethodName(layer: any, platform: any): string;
|
|
6
|
-
export function getLayerType(layer: any, platform: any): "Light" | "FillLayer" | "FillExtrusionLayer" | "CircleLayer" | "HeatmapLayer" | "LineLayer" | "ModelLayer" | "SymbolLayer" | "BackgroundLayer" | "RasterLayer" | "RasterParticleLayer" | "HillshadeLayer" | "SkyLayer" | "Terrain" | "Atmosphere" | "MGLFillStyleLayer" | "MGLFillExtrusionStyleLayer" | "MGLLineStyleLayer" | "MGLSymbolStyleLayer" | "MGLCircleStyleLayer" | "MGLBackgroundStyleLayer" | "MGLRasterStyleLayer" | "MGLHeatmapStyleLayer" | "MGLHillshadeStyleLayer" | "MGLLight" | "MGLSkyLayer" | "MGLAtmosphere" | "MGLTerrain";
|
|
6
|
+
export function getLayerType(layer: any, platform: any): "Light" | "FillLayer" | "FillExtrusionLayer" | "CircleLayer" | "HeatmapLayer" | "LineLayer" | "ModelLayer" | "SymbolLayer" | "BackgroundLayer" | "RasterLayer" | "RasterParticleLayer" | "HillshadeLayer" | "SkyLayer" | "Terrain" | "Atmosphere" | "Snow" | "Rain" | "MGLFillStyleLayer" | "MGLFillExtrusionStyleLayer" | "MGLLineStyleLayer" | "MGLSymbolStyleLayer" | "MGLCircleStyleLayer" | "MGLBackgroundStyleLayer" | "MGLRasterStyleLayer" | "MGLHeatmapStyleLayer" | "MGLHillshadeStyleLayer" | "MGLLight" | "MGLSkyLayer" | "MGLAtmosphere" | "MGLTerrain";
|
|
7
7
|
export function ifOrElseIf(index: any): "if" | "} else if";
|
|
8
8
|
export function iosStringArrayLiteral(arr: any): string;
|
|
9
9
|
export function iosPropName(name: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globals.d.mts","sourceRoot":"","sources":["../../../../scripts/autogenHelpers/globals.mjs"],"names":[],"mappings":"AA0CA,6DAKC;AAED,4CAEC;AAED,6DAUC;AAED,8DAOC;AAED,sEAKC;AAED,
|
|
1
|
+
{"version":3,"file":"globals.d.mts","sourceRoot":"","sources":["../../../../scripts/autogenHelpers/globals.mjs"],"names":[],"mappings":"AA0CA,6DAKC;AAED,4CAEC;AAED,6DAUC;AAED,8DAOC;AAED,sEAKC;AAED,8lBA2CC;AAED,2DAKC;AAED,wDAEC;AAED,4CAWC;AAED,+FAMC;AAED,+CAEC;AAED,8DAKC;AAED,6DAeC;AAED,8DAeC;AAED,0TAmBC;AAED,4TAmBC;AAED,uJAsBC;AAED,iEAaC;AAED,6CAiBC;AAED,gEAqEC;AAED,8DAoDC;AAED,gEAQC;AAED,8CAKC;AA6BD,wDAWC;AAED,0DAMC;AAED,yDAUC;AAqED,yCASC;AAED,0DAMC;AAED,iEAUC;AAED,qEAUC;AAED,0EAwBC;AAED,4DAeC;AAED,sDAQC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export * from './RNMBXModule';
|
|
2
2
|
export { Camera, UserTrackingMode, type CameraPadding, type CameraAnimationMode, type CameraBounds, type CameraStop, } from './components/Camera';
|
|
3
3
|
export { Atmosphere } from './components/Atmosphere';
|
|
4
|
-
export {
|
|
4
|
+
export { Snow } from './components/Snow';
|
|
5
|
+
export { Rain } from './components/Rain';
|
|
6
|
+
export { default as MapView, type MapState, type ScreenPointPayload, } from './components/MapView';
|
|
5
7
|
export { default as Light } from './components/Light';
|
|
6
8
|
export { default as PointAnnotation } from './components/PointAnnotation';
|
|
7
9
|
export { default as Annotation } from './components/Annotation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mapbox.native.d.ts","sourceRoot":"","sources":["../../../src/Mapbox.native.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,UAAU,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,OAAO,
|
|
1
|
+
{"version":3,"file":"Mapbox.native.d.ts","sourceRoot":"","sources":["../../../src/Mapbox.native.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,KAAK,aAAa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BAAsB,CAAC;AAG9B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,sBAAsB,MAAM,yCAAyC,CAAC;AAC7E,OAAO,8BAA8B,MAAM,iDAAiD,CAAC;AAG7F,yFAAyF;AAEzF,eAAO,MAAM,gBAAgB,sBAG5B,CAAC;AAEF,oGAAoG;AACpG,eAAO,MAAM,kBAAkB,oIAAe,CAAC;AAG/C,oBAAY,QAAQ;IAClB,MAAM,uCAAuC;IAC7C,IAAI,oCAAoC;IACxC,KAAK,qCAAqC;IAC1C,QAAQ,wCAAwC;IAChD,SAAS,wCAAwC;IACjD,eAAe,iDAAiD;IAChE,UAAU,qDAAqD;IAC/D,YAAY,uDAAuD;CACpE;AAED,uEAAuE;AACvE,eAAO,MAAM,iBAAiB,yBAAmB,CAAC;AAElD,oBAAoB;AAEpB,eAAO,MAAM,cAAc;;;CAG1B,CAAC"}
|
|
@@ -107,7 +107,7 @@ declare class Callout extends React.PureComponent<Props> {
|
|
|
107
107
|
rowGap?: number | string;
|
|
108
108
|
columnGap?: number | string;
|
|
109
109
|
gap?: number | string;
|
|
110
|
-
}>, "filter" | "transform" | "pointerEvents" | "backgroundColor" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transformOrigin" | "backfaceVisibility" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "
|
|
110
|
+
}>, "filter" | "transform" | "pointerEvents" | "backgroundColor" | "opacity" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transformOrigin" | "backfaceVisibility" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "elevation" | "cursor" | "boxShadow" | "mixBlendMode" | "experimental_backgroundImage" | "isolation"> & Omit<Readonly<Omit<Readonly<{
|
|
111
111
|
shadowColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
112
112
|
shadowOffset?: Readonly<{
|
|
113
113
|
width?: number;
|
|
@@ -115,7 +115,7 @@ declare class Callout extends React.PureComponent<Props> {
|
|
|
115
115
|
}>;
|
|
116
116
|
shadowOpacity?: number;
|
|
117
117
|
shadowRadius?: number;
|
|
118
|
-
}>, never> & Omit<Readonly<{}>, never>>, "filter" | "transform" | "pointerEvents" | "backgroundColor" | "transformOrigin" | "backfaceVisibility" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "
|
|
118
|
+
}>, never> & Omit<Readonly<{}>, never>>, "filter" | "transform" | "pointerEvents" | "backgroundColor" | "opacity" | "transformOrigin" | "backfaceVisibility" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "elevation" | "cursor" | "boxShadow" | "mixBlendMode" | "experimental_backgroundImage" | "isolation"> & Omit<Readonly<{
|
|
119
119
|
transform?: ReadonlyArray<Readonly<import("react-native/types_generated/Libraries/StyleSheet/private/_TransformStyle").MaximumOneOf<import("react-native/types_generated/Libraries/StyleSheet/private/_TransformStyle").MergeUnion<{
|
|
120
120
|
readonly perspective: number | Animated.Node;
|
|
121
121
|
} | {
|
|
@@ -146,7 +146,7 @@ declare class Callout extends React.PureComponent<Props> {
|
|
|
146
146
|
readonly matrix: ReadonlyArray<number | Animated.Node> | Animated.Node;
|
|
147
147
|
}>>>> | string;
|
|
148
148
|
transformOrigin?: [string | number, string | number, string | number] | string;
|
|
149
|
-
}>, "filter" | "pointerEvents" | "backgroundColor" | "backfaceVisibility" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "
|
|
149
|
+
}>, "filter" | "pointerEvents" | "backgroundColor" | "opacity" | "backfaceVisibility" | "borderColor" | "borderCurve" | "borderBottomColor" | "borderEndColor" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderTopColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderRadius" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderStyle" | "borderWidth" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "elevation" | "cursor" | "boxShadow" | "mixBlendMode" | "experimental_backgroundImage" | "isolation"> & Omit<Readonly<{
|
|
150
150
|
backfaceVisibility?: "visible" | "hidden";
|
|
151
151
|
backgroundColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
152
152
|
borderColor?: import("react-native/types_generated/Libraries/StyleSheet/StyleSheetTypes").____ColorValue_Internal;
|
|
@@ -45,9 +45,9 @@ export type CameraStop = {
|
|
|
45
45
|
/** The corners of a box around which the map should bound. Contains padding props for backwards
|
|
46
46
|
* compatibility; the root `padding` prop should be used instead. */
|
|
47
47
|
bounds?: CameraBoundsWithPadding;
|
|
48
|
-
/**
|
|
48
|
+
/** Heading (bearing, orientation) of the map, measured in degrees clockwise from true north. */
|
|
49
49
|
heading?: number;
|
|
50
|
-
/** The pitch
|
|
50
|
+
/** The pitch toward the horizon measured in degrees, with 0 degrees resulting in a top-down view for a two-dimensional map. */
|
|
51
51
|
pitch?: number;
|
|
52
52
|
/** The zoom level of the map. */
|
|
53
53
|
zoomLevel?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Camera.d.ts","sourceRoot":"","sources":["../../../../src/components/Camera.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AASlD,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,iBAAiB,YAAY;IAC7B,gBAAgB,WAAW;CAC5B;AAED,MAAM,MAAM,8BAA8B,GAAG,CAC3C,KAAK,EAAE,aAAa,CAClB,wBAAwB,EACxB;IACE,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACzC,CACF,KACE,IAAI,CAAC;AA8DV,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,WAAW,KAAK,IAAI,CAAC;IACtD,SAAS,EAAE,CACT,EAAE,EAAE,QAAQ,EACZ,EAAE,EAAE,QAAQ,EACZ,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,EACjC,iBAAiB,CAAC,EAAE,MAAM,KACvB,IAAI,CAAC;IACV,KAAK,EAAE,CAAC,gBAAgB,EAAE,QAAQ,EAAE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
|
20
20
|
pitch: number;
|
|
21
21
|
};
|
|
22
|
+
export type ScreenPointPayload = {
|
|
23
|
+
readonly screenPointX: number;
|
|
24
|
+
readonly screenPointY: number;
|
|
25
|
+
};
|
|
22
26
|
export type GestureSettings = {
|
|
23
27
|
/**
|
|
24
28
|
* Whether double tapping the map with one touch results in a zoom-in animation.
|
|
@@ -234,13 +238,13 @@ type Props = ViewProps & {
|
|
|
234
238
|
*/
|
|
235
239
|
gestureSettings?: GestureSettings;
|
|
236
240
|
/**
|
|
237
|
-
* Map press listener,
|
|
241
|
+
* Map press listener, called when a user presses the map.
|
|
238
242
|
*/
|
|
239
|
-
onPress?: (feature: GeoJSON.Feature) => void;
|
|
243
|
+
onPress?: (feature: GeoJSON.Feature<GeoJSON.Point, ScreenPointPayload>) => void;
|
|
240
244
|
/**
|
|
241
|
-
* Map long press listener,
|
|
245
|
+
* Map long press listener, called when a user long presses the map.
|
|
242
246
|
*/
|
|
243
|
-
onLongPress?: (feature: GeoJSON.Feature) => void;
|
|
247
|
+
onLongPress?: (feature: GeoJSON.Feature<GeoJSON.Point, ScreenPointPayload>) => void;
|
|
244
248
|
/**
|
|
245
249
|
* <v10 only
|
|
246
250
|
*
|
|
@@ -343,7 +347,7 @@ type Props = ViewProps & {
|
|
|
343
347
|
_nativeImpl?: NativeMapViewActual;
|
|
344
348
|
};
|
|
345
349
|
declare const CallbablePropKeys: readonly ["onRegionWillChange", "onRegionIsChanging", "onRegionDidChange", "onUserLocationUpdate", "onWillStartLoadingMap", "onMapLoadingError", "onDidFinishLoadingMap", "onDidFailLoadingMap", "onWillStartRenderingFrame", "onDidFinishRenderingFrame", "onDidFinishRenderingFrameFully", "onWillStartRenderingMap", "onDidFinishRenderingMap", "onDidFinishRenderingMapFully", "onDidFinishLoadingStyle", "onMapIdle", "onCameraChanged"];
|
|
346
|
-
type CallbablePropKeys =
|
|
350
|
+
type CallbablePropKeys = typeof CallbablePropKeys[number];
|
|
347
351
|
type Debounced<F> = F & {
|
|
348
352
|
clear(): void;
|
|
349
353
|
flush(): void;
|
|
@@ -416,44 +420,48 @@ declare class MapView extends MapView_base {
|
|
|
416
420
|
componentDidUpdate(prevProps: Props): void;
|
|
417
421
|
_setHandledMapChangedEvents(props: Props): void;
|
|
418
422
|
/**
|
|
419
|
-
* Converts a geographic coordinate to a
|
|
423
|
+
* Converts a geographic coordinate to a screen coordinate relative to the map view.
|
|
420
424
|
*
|
|
421
425
|
* @example
|
|
422
|
-
* const
|
|
426
|
+
* const longitude = 144.949901;
|
|
427
|
+
* const latitude = -37.817070;
|
|
428
|
+
* const [x, y] = await this._map.getPointInView([longitude, latitude]);
|
|
423
429
|
*
|
|
424
|
-
* @param {
|
|
425
|
-
* @return {
|
|
430
|
+
* @param {Position} coordinate - A point expressed in the map view's coordinate system `[longitude, latitude]`.
|
|
431
|
+
* @return {Position} A point expressed in screen coordinates relative to the map view `[x, y]`.
|
|
426
432
|
*/
|
|
427
433
|
getPointInView(coordinate: Position): Promise<Position>;
|
|
428
434
|
/**
|
|
429
|
-
* Converts a
|
|
435
|
+
* Converts a screen coordinate relative to the map view to a geographic coordinate.
|
|
430
436
|
*
|
|
431
437
|
* @example
|
|
432
|
-
* const
|
|
438
|
+
* const x = 100; const y = 100;
|
|
439
|
+
* const [longitude, latitude] = await this._map.getCoordinateFromView([x, y]);
|
|
433
440
|
*
|
|
434
|
-
* @param {
|
|
435
|
-
* @return {
|
|
441
|
+
* @param {Position} point - A point expressed in screen coordinates relative to the map view `[x, y]`.
|
|
442
|
+
* @return {Position} A point expressed in the map view's coordinate system `[longitude, latitude]`.
|
|
436
443
|
*/
|
|
437
444
|
getCoordinateFromView(point: Position): Promise<Position>;
|
|
438
445
|
/**
|
|
439
|
-
* The coordinate bounds
|
|
446
|
+
* The coordinate bounds of the map viewport.
|
|
440
447
|
*
|
|
441
448
|
* @example
|
|
442
|
-
* const
|
|
449
|
+
* const [[rightLon, topLat], [leftLon, bottomLat]] = await this._map.getVisibleBounds();
|
|
443
450
|
*
|
|
444
|
-
* @return {
|
|
451
|
+
* @return {[Position, Position]} The geographic coordinate bounds of the map viewport `[[rightLon, topLat], [leftLon, bottomLat]]`.
|
|
445
452
|
*/
|
|
446
453
|
getVisibleBounds(): Promise<[Position, Position]>;
|
|
447
454
|
/**
|
|
448
455
|
* Returns an array of rendered map features that intersect with a given point.
|
|
449
456
|
*
|
|
450
457
|
* @example
|
|
451
|
-
*
|
|
458
|
+
* const x = 30; const y = 40;
|
|
459
|
+
* this._map.queryRenderedFeaturesAtPoint([x, y], ['==', 'type', 'Point'], ['id1', 'id2'])
|
|
452
460
|
*
|
|
453
|
-
* @param {
|
|
454
|
-
* @param {
|
|
455
|
-
* @param {
|
|
456
|
-
* @return {FeatureCollection}
|
|
461
|
+
* @param {Position} coordinate - A point expressed in the map view’s coordinate system `[x, y]`;
|
|
462
|
+
* @param {FilterExpression | []} filter - A set of strings that correspond to the names of layers defined in the current style. Only the features contained in these layers are included in the returned array.
|
|
463
|
+
* @param {string[]} layerIDs - A array of layer IDs by which to filter the features.
|
|
464
|
+
* @return {FeatureCollection} A GeoJSON feature collection containing the query results.
|
|
457
465
|
*/
|
|
458
466
|
queryRenderedFeaturesAtPoint(coordinate: Position, filter?: FilterExpression | [], layerIDs?: string[]): Promise<GeoJSON.FeatureCollection | undefined>;
|
|
459
467
|
/**
|
|
@@ -462,12 +470,14 @@ declare class MapView extends MapView_base {
|
|
|
462
470
|
* passing an empty array will query the entire visible bounds of the map.
|
|
463
471
|
*
|
|
464
472
|
* @example
|
|
465
|
-
*
|
|
473
|
+
* const left = 40; const top = 30;
|
|
474
|
+
* const right = 10; const bottom = 20;
|
|
475
|
+
* this._map.queryRenderedFeaturesInRect([top, left, bottom, right], ['==', 'type', 'Point'], ['id1', 'id2'])
|
|
466
476
|
*
|
|
467
|
-
* @param {
|
|
468
|
-
* @param {
|
|
469
|
-
* @param {
|
|
470
|
-
* @return {FeatureCollection}
|
|
477
|
+
* @param {BBox | []} bbox - A rectangle expressed in density-independent screen coordinates relative to the map view `[top, left, bottom, right]` or `[minY, minX, maxY, maxX]` (not geographic coordinates). An empty array queries the visible map area.
|
|
478
|
+
* @param {FilterExpression} filter - An array of strings that correspond to the names of layers defined in the current style. Only the features contained in these layers are included in the returned array.
|
|
479
|
+
* @param {string[] | null} layerIDs - A array of layer IDs by which to filter the features.
|
|
480
|
+
* @return {FeatureCollection} A GeoJSON feature collection containing the query results.
|
|
471
481
|
*/
|
|
472
482
|
queryRenderedFeaturesInRect(bbox: BBox | [], filter?: FilterExpression | [], layerIDs?: string[] | null): Promise<GeoJSON.FeatureCollection | undefined>;
|
|
473
483
|
/**
|
|
@@ -477,9 +487,9 @@ declare class MapView extends MapView_base {
|
|
|
477
487
|
* this._map.querySourceFeatures('your-source-id', [], ['your-source-layer'])
|
|
478
488
|
*
|
|
479
489
|
* @param {String} sourceId - Style source identifier used to query for source features.
|
|
480
|
-
* @param {
|
|
481
|
-
* @param {
|
|
482
|
-
* @return {FeatureCollection}
|
|
490
|
+
* @param {FilterExpression | []} filter - A filter to limit query results.
|
|
491
|
+
* @param {string[]} sourceLayerIDs - The name of the source layers to query. For vector tile sources, this parameter is required. For GeoJSON sources, it is ignored.
|
|
492
|
+
* @return {FeatureCollection} A GeoJSON feature collection.
|
|
483
493
|
*/
|
|
484
494
|
querySourceFeatures(sourceId: string, filter?: FilterExpression | [], sourceLayerIDs?: string[]): Promise<GeoJSON.FeatureCollection>;
|
|
485
495
|
/**
|
|
@@ -489,9 +499,11 @@ declare class MapView extends MapView_base {
|
|
|
489
499
|
setCamera(): void;
|
|
490
500
|
_runNative<ReturnType>(methodName: string, args?: NativeArg[]): Promise<ReturnType>;
|
|
491
501
|
/**
|
|
492
|
-
* Takes snapshot of map with current tiles and returns a
|
|
493
|
-
*
|
|
494
|
-
*
|
|
502
|
+
* Takes snapshot of map with current tiles and returns a Base64-encoded PNG image,
|
|
503
|
+
* or an file-system URI to a temporary PNG file if `writeToDisk` is `true`.
|
|
504
|
+
*
|
|
505
|
+
* @param {boolean} writeToDisk If `true`, creates a temporary PNG file and returns a file-system URI, otherwise returns a Base64-encoded PNG image. (Defaults to `false`)
|
|
506
|
+
* @return {string} A a Base64-encoded PNG image or a file-system URI to a temporary PNG file.
|
|
495
507
|
*/
|
|
496
508
|
takeSnap(writeToDisk?: boolean): Promise<string>;
|
|
497
509
|
/**
|
|
@@ -500,16 +512,16 @@ declare class MapView extends MapView_base {
|
|
|
500
512
|
* @example
|
|
501
513
|
* const zoom = await this._map.getZoom();
|
|
502
514
|
*
|
|
503
|
-
* @return {
|
|
515
|
+
* @return {number} The current zoom of the map view.
|
|
504
516
|
*/
|
|
505
517
|
getZoom(): Promise<number>;
|
|
506
518
|
/**
|
|
507
|
-
* Returns the map's
|
|
519
|
+
* Returns the map's center point expressed as geographic coordinates `[longitude, latitude]`.
|
|
508
520
|
*
|
|
509
521
|
* @example
|
|
510
522
|
* const center = await this._map.getCenter();
|
|
511
523
|
*
|
|
512
|
-
* @return {
|
|
524
|
+
* @return {Position} The map's center point expressed as geographic coordinates `[longitude, latitude]`.
|
|
513
525
|
*/
|
|
514
526
|
getCenter(): Promise<Position>;
|
|
515
527
|
/**
|
|
@@ -526,8 +538,8 @@ declare class MapView extends MapView_base {
|
|
|
526
538
|
* The elevation is returned in meters relative to mean sea-level.
|
|
527
539
|
* Returns null if terrain is disabled or if terrain data for the location hasn't been loaded yet.
|
|
528
540
|
*
|
|
529
|
-
* @param {
|
|
530
|
-
* @return {
|
|
541
|
+
* @param {Position} coordinate - The geographic coordinates `[longitude, latitude]` at which to query elevation.
|
|
542
|
+
* @return {number} Elevation in meters relative to mean sea-level.
|
|
531
543
|
*/
|
|
532
544
|
queryTerrainElevation(coordinate: Position): Promise<number>;
|
|
533
545
|
/**
|
|
@@ -537,8 +549,8 @@ declare class MapView extends MapView_base {
|
|
|
537
549
|
* await this._map.setSourceVisibility(false, 'composite', 'building')
|
|
538
550
|
*
|
|
539
551
|
* @param {boolean} visible - Visibility of the layers
|
|
540
|
-
* @param {
|
|
541
|
-
* @param {
|
|
552
|
+
* @param {string} sourceId - Target source identifier (e.g. 'composite')
|
|
553
|
+
* @param {string | null} sourceLayerId - Target source-layer identifier (e.g. 'building'). If `null`, the change affects all layers in the target source.
|
|
542
554
|
*/
|
|
543
555
|
setSourceVisibility(visible: boolean, sourceId: string, sourceLayerId?: string | null): void;
|
|
544
556
|
/**
|
|
@@ -578,10 +590,10 @@ declare class MapView extends MapView_base {
|
|
|
578
590
|
removeFeatureState(featureId: string, stateKey: string | null, sourceId: string, sourceLayerId?: string | null): Promise<void>;
|
|
579
591
|
_decodePayload<T>(payload: T | string): T;
|
|
580
592
|
_onPress(e: NativeSyntheticEvent<{
|
|
581
|
-
payload: GeoJSON.Feature | string;
|
|
593
|
+
payload: GeoJSON.Feature<GeoJSON.Point, ScreenPointPayload> | string;
|
|
582
594
|
}>): void;
|
|
583
595
|
_onLongPress(e: NativeSyntheticEvent<{
|
|
584
|
-
payload: GeoJSON.Feature | string;
|
|
596
|
+
payload: GeoJSON.Feature<GeoJSON.Point, ScreenPointPayload> | string;
|
|
585
597
|
}>): void;
|
|
586
598
|
_onRegionWillChange(payload: GeoJSON.Feature<GeoJSON.Point, RegionPayload & {
|
|
587
599
|
isAnimatingFromUserInteraction: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapView.d.ts","sourceRoot":"","sources":["../../../../src/components/MapView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAIL,SAAS,EACT,oBAAoB,EACpB,aAAa,EAEb,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAGtB,OAAsB,EACpB,KAAK,mBAAmB,EACzB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,mBAAmB,EACzB,MAAM,UAAU,CAAC;AAElB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO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I5E,eAAe,OAAO,CAAC"}
|
|
@@ -10,25 +10,24 @@ type Props = ViewProps & {
|
|
|
10
10
|
* Any coordinate between (0, 0) and (1, 1), where (0, 0) is the top-left corner of
|
|
11
11
|
* the view, and (1, 1) is the bottom-right corner. Defaults to the center at (0.5, 0.5).
|
|
12
12
|
*/
|
|
13
|
-
anchor
|
|
13
|
+
anchor?: {
|
|
14
14
|
x: number;
|
|
15
15
|
y: number;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
18
|
-
* @v10
|
|
19
|
-
*
|
|
20
18
|
* Whether or not nearby markers on the map should all be displayed. If false, adjacent
|
|
21
19
|
* markers will 'collapse' and only one will be shown. Defaults to false.
|
|
22
20
|
*/
|
|
23
|
-
allowOverlap
|
|
21
|
+
allowOverlap?: boolean;
|
|
24
22
|
/**
|
|
25
23
|
* Whether or not nearby markers on the map should be hidden if close to a
|
|
26
24
|
* UserLocation puck. Defaults to false.
|
|
27
25
|
*/
|
|
28
|
-
allowOverlapWithPuck
|
|
29
|
-
isSelected
|
|
26
|
+
allowOverlapWithPuck?: boolean;
|
|
27
|
+
isSelected?: boolean;
|
|
30
28
|
/**
|
|
31
|
-
* One or more valid React Native views.
|
|
29
|
+
* One or more valid React Native views. You can use Pressable, TouchableOpacity,
|
|
30
|
+
* etc. directly as children — onPress and touch feedback work correctly.
|
|
32
31
|
*/
|
|
33
32
|
children: React.ReactElement;
|
|
34
33
|
};
|
|
@@ -42,16 +41,10 @@ type Props = ViewProps & {
|
|
|
42
41
|
* This is implemented with view annotations on [Android](https://docs.mapbox.com/android/maps/guides/annotations/view-annotations/)
|
|
43
42
|
* and [iOS](https://docs.mapbox.com/ios/maps/guides/annotations/view-annotations).
|
|
44
43
|
*
|
|
45
|
-
* This component has no dedicated `onPress` method. Instead,
|
|
46
|
-
* with the React views passed in as `children
|
|
44
|
+
* This component has no dedicated `onPress` method. Instead, handle gestures
|
|
45
|
+
* with the React views passed in as `children` — Pressable, TouchableOpacity,
|
|
46
|
+
* etc. all work including their visual feedback (opacity, scale, etc.).
|
|
47
47
|
*/
|
|
48
|
-
declare
|
|
49
|
-
static defaultProps: Partial<Props>;
|
|
50
|
-
static lastId: number;
|
|
51
|
-
__idForPointAnnotation?: string;
|
|
52
|
-
_idForPointAnnotation(): string;
|
|
53
|
-
_getCoordinate(coordinate: Position): string | undefined;
|
|
54
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
}
|
|
48
|
+
declare const MarkerView: ({ anchor, allowOverlap, allowOverlapWithPuck, isSelected, coordinate, style, children, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
56
49
|
export default MarkerView;
|
|
57
50
|
//# sourceMappingURL=MarkerView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerView.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkerView.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"MarkerView.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkerView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAOlD,KAAK,KAAK,GAAG,SAAS,GAAG;IACvB;;OAEG;IACH,UAAU,EAAE,QAAQ,CAAC;IAErB;;;OAGG;IACH,MAAM,CAAC,EAAE;QACP,CAAC,EAAE,MAAM,CAAC;QACV,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;IAEF;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,UAAU,GAAI,0FAQjB,KAAK,4CAwFP,CAAC;AASF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { RainLayerStyleProps } from '../utils/MapboxStyles';
|
|
2
|
+
import type { BaseProps } from '../types/BaseProps';
|
|
3
|
+
type Props = BaseProps & {
|
|
4
|
+
/** Rain particle effect style properties.
|
|
5
|
+
*
|
|
6
|
+
* @note The default `color` and `vignetteColor` values use `measure-light("brightness")`
|
|
7
|
+
* expressions that are only available in Mapbox Standard-based styles
|
|
8
|
+
* (`mapbox://styles/mapbox/standard`, `mapbox://styles/mapbox/standard-satellite`).
|
|
9
|
+
* When using legacy or custom styles, set `color` and `vignetteColor` explicitly to
|
|
10
|
+
* avoid "Brightness is unavailable in the current evaluation context" warnings and
|
|
11
|
+
* invisible rain. For example: `color="#a8adbc" vignetteColor="#464646"`.
|
|
12
|
+
*/
|
|
13
|
+
style?: RainLayerStyleProps;
|
|
14
|
+
};
|
|
15
|
+
export declare const Rain: import("react").MemoExoticComponent<(props: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=Rain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rain.d.ts","sourceRoot":"","sources":["../../../../src/components/Rain.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,KAAK,KAAK,GAAG,SAAS,GAAG;IACvB;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,IAAI,8CAAgB,KAAK,6CAUpC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SnowLayerStyleProps } from '../utils/MapboxStyles';
|
|
2
|
+
import type { BaseProps } from '../types/BaseProps';
|
|
3
|
+
type Props = BaseProps & {
|
|
4
|
+
style?: SnowLayerStyleProps;
|
|
5
|
+
};
|
|
6
|
+
export declare const Snow: import("react").MemoExoticComponent<(props: Props) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=Snow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snow.d.ts","sourceRoot":"","sources":["../../../../src/components/Snow.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,KAAK,KAAK,GAAG,SAAS,GAAG;IACvB,KAAK,CAAC,EAAE,mBAAmB,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,IAAI,8CAAgB,KAAK,6CAUpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"offlineManager.d.ts","sourceRoot":"","sources":["../../../../../src/modules/offline/offlineManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AAItB,OAAO,EACL,OAAO,IAAI,wBAAwB,EACnC,KAAK,4BAA4B,GAClC,MAAM,4BAA4B,CAAC;AACpC,OAAiC,EAC/B,KAAK,4BAA4B,EAClC,MAAM,4BAA4B,CAAC;AACpC,OAAO,WAAW,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB,iEAErC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,qBAAqB,EAAE,MAAM,CAAC;I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ClC,aAAa,CAAC,EAAE,aAAa,GAC5B,OAAO,CAAC,IAAI,CAAC;IAmChB;;;;;;;;;OASG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI;IAmB7B,WAAW,CAAC,SAAS,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAgBxD,WAAW,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAgBnC,QAAQ,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAW7B,aAAa,CACX,IAAI,EAAE,MAAM,EACZ,WAAW,EACP,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,GAChC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,GAChC,OAAO;CAKX;AAED,QAAA,MAAM,cAAc,gBAAuB,CAAC;AAC5C,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import { DirectEventHandler, Float } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
type OnAnnotationPositionEvent = {
|
|
4
|
+
x: Float;
|
|
5
|
+
y: Float;
|
|
6
|
+
};
|
|
2
7
|
export interface NativeProps extends ViewProps {
|
|
8
|
+
onAnnotationPosition?: DirectEventHandler<OnAnnotationPositionEvent>;
|
|
3
9
|
}
|
|
4
10
|
declare const _default: HostComponent<NativeProps>;
|
|
5
11
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RNMBXMarkerViewContentNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/specs/RNMBXMarkerViewContentNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,MAAM,WAAW,WAAY,SAAQ,SAAS;
|
|
1
|
+
{"version":3,"file":"RNMBXMarkerViewContentNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/specs/RNMBXMarkerViewContentNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,OAAO,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAEtF,KAAK,yBAAyB,GAAG;IAC/B,CAAC,EAAE,KAAK,CAAC;IACT,CAAC,EAAE,KAAK,CAAC;CACV,CAAC;AAEF,MAAM,WAAW,WAAY,SAAQ,SAAS;IAI5C,oBAAoB,CAAC,EAAE,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;CACtE;wBAKI,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { UnsafeMixed } from './codegenUtils';
|
|
3
|
+
export interface NativeProps extends ViewProps {
|
|
4
|
+
reactStyle: UnsafeMixed<any>;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: HostComponent<NativeProps>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=RNMBXRainNativeComponent.d.ts.map
|