@mapsindoors/react-native-maps-indoors-mapbox 2.10.0 → 2.12.0
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/Package.swift +87 -0
- package/README.md +127 -1
- package/android/build.gradle +2 -2
- package/android/src/main/java/com/mapsindoorsrn/core/MPDisplayRuleModule.java +24 -0
- package/index.ts +4 -233
- package/ios/core/MPDisplayRuleBridge.m +9 -0
- package/ios/core/MPDisplayRuleModule.swift +18 -0
- package/ios/core/MapsIndoorsModule.swift +12 -0
- package/ios/spm-bridges/include/MapsIndoorsBridges.h +1 -0
- package/package.json +8 -3
- package/react-native-maps-indoors-mapbox.podspec +9 -12
- package/specs/NativeMPDisplayRuleModule.ts +2 -0
- package/src/core/MPBuilding.ts +3 -2
- package/src/core/MPCameraEvent.ts +1 -1
- package/src/core/MPCameraEventListener.ts +1 -1
- package/src/core/MPCategory.ts +1 -1
- package/src/core/MPDirectionsRenderer.ts +1 -1
- package/src/core/MPDirectionsRendererOptions.ts +1 -1
- package/src/core/MPDirectionsService.ts +1 -1
- package/src/core/MPDisplayRule.ts +26 -1
- package/src/core/MPEntity.ts +1 -1
- package/src/core/MPEntityInfo.ts +1 -1
- package/src/core/MPFilter.ts +1 -1
- package/src/core/MPFilterBehavior.ts +1 -1
- package/src/core/MPFloor.ts +26 -1
- package/src/core/MPFloorSelectorInterface.ts +1 -1
- package/src/core/MPHighlightBehavior.ts +1 -1
- package/src/core/MPLocation.ts +1 -1
- package/src/core/MPMapConfig.ts +1 -1
- package/src/core/MPMultiPolygon.ts +1 -1
- package/src/core/MPPolygon.ts +1 -1
- package/src/core/MPPositionProviderInterface.ts +1 -1
- package/src/core/MPPositionResultInterface.ts +1 -1
- package/src/core/MPPropertyData.ts +1 -1
- package/src/core/MPQuery.ts +1 -1
- package/src/core/MPRoute.ts +1 -1
- package/src/core/MPRouteCoordinate.ts +1 -1
- package/src/core/MPRouteLeg.ts +1 -1
- package/src/core/MPRouteStep.ts +1 -1
- package/src/core/MPSelectionBehavior.ts +1 -1
- package/src/core/MPSettings3D.ts +1 -1
- package/src/core/MPSolution.ts +1 -1
- package/src/core/MPSolutionConfig.ts +43 -1
- package/src/core/MPSolutionDisplayRule.ts +1 -1
- package/src/core/MPUserRoleCollection.ts +1 -1
- package/src/core/MPUtils.ts +1 -1
- package/src/core/MPVenue.ts +1 -1
- package/src/core/MapControl.ts +1 -1
- package/src/core/MapsIndoors.ts +13 -15
- package/src/core/OnBuildingFoundAtCameraTargetListener.ts +1 -1
- package/src/core/OnFloorSelectionChangedListener.ts +1 -1
- package/src/core/OnLegSelectedListener.ts +1 -1
- package/src/core/OnLocationSelectedListener.ts +1 -1
- package/src/core/OnMapClickListener.ts +1 -1
- package/src/core/OnMarkerClickListener.ts +1 -1
- package/src/core/OnMarkerInfoWindowClickListener.ts +1 -1
- package/src/core/OnPositionUpdateListener.ts +1 -1
- package/src/core/OnVenueFoundAtCameraTargetListener.ts +1 -1
- package/src/core/index.ts +237 -0
- package/ios/.swift-format +0 -79
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
// Public API of the shared core. Each map package re-exports this file from its own index.ts.
|
|
2
|
+
import MPGeometry from './MPGeometry';
|
|
3
|
+
import MPPoint from './MPPoint';
|
|
4
|
+
import MPEntity from './MPEntity';
|
|
5
|
+
import MPVenue from './MPVenue';
|
|
6
|
+
import MPFloor from './MPFloor';
|
|
7
|
+
import MPQuery from './MPQuery';
|
|
8
|
+
import MPError from './MPError';
|
|
9
|
+
import MPFilter from './MPFilter';
|
|
10
|
+
import MPBounds from './MPBounds';
|
|
11
|
+
import { normalizeLanguageTag, resolveLanguageTag } from './MPLanguageTag';
|
|
12
|
+
import { MPLocationType } from './MPLocationType';
|
|
13
|
+
import { MPLocationPropertyNames } from './MPLocationPropertyNames';
|
|
14
|
+
import { MPLabelType } from './MPLabelType';
|
|
15
|
+
import { MPIconPlacement } from './MPIconPlacement';
|
|
16
|
+
import { MPBadgePosition } from './MPBadgePosition';
|
|
17
|
+
import MPPolygon from './MPPolygon';
|
|
18
|
+
import MPMapStyle from './MPMapStyle';
|
|
19
|
+
import MPBuilding from './MPBuilding';
|
|
20
|
+
import MPLocation from './MPLocation';
|
|
21
|
+
import MPCategory from './MPCategory';
|
|
22
|
+
import MapControl from './MapControl';
|
|
23
|
+
import MPIconSize from './MPIconSize';
|
|
24
|
+
import MPUserRole from './MPUserRole';
|
|
25
|
+
import MPSolution from './MPSolution';
|
|
26
|
+
import MapsIndoors from './MapsIndoors';
|
|
27
|
+
import MPVenueInfo from './MPVenueInfo';
|
|
28
|
+
import MPDataField from './MPDataField';
|
|
29
|
+
import MPMapConfig from './MPMapConfig';
|
|
30
|
+
import MPSettings3D from './MPSettings3D';
|
|
31
|
+
import MPDisplayRule from './MPDisplayRule';
|
|
32
|
+
import MPCameraEvent from './MPCameraEvent';
|
|
33
|
+
import MPCameraUpdate from './MPCameraUpdate';
|
|
34
|
+
import MPMultiPolygon from './MPMultiPolygon';
|
|
35
|
+
import MPRoute from './MPRoute';
|
|
36
|
+
import MPRouteCoordinate from './MPRouteCoordinate';
|
|
37
|
+
import MPRouteLeg from './MPRouteLeg';
|
|
38
|
+
import MPRouteStep from './MPRouteStep';
|
|
39
|
+
import MPRouteProperty from './MPRouteProperty';
|
|
40
|
+
import MPDirectionsRenderer from './MPDirectionsRenderer';
|
|
41
|
+
import MPDirectionsRendererOptions from './MPDirectionsRendererOptions';
|
|
42
|
+
import MPRouteMarkerDisplayRule from './MPRouteMarkerDisplayRule';
|
|
43
|
+
import MPLegBoundaryIcons from './MPLegBoundaryIcons';
|
|
44
|
+
import MPDirectionsService from './MPDirectionsService';
|
|
45
|
+
import { MPCameraViewFitMode } from './MPCameraViewFitMode';
|
|
46
|
+
import { MPStrokeStyle } from './MPStrokeStyle';
|
|
47
|
+
import { MPRouteAnimationType } from './MPRouteAnimationType';
|
|
48
|
+
import { MPRouteStampType } from './MPRouteStampType';
|
|
49
|
+
import { MPRouteArrowStyle } from './MPRouteArrowStyle';
|
|
50
|
+
import MPCameraPosition from './MPCameraPosition';
|
|
51
|
+
import MPFilterBehavior from './MPFilterBehavior';
|
|
52
|
+
import MPHighlightBehavior from './MPHighlightBehavior';
|
|
53
|
+
import MPSolutionConfig from './MPSolutionConfig';
|
|
54
|
+
import { OnMapClickListener } from './OnMapClickListener';
|
|
55
|
+
import MPSelectionBehavior from './MPSelectionBehavior';
|
|
56
|
+
import { MPCollisionHandling } from './MPCollisionHandling';
|
|
57
|
+
import { MPSolutionDisplayRule } from './MPSolutionDisplayRule';
|
|
58
|
+
import MPCameraEventListener from './MPCameraEventListener';
|
|
59
|
+
import { OnFloorUpdateListener } from './OnFloorUpdateListener';
|
|
60
|
+
import { OnMarkerClickListener } from './OnMarkerClickListener';
|
|
61
|
+
import { OnPositionUpdateListener } from './OnPositionUpdateListener';
|
|
62
|
+
import { MPFloorSelectorInterface } from './MPFloorSelectorInterface';
|
|
63
|
+
import { MPPositionResultInterface } from './MPPositionResultInterface';
|
|
64
|
+
import { OnLocationSelectedListener } from './OnLocationSelectedListener';
|
|
65
|
+
import { MPPositionProviderInterface } from './MPPositionProviderInterface';
|
|
66
|
+
import { OnLiveLocationUpdateListener } from './OnLiveLocationUpdateListener';
|
|
67
|
+
import { OnMarkerInfoWindowClickListener } from './OnMarkerInfoWindowClickListener';
|
|
68
|
+
import { OnFloorSelectionChangedListener } from './OnFloorSelectionChangedListener';
|
|
69
|
+
import { OnVenueFoundAtCameraTargetListener } from './OnVenueFoundAtCameraTargetListener';
|
|
70
|
+
import { OnBuildingFoundAtCameraTargetListener } from './OnBuildingFoundAtCameraTargetListener';
|
|
71
|
+
import { OnLegSelectedListener } from './OnLegSelectedListener';
|
|
72
|
+
import { OnBaseMapCacheProgressListener } from './OnBaseMapCacheProgressListener';
|
|
73
|
+
import MPBuildingCollection from './MPBuildingCollection';
|
|
74
|
+
import MPVenueCollection from './MPVenueCollection';
|
|
75
|
+
import MPCategoryCollection from './MPCategoryCollection';
|
|
76
|
+
import MPUserRoleCollection from './MPUserRoleCollection';
|
|
77
|
+
import MPRouteStopIconConfig from './MPRouteStopIconConfig';
|
|
78
|
+
import MPLabelGraphic from './MPLabelGraphic';
|
|
79
|
+
import MPPOIType from './MPPOIType';
|
|
80
|
+
import { MPHighway } from './MPHighway';
|
|
81
|
+
import { MPFloorParams } from './MPFloor';
|
|
82
|
+
import { MPQueryParams } from './MPQuery';
|
|
83
|
+
import { MPRouteParams } from './MPRoute';
|
|
84
|
+
import { MPVenueParams } from './MPVenue';
|
|
85
|
+
import { MPPointParams } from './MPPoint';
|
|
86
|
+
import { MPBoundsParams } from './MPBounds';
|
|
87
|
+
import { MPFilterParams } from './MPFilter';
|
|
88
|
+
import { MPPolygonParams } from './MPPolygon';
|
|
89
|
+
import { MPBuildingParams } from './MPBuilding';
|
|
90
|
+
import { MPCategoryParams } from './MPCategory';
|
|
91
|
+
import { MPMapStyleParams } from './MPMapStyle';
|
|
92
|
+
import { MPRouteLegParams } from './MPRouteLeg';
|
|
93
|
+
import { MPSolutionParams } from './MPSolution';
|
|
94
|
+
import { MPUserRoleParams } from './MPUserRole';
|
|
95
|
+
import { MPDataFieldParams } from './MPDataField';
|
|
96
|
+
import { MPMapConfigParams } from './MPMapConfig';
|
|
97
|
+
import { MPRouteStepParams } from './MPRouteStep';
|
|
98
|
+
import { MPVenueInfoParams } from './MPVenueInfo';
|
|
99
|
+
import { MPMultiPolygonParams } from './MPMultiPolygon';
|
|
100
|
+
import { MPRoutePropertyParams } from './MPRouteProperty';
|
|
101
|
+
import { MPCameraPositionParams } from './MPCameraPosition';
|
|
102
|
+
import { MPFilterBehaviorParams } from './MPFilterBehavior';
|
|
103
|
+
import { MPSolutionConfigParams } from './MPSolutionConfig';
|
|
104
|
+
import { MPRouteCoordinateParams } from './MPRouteCoordinate';
|
|
105
|
+
import { MPHighlightBehaviorParams } from './MPHighlightBehavior';
|
|
106
|
+
import { RouteStopIconConfig } from './RouteStopIconConfig';
|
|
107
|
+
import { MPRouteStopIconConfigParams } from './MPRouteStopIconConfig';
|
|
108
|
+
import { MPDirectionsRendererOptionsParams } from './MPDirectionsRendererOptions';
|
|
109
|
+
import { MPRouteMarkerDisplayRuleParams } from './MPRouteMarkerDisplayRule';
|
|
110
|
+
import { MPLegBoundaryIconsParams } from './MPLegBoundaryIcons';
|
|
111
|
+
import { MPPOITypeParams } from './MPPOIType';
|
|
112
|
+
import { MPSelectionMode } from './MPSelectionMode';
|
|
113
|
+
import { MPFeatureType } from './MPFeatureTypes';
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
import MapView from './MapView';
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
export default MapsIndoors;
|
|
120
|
+
export {
|
|
121
|
+
MapControl,
|
|
122
|
+
MPBounds,
|
|
123
|
+
MPBuilding,
|
|
124
|
+
MPCameraEvent,
|
|
125
|
+
MPCameraPosition,
|
|
126
|
+
MPCameraUpdate,
|
|
127
|
+
MPCategory,
|
|
128
|
+
MPCollisionHandling,
|
|
129
|
+
MPDataField,
|
|
130
|
+
MPDisplayRule,
|
|
131
|
+
MPError,
|
|
132
|
+
MPFilter,
|
|
133
|
+
MPFilterBehavior,
|
|
134
|
+
MPHighlightBehavior,
|
|
135
|
+
MPSelectionBehavior,
|
|
136
|
+
MPFloor,
|
|
137
|
+
MPPoint,
|
|
138
|
+
MPGeometry,
|
|
139
|
+
MPIconSize,
|
|
140
|
+
MPLocation,
|
|
141
|
+
MPMapConfig,
|
|
142
|
+
MPMapStyle,
|
|
143
|
+
MPMultiPolygon,
|
|
144
|
+
MPPolygon,
|
|
145
|
+
MPQuery,
|
|
146
|
+
MPSettings3D,
|
|
147
|
+
MPSolution,
|
|
148
|
+
MPSolutionConfig,
|
|
149
|
+
MPSolutionDisplayRule,
|
|
150
|
+
MPUserRole,
|
|
151
|
+
MPVenue,
|
|
152
|
+
MPVenueInfo,
|
|
153
|
+
MPLocationType,
|
|
154
|
+
normalizeLanguageTag,
|
|
155
|
+
resolveLanguageTag,
|
|
156
|
+
MPLocationPropertyNames,
|
|
157
|
+
MPDirectionsRenderer,
|
|
158
|
+
MPDirectionsRendererOptions,
|
|
159
|
+
MPRouteMarkerDisplayRule,
|
|
160
|
+
MPLegBoundaryIcons,
|
|
161
|
+
MPDirectionsService,
|
|
162
|
+
MPRoute,
|
|
163
|
+
MPRouteCoordinate,
|
|
164
|
+
MPRouteLeg,
|
|
165
|
+
MPRouteProperty,
|
|
166
|
+
MPRouteStep,
|
|
167
|
+
MPCameraViewFitMode,
|
|
168
|
+
MPStrokeStyle,
|
|
169
|
+
MPRouteAnimationType,
|
|
170
|
+
MPRouteStampType,
|
|
171
|
+
MPRouteArrowStyle,
|
|
172
|
+
MPBuildingCollection,
|
|
173
|
+
MPVenueCollection,
|
|
174
|
+
MPCategoryCollection,
|
|
175
|
+
MPUserRoleCollection,
|
|
176
|
+
MPHighway,
|
|
177
|
+
MPBadgePosition,
|
|
178
|
+
MPIconPlacement,
|
|
179
|
+
MPLabelType,
|
|
180
|
+
MPRouteStopIconConfig,
|
|
181
|
+
MPSelectionMode,
|
|
182
|
+
MPFeatureType,
|
|
183
|
+
MPLabelGraphic,
|
|
184
|
+
MPPOIType,
|
|
185
|
+
MapView
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
export type {
|
|
189
|
+
MPFloorSelectorInterface,
|
|
190
|
+
MPPositionProviderInterface,
|
|
191
|
+
MPPositionResultInterface,
|
|
192
|
+
MPCameraEventListener,
|
|
193
|
+
OnMapClickListener,
|
|
194
|
+
OnPositionUpdateListener,
|
|
195
|
+
OnFloorUpdateListener,
|
|
196
|
+
OnFloorSelectionChangedListener,
|
|
197
|
+
OnLocationSelectedListener,
|
|
198
|
+
OnVenueFoundAtCameraTargetListener,
|
|
199
|
+
OnBuildingFoundAtCameraTargetListener,
|
|
200
|
+
OnMarkerClickListener,
|
|
201
|
+
OnMarkerInfoWindowClickListener,
|
|
202
|
+
OnLiveLocationUpdateListener,
|
|
203
|
+
OnLegSelectedListener,
|
|
204
|
+
OnBaseMapCacheProgressListener,
|
|
205
|
+
MPEntity,
|
|
206
|
+
MPFloorParams,
|
|
207
|
+
MPQueryParams,
|
|
208
|
+
MPRouteParams,
|
|
209
|
+
MPVenueParams,
|
|
210
|
+
MPPointParams,
|
|
211
|
+
MPBoundsParams,
|
|
212
|
+
MPFilterParams,
|
|
213
|
+
MPPolygonParams,
|
|
214
|
+
MPBuildingParams,
|
|
215
|
+
MPCategoryParams,
|
|
216
|
+
MPMapStyleParams,
|
|
217
|
+
MPRouteLegParams,
|
|
218
|
+
MPSolutionParams,
|
|
219
|
+
MPUserRoleParams,
|
|
220
|
+
MPDataFieldParams,
|
|
221
|
+
MPMapConfigParams,
|
|
222
|
+
MPRouteStepParams,
|
|
223
|
+
MPVenueInfoParams,
|
|
224
|
+
MPMultiPolygonParams,
|
|
225
|
+
MPRoutePropertyParams,
|
|
226
|
+
MPCameraPositionParams,
|
|
227
|
+
MPFilterBehaviorParams,
|
|
228
|
+
MPHighlightBehaviorParams,
|
|
229
|
+
MPSolutionConfigParams,
|
|
230
|
+
MPRouteCoordinateParams,
|
|
231
|
+
MPRouteStopIconConfigParams,
|
|
232
|
+
MPDirectionsRendererOptionsParams,
|
|
233
|
+
MPRouteMarkerDisplayRuleParams,
|
|
234
|
+
MPLegBoundaryIconsParams,
|
|
235
|
+
RouteStopIconConfig,
|
|
236
|
+
MPPOITypeParams
|
|
237
|
+
};
|
package/ios/.swift-format
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fileScopedDeclarationPrivacy" : {
|
|
3
|
-
"accessLevel" : "private"
|
|
4
|
-
},
|
|
5
|
-
"indentConditionalCompilationBlocks" : true,
|
|
6
|
-
"indentSwitchCaseLabels" : false,
|
|
7
|
-
"indentation" : {
|
|
8
|
-
"spaces" : 4
|
|
9
|
-
},
|
|
10
|
-
"lineBreakAroundMultilineExpressionChainComponents" : false,
|
|
11
|
-
"lineBreakBeforeControlFlowKeywords" : false,
|
|
12
|
-
"lineBreakBeforeEachArgument" : false,
|
|
13
|
-
"lineBreakBeforeEachGenericRequirement" : false,
|
|
14
|
-
"lineBreakBetweenDeclarationAttributes" : false,
|
|
15
|
-
"lineLength" : 1000,
|
|
16
|
-
"maximumBlankLines" : 1,
|
|
17
|
-
"multiElementCollectionTrailingCommas" : true,
|
|
18
|
-
"noAssignmentInExpressions" : {
|
|
19
|
-
"allowedFunctions" : [
|
|
20
|
-
"XCTAssertNoThrow"
|
|
21
|
-
]
|
|
22
|
-
},
|
|
23
|
-
"prioritizeKeepingFunctionOutputTogether" : false,
|
|
24
|
-
"reflowMultilineStringLiterals" : {
|
|
25
|
-
"never" : {
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"respectsExistingLineBreaks" : true,
|
|
30
|
-
"rules" : {
|
|
31
|
-
"AllPublicDeclarationsHaveDocumentation" : false,
|
|
32
|
-
"AlwaysUseLiteralForEmptyCollectionInit" : false,
|
|
33
|
-
"AlwaysUseLowerCamelCase" : true,
|
|
34
|
-
"AmbiguousTrailingClosureOverload" : true,
|
|
35
|
-
"AvoidRetroactiveConformances" : true,
|
|
36
|
-
"BeginDocumentationCommentWithOneLineSummary" : false,
|
|
37
|
-
"DoNotUseSemicolons" : true,
|
|
38
|
-
"DontRepeatTypeInStaticProperties" : true,
|
|
39
|
-
"FileScopedDeclarationPrivacy" : true,
|
|
40
|
-
"FullyIndirectEnum" : true,
|
|
41
|
-
"GroupNumericLiterals" : true,
|
|
42
|
-
"IdentifiersMustBeASCII" : true,
|
|
43
|
-
"NeverForceUnwrap" : false,
|
|
44
|
-
"NeverUseForceTry" : false,
|
|
45
|
-
"NeverUseImplicitlyUnwrappedOptionals" : false,
|
|
46
|
-
"NoAccessLevelOnExtensionDeclaration" : true,
|
|
47
|
-
"NoAssignmentInExpressions" : true,
|
|
48
|
-
"NoBlockComments" : true,
|
|
49
|
-
"NoCasesWithOnlyFallthrough" : true,
|
|
50
|
-
"NoEmptyLinesOpeningClosingBraces" : true,
|
|
51
|
-
"NoEmptyTrailingClosureParentheses" : true,
|
|
52
|
-
"NoLabelsInCasePatterns" : true,
|
|
53
|
-
"NoLeadingUnderscores" : false,
|
|
54
|
-
"NoParensAroundConditions" : true,
|
|
55
|
-
"NoPlaygroundLiterals" : true,
|
|
56
|
-
"NoVoidReturnOnFunctionSignature" : true,
|
|
57
|
-
"OmitExplicitReturns" : false,
|
|
58
|
-
"OneCasePerLine" : true,
|
|
59
|
-
"OneVariableDeclarationPerLine" : true,
|
|
60
|
-
"OnlyOneTrailingClosureArgument" : true,
|
|
61
|
-
"OrderedImports" : true,
|
|
62
|
-
"ReplaceForEachWithForLoop" : true,
|
|
63
|
-
"ReturnVoidInsteadOfEmptyTuple" : true,
|
|
64
|
-
"TypeNamesShouldBeCapitalized" : true,
|
|
65
|
-
"UseEarlyExits" : false,
|
|
66
|
-
"UseExplicitNilCheckInConditions" : true,
|
|
67
|
-
"UseLetInEveryBoundCaseVariable" : true,
|
|
68
|
-
"UseShorthandTypeNames" : true,
|
|
69
|
-
"UseSingleLinePropertyGetter" : true,
|
|
70
|
-
"UseSynthesizedInitializer" : true,
|
|
71
|
-
"UseTripleSlashForDocumentationComments" : true,
|
|
72
|
-
"UseWhereClausesInForLoops" : false,
|
|
73
|
-
"ValidateDocumentationComments" : false
|
|
74
|
-
},
|
|
75
|
-
"spacesAroundRangeFormationOperators" : false,
|
|
76
|
-
"spacesBeforeEndOfLineComments" : 2,
|
|
77
|
-
"tabWidth" : 8,
|
|
78
|
-
"version" : 1
|
|
79
|
-
}
|