@mapsindoors/react-native-maps-indoors-mapbox 2.11.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.
Files changed (54) hide show
  1. package/Package.swift +1 -1
  2. package/README.md +92 -1
  3. package/android/build.gradle +2 -2
  4. package/index.ts +4 -233
  5. package/package.json +3 -2
  6. package/react-native-maps-indoors-mapbox.podspec +3 -3
  7. package/src/core/MPBuilding.ts +1 -1
  8. package/src/core/MPCameraEvent.ts +1 -1
  9. package/src/core/MPCameraEventListener.ts +1 -1
  10. package/src/core/MPCategory.ts +1 -1
  11. package/src/core/MPDirectionsRenderer.ts +1 -1
  12. package/src/core/MPDirectionsRendererOptions.ts +1 -1
  13. package/src/core/MPDirectionsService.ts +1 -1
  14. package/src/core/MPDisplayRule.ts +1 -1
  15. package/src/core/MPEntity.ts +1 -1
  16. package/src/core/MPEntityInfo.ts +1 -1
  17. package/src/core/MPFilter.ts +1 -1
  18. package/src/core/MPFilterBehavior.ts +1 -1
  19. package/src/core/MPFloor.ts +1 -1
  20. package/src/core/MPFloorSelectorInterface.ts +1 -1
  21. package/src/core/MPHighlightBehavior.ts +1 -1
  22. package/src/core/MPLocation.ts +1 -1
  23. package/src/core/MPMapConfig.ts +1 -1
  24. package/src/core/MPMultiPolygon.ts +1 -1
  25. package/src/core/MPPolygon.ts +1 -1
  26. package/src/core/MPPositionProviderInterface.ts +1 -1
  27. package/src/core/MPPositionResultInterface.ts +1 -1
  28. package/src/core/MPPropertyData.ts +1 -1
  29. package/src/core/MPQuery.ts +1 -1
  30. package/src/core/MPRoute.ts +1 -1
  31. package/src/core/MPRouteCoordinate.ts +1 -1
  32. package/src/core/MPRouteLeg.ts +1 -1
  33. package/src/core/MPRouteStep.ts +1 -1
  34. package/src/core/MPSelectionBehavior.ts +1 -1
  35. package/src/core/MPSettings3D.ts +1 -1
  36. package/src/core/MPSolution.ts +1 -1
  37. package/src/core/MPSolutionConfig.ts +1 -1
  38. package/src/core/MPSolutionDisplayRule.ts +1 -1
  39. package/src/core/MPUserRoleCollection.ts +1 -1
  40. package/src/core/MPUtils.ts +1 -1
  41. package/src/core/MPVenue.ts +1 -1
  42. package/src/core/MapControl.ts +1 -1
  43. package/src/core/MapsIndoors.ts +10 -11
  44. package/src/core/OnBuildingFoundAtCameraTargetListener.ts +1 -1
  45. package/src/core/OnFloorSelectionChangedListener.ts +1 -1
  46. package/src/core/OnLegSelectedListener.ts +1 -1
  47. package/src/core/OnLocationSelectedListener.ts +1 -1
  48. package/src/core/OnMapClickListener.ts +1 -1
  49. package/src/core/OnMarkerClickListener.ts +1 -1
  50. package/src/core/OnMarkerInfoWindowClickListener.ts +1 -1
  51. package/src/core/OnPositionUpdateListener.ts +1 -1
  52. package/src/core/OnVenueFoundAtCameraTargetListener.ts +1 -1
  53. package/src/core/index.ts +237 -0
  54. package/ios/.swift-format +0 -79
package/Package.swift CHANGED
@@ -5,7 +5,7 @@ import PackageDescription
5
5
  // Swift Package Manager support for React Native's SwiftPM autolinking (react-native >= 0.88,
6
6
  // `npx react-native spm`). CocoaPods apps use the podspec instead; the two ship side by side and
7
7
  // must name the same iOS SDK version (checked by __tests__/nativeSdkVersions.test.ts).
8
- let iosSdkVersion = "4.24.1"
8
+ let iosSdkVersion = "4.25.0"
9
9
 
10
10
  let packageDirectory = URL(fileURLWithPath: #filePath).deletingLastPathComponent()
11
11
 
package/README.md CHANGED
@@ -2,10 +2,101 @@
2
2
 
3
3
  ## Documentation
4
4
 
5
- Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.11.0/index.html) to get an overview of what the MapsIndoors SDK offers.
5
+ Visit [our reference document site](https://app.mapsindoors.com/mapsindoors/reference/react-native/mapbox/2.12.0/index.html) to get an overview of what the MapsIndoors SDK offers.
6
6
 
7
7
  ## Changelog
8
8
 
9
+ ### [2.12.0] - 2026-11-30
10
+
11
+ #### Added
12
+
13
+ - On iOS, the SDK's own text, such as on route markers and in VoiceOver announcements, is available
14
+ in Arabic
15
+
16
+ #### Changed
17
+
18
+ - Updated the MapsIndoors iOS SDK to 4.25.0, with the Mapbox Maps SDK 11.34.1
19
+ - Updated the MapsIndoors Android SDK to 4.25.0, with Mapbox Turf 7.10.1 (from 6.15.0) and the
20
+ Mapbox Maps SDK for Android 11.35.0, which fixes CVE-2026-111497 in the Brotli library that Mapbox
21
+ Common bundles
22
+ - On iOS, Mapbox Standard's 3D landmark models are hidden from the zoom level where base-map
23
+ buildings start to fade, so under a tilted camera they no longer stand in front of a venue's floor
24
+ plan
25
+ - On iOS, when the route network cannot be downloaded and none is cached,
26
+ `MPDirectionsService.getRoute` rejects with the cause, such as no connection or a timeout, instead
27
+ of "Route network not found"
28
+ - On Android, a custom floor selector set with `MapControl.setFloorSelector` should not call its
29
+ `OnFloorSelectionChangedListener` with a floor it receives through `setSelectedFloorByFloorIndex`.
30
+ When a `MapControl` call changes the floor, listeners added with
31
+ `MapControl.addOnFloorUpdateListener` are now called right away, and a second time if the selector
32
+ reports the floor back
33
+
34
+ #### Fixed
35
+
36
+ - On iOS, routes work offline after `MapsIndoors.cacheData`. The solution's route network was not
37
+ cached with the rest of its data, so offline routes failed with "Route network not found"
38
+ - On iOS, routing picks up a route network that changed on the server after the next load,
39
+ synchronization or app launch. When the cached route network had been replaced, every route in the
40
+ venue failed
41
+ - On iOS, offline routes join the route network on the nearest edge on the start's and destination's
42
+ floor, without a detour, an extra step or a wrong first instruction, and a turn across due south
43
+ is no longer reported as straight on
44
+ - On iOS, offline routing avoids the way types added with `MPDirectionsService.addAvoidWayType`, as
45
+ online routing does
46
+ - On iOS, Live Data started with `MapControl.enableLiveData` keeps updating after the connection
47
+ drops and after the app has been in the background for more than a minute, and each live update is
48
+ delivered once
49
+ - On iOS, `MapsIndoors.load`, `synchronizeContent` and `cacheData` no longer hang when a file they
50
+ need is already being downloaded for another call, and reading locations while the SDK reloads or
51
+ updates them no longer crashes the app
52
+ - On iOS, `MapsIndoors.load` called right after the app launches checks the API key. Until the
53
+ network status was known, any key was accepted
54
+ - On iOS, `MPDisplayRule.reset()` on the display rule of a floor, building or venue no longer shows
55
+ it on the map
56
+ - On iOS, when `MapControl.setFilter` is called again before the camera has moved for the previous
57
+ filter, only the latest filter moves the camera
58
+ - On iOS, in a language the SDK has no translation for, its text shows in English instead of
59
+ internal keys, and in right-to-left languages the floor-change arrow on a route points at the
60
+ destination floor
61
+ - On iOS, where point locations overlap, the same one is shown on top on every launch of the app
62
+ - On Android, `MapsIndoors.synchronizeContent` rejects when part of the solution's data fails to
63
+ load. It never settled
64
+ - On Android, `MapsIndoors.load` right after `MapsIndoors.destroy` no longer fails or stalls.
65
+ Calling `MapsIndoors.destroy` again shortly after a reload, or loading a solution with another API
66
+ key while event logging is on, no longer crashes the app
67
+ - On Android, a failed load or synchronization no longer leaves every later request with a
68
+ 100-second timeout
69
+ - On Android, when `MapsIndoors.load` loads another solution while the map stays on screen, and a
70
+ floor is selected before the camera reaches the new venue, the new solution's floor plan is shown.
71
+ Its tiles were missing until the floor changed
72
+ - On Android, listeners added with `MapControl.addOnFloorUpdateListener` are called when a
73
+ `MapControl` call such as `goTo` or `setFilter` changes the floor while the floor selector is
74
+ hidden, while no building is in focus, or with a custom floor selector set with
75
+ `MapControl.setFloorSelector` that does not report the change back
76
+ - On Android, when a display rule's icon is changed and the new icon fails to load, for example
77
+ offline, the map keeps the previous icon instead of showing the location type's icon
78
+ - On iOS, after a floor change, the previous floor's wall shadows no longer stay on the map until
79
+ the camera moves
80
+ - On iOS, a flat label turns with the camera when the map is rotated without zooming
81
+ - On iOS, overlapping rooms of the same size no longer swap which one is drawn on top
82
+ - On iOS, when the camera is fitted to a route or to bounds with uneven padding from
83
+ `MapControl.setMapPadding`, such as a bottom sheet, the route sits in the middle of the space the
84
+ padding leaves
85
+ - On iOS, an open info window moves with its location when the map is rendered again
86
+ - On iOS, the accuracy circle around the user's position is drawn at its display rule's opacity
87
+ - On iOS, the map no longer crashes intermittently when it draws location markers
88
+ - On iOS, a route shown or cleared right after the map is created is applied once the map style has
89
+ loaded. It was dropped
90
+ - On iOS, when zooming back in from the overview, 3D models and floor plans appear as soon as the
91
+ zoom enters their range
92
+ - On iOS, routes that combine indoor and outdoor travel choose a venue's exit and entrance by the
93
+ travel costs from the origin, and no longer fail when one origin and destination pair cannot be
94
+ routed or the query has a departure or arrival time
95
+ - On Android, with clustering on, clusters stay clustered up to the map's maximum zoom, as on Google
96
+ Maps
97
+ - On Android, the map no longer does extra work on the main thread, on every update, for each
98
+ location without a 2D model
99
+
9
100
  ### [2.11.0] - 2026-11-10
10
101
 
11
102
  #### Added
@@ -93,8 +93,8 @@ dependencies {
93
93
  maven { url 'https://api.mapbox.com/downloads/v2/releases/maven' }
94
94
  }
95
95
 
96
- implementation 'com.mapbox.maps:android-ndk27:11.16.1'
97
- implementation 'com.mapspeople.mapsindoors:mapbox-ndk27:4.24.2'
96
+ implementation 'com.mapbox.maps:android-ndk27:11.35.0'
97
+ implementation 'com.mapspeople.mapsindoors:mapbox-ndk27:4.25.0'
98
98
  implementation 'com.facebook.react:react-native:+' // From node_modules
99
99
  implementation 'androidx.core:core-ktx:1.3.2'
100
100
  implementation 'com.github.bumptech.glide:glide:4.16.0'
package/index.ts CHANGED
@@ -1,236 +1,7 @@
1
- import MPGeometry from './src/core/MPGeometry';
2
- import MPPoint from './src/core/MPPoint';
3
- import MPEntity from './src/core/MPEntity';
4
- import MPVenue from './src/core/MPVenue';
5
- import MPFloor from './src/core/MPFloor';
6
- import MPQuery from './src/core/MPQuery';
7
- import MPError from './src/core/MPError';
8
- import MPFilter from './src/core/MPFilter';
9
- import MPBounds from './src/core/MPBounds';
10
- import { normalizeLanguageTag, resolveLanguageTag } from './src/core/MPLanguageTag';
11
- import { MPLocationType } from './src/core/MPLocationType';
12
- import { MPLocationPropertyNames } from './src/core/MPLocationPropertyNames';
13
- import { MPLabelType } from './src/core/MPLabelType';
14
- import { MPIconPlacement } from './src/core/MPIconPlacement';
15
- import { MPBadgePosition } from './src/core/MPBadgePosition';
16
- import MPPolygon from './src/core/MPPolygon';
17
- import MPMapStyle from './src/core/MPMapStyle';
18
- import MPBuilding from './src/core/MPBuilding';
19
- import MPLocation from './src/core/MPLocation';
20
- import MPCategory from './src/core/MPCategory';
21
- import MapControl from './src/core/MapControl';
22
- import MPIconSize from './src/core/MPIconSize';
23
- import MPUserRole from './src/core/MPUserRole';
24
- import MPSolution from './src/core/MPSolution';
25
- import MapsIndoors from './src/core/MapsIndoors';
26
- import MPVenueInfo from './src/core/MPVenueInfo';
27
- import MPDataField from './src/core/MPDataField';
28
- import MPMapConfig from './src/core/MPMapConfig';
29
- import MPSettings3D from './src/core/MPSettings3D';
30
- import MPDisplayRule from './src/core/MPDisplayRule';
31
- import MPCameraEvent from './src/core/MPCameraEvent';
32
- import MPCameraUpdate from './src/core/MPCameraUpdate';
33
- import MPMultiPolygon from './src/core/MPMultiPolygon';
34
- import MPRoute from './src/core/MPRoute';
35
- import MPRouteCoordinate from './src/core/MPRouteCoordinate';
36
- import MPRouteLeg from './src/core/MPRouteLeg';
37
- import MPRouteStep from './src/core/MPRouteStep';
38
- import MPRouteProperty from './src/core/MPRouteProperty';
39
- import MPDirectionsRenderer from './src/core/MPDirectionsRenderer';
40
- import MPDirectionsRendererOptions from './src/core/MPDirectionsRendererOptions';
41
- import MPRouteMarkerDisplayRule from './src/core/MPRouteMarkerDisplayRule';
42
- import MPLegBoundaryIcons from './src/core/MPLegBoundaryIcons';
43
- import MPDirectionsService from './src/core/MPDirectionsService';
44
- import { MPCameraViewFitMode } from './src/core/MPCameraViewFitMode';
45
- import { MPStrokeStyle } from './src/core/MPStrokeStyle';
46
- import { MPRouteAnimationType } from './src/core/MPRouteAnimationType';
47
- import { MPRouteStampType } from './src/core/MPRouteStampType';
48
- import { MPRouteArrowStyle } from './src/core/MPRouteArrowStyle';
49
- import MPCameraPosition from './src/core/MPCameraPosition';
50
- import MPFilterBehavior from './src/core/MPFilterBehavior';
51
- import MPHighlightBehavior from './src/core/MPHighlightBehavior';
52
- import MPSolutionConfig from './src/core/MPSolutionConfig';
53
- import { OnMapClickListener } from './src/core/OnMapClickListener';
54
- import MPSelectionBehavior from './src/core/MPSelectionBehavior';
55
- import { MPCollisionHandling } from './src/core/MPCollisionHandling';
56
- import { MPSolutionDisplayRule } from './src/core/MPSolutionDisplayRule';
57
- import MPCameraEventListener from './src/core/MPCameraEventListener';
58
- import { OnFloorUpdateListener } from './src/core/OnFloorUpdateListener';
59
- import { OnMarkerClickListener } from './src/core/OnMarkerClickListener';
60
- import { OnPositionUpdateListener } from './src/core/OnPositionUpdateListener';
61
- import { MPFloorSelectorInterface } from './src/core/MPFloorSelectorInterface';
62
- import { MPPositionResultInterface } from './src/core/MPPositionResultInterface';
63
- import { OnLocationSelectedListener } from './src/core/OnLocationSelectedListener';
64
- import { MPPositionProviderInterface } from './src/core/MPPositionProviderInterface';
65
- import { OnLiveLocationUpdateListener } from './src/core/OnLiveLocationUpdateListener';
66
- import { OnMarkerInfoWindowClickListener } from './src/core/OnMarkerInfoWindowClickListener';
67
- import { OnFloorSelectionChangedListener } from './src/core/OnFloorSelectionChangedListener';
68
- import { OnVenueFoundAtCameraTargetListener } from './src/core/OnVenueFoundAtCameraTargetListener';
69
- import { OnBuildingFoundAtCameraTargetListener } from './src/core/OnBuildingFoundAtCameraTargetListener';
70
- import { OnLegSelectedListener } from './src/core/OnLegSelectedListener';
71
- import { OnBaseMapCacheProgressListener } from './src/core/OnBaseMapCacheProgressListener';
72
- import MPBuildingCollection from './src/core/MPBuildingCollection';
73
- import MPVenueCollection from './src/core/MPVenueCollection';
74
- import MPCategoryCollection from './src/core/MPCategoryCollection';
75
- import MPUserRoleCollection from './src/core/MPUserRoleCollection';
76
- import MPRouteStopIconConfig from './src/core/MPRouteStopIconConfig';
77
- import MPLabelGraphic from './src/core/MPLabelGraphic';
78
- import MPPOIType from './src/core/MPPOIType';
79
- import { MPHighway } from './src/core/MPHighway';
80
- import { MPFloorParams } from './src/core/MPFloor';
81
- import { MPQueryParams } from './src/core/MPQuery';
82
- import { MPRouteParams } from './src/core/MPRoute';
83
- import { MPVenueParams } from './src/core/MPVenue';
84
- import { MPPointParams } from './src/core/MPPoint';
85
- import { MPBoundsParams } from './src/core/MPBounds';
86
- import { MPFilterParams } from './src/core/MPFilter';
87
- import { MPPolygonParams } from './src/core/MPPolygon';
88
- import { MPBuildingParams } from './src/core/MPBuilding';
89
- import { MPCategoryParams } from './src/core/MPCategory';
90
- import { MPMapStyleParams } from './src/core/MPMapStyle';
91
- import { MPRouteLegParams } from './src/core/MPRouteLeg';
92
- import { MPSolutionParams } from './src/core/MPSolution';
93
- import { MPUserRoleParams } from './src/core/MPUserRole';
94
- import { MPDataFieldParams } from './src/core/MPDataField';
95
- import { MPMapConfigParams } from './src/core/MPMapConfig';
96
- import { MPRouteStepParams } from './src/core/MPRouteStep';
97
- import { MPVenueInfoParams } from './src/core/MPVenueInfo';
98
- import { MPMultiPolygonParams } from './src/core/MPMultiPolygon';
99
- import { MPRoutePropertyParams } from './src/core/MPRouteProperty';
100
- import { MPCameraPositionParams } from './src/core/MPCameraPosition';
101
- import { MPFilterBehaviorParams } from './src/core/MPFilterBehavior';
102
- import { MPSolutionConfigParams } from './src/core/MPSolutionConfig';
103
- import { MPRouteCoordinateParams } from './src/core/MPRouteCoordinate';
104
- import { MPHighlightBehaviorParams } from './src/core/MPHighlightBehavior';
105
- import { RouteStopIconConfig } from './src/core/RouteStopIconConfig';
106
- import { MPRouteStopIconConfigParams } from './src/core/MPRouteStopIconConfig';
107
- import { MPDirectionsRendererOptionsParams } from './src/core/MPDirectionsRendererOptions';
108
- import { MPRouteMarkerDisplayRuleParams } from './src/core/MPRouteMarkerDisplayRule';
109
- import { MPLegBoundaryIconsParams } from './src/core/MPLegBoundaryIcons';
110
- import { MPPOITypeParams } from './src/core/MPPOIType';
111
- import { MPSelectionMode } from './src/core/MPSelectionMode';
112
- import { MPFeatureType } from './src/core/MPFeatureTypes';
113
-
114
-
115
- import MapView from './src/core/MapView';
1
+ import MapsIndoors from './src/core/index';
2
+ import { setSdkVersion } from './src/core/MapsIndoors';
116
3
 
4
+ setSdkVersion(require('./package.json').version);
117
5
 
6
+ export * from './src/core/index';
118
7
  export default MapsIndoors;
119
- export {
120
- MapControl,
121
- MPBounds,
122
- MPBuilding,
123
- MPCameraEvent,
124
- MPCameraPosition,
125
- MPCameraUpdate,
126
- MPCategory,
127
- MPCollisionHandling,
128
- MPDataField,
129
- MPDisplayRule,
130
- MPError,
131
- MPFilter,
132
- MPFilterBehavior,
133
- MPHighlightBehavior,
134
- MPSelectionBehavior,
135
- MPFloor,
136
- MPPoint,
137
- MPGeometry,
138
- MPIconSize,
139
- MPLocation,
140
- MPMapConfig,
141
- MPMapStyle,
142
- MPMultiPolygon,
143
- MPPolygon,
144
- MPQuery,
145
- MPSettings3D,
146
- MPSolution,
147
- MPSolutionConfig,
148
- MPSolutionDisplayRule,
149
- MPUserRole,
150
- MPVenue,
151
- MPVenueInfo,
152
- MPLocationType,
153
- normalizeLanguageTag,
154
- resolveLanguageTag,
155
- MPLocationPropertyNames,
156
- MPDirectionsRenderer,
157
- MPDirectionsRendererOptions,
158
- MPRouteMarkerDisplayRule,
159
- MPLegBoundaryIcons,
160
- MPDirectionsService,
161
- MPRoute,
162
- MPRouteCoordinate,
163
- MPRouteLeg,
164
- MPRouteProperty,
165
- MPRouteStep,
166
- MPCameraViewFitMode,
167
- MPStrokeStyle,
168
- MPRouteAnimationType,
169
- MPRouteStampType,
170
- MPRouteArrowStyle,
171
- MPBuildingCollection,
172
- MPVenueCollection,
173
- MPCategoryCollection,
174
- MPUserRoleCollection,
175
- MPHighway,
176
- MPBadgePosition,
177
- MPIconPlacement,
178
- MPLabelType,
179
- MPRouteStopIconConfig,
180
- MPSelectionMode,
181
- MPFeatureType,
182
- MPLabelGraphic,
183
- MPPOIType,
184
- MapView
185
- };
186
-
187
- export type {
188
- MPFloorSelectorInterface,
189
- MPPositionProviderInterface,
190
- MPPositionResultInterface,
191
- MPCameraEventListener,
192
- OnMapClickListener,
193
- OnPositionUpdateListener,
194
- OnFloorUpdateListener,
195
- OnFloorSelectionChangedListener,
196
- OnLocationSelectedListener,
197
- OnVenueFoundAtCameraTargetListener,
198
- OnBuildingFoundAtCameraTargetListener,
199
- OnMarkerClickListener,
200
- OnMarkerInfoWindowClickListener,
201
- OnLiveLocationUpdateListener,
202
- OnLegSelectedListener,
203
- OnBaseMapCacheProgressListener,
204
- MPEntity,
205
- MPFloorParams,
206
- MPQueryParams,
207
- MPRouteParams,
208
- MPVenueParams,
209
- MPPointParams,
210
- MPBoundsParams,
211
- MPFilterParams,
212
- MPPolygonParams,
213
- MPBuildingParams,
214
- MPCategoryParams,
215
- MPMapStyleParams,
216
- MPRouteLegParams,
217
- MPSolutionParams,
218
- MPUserRoleParams,
219
- MPDataFieldParams,
220
- MPMapConfigParams,
221
- MPRouteStepParams,
222
- MPVenueInfoParams,
223
- MPMultiPolygonParams,
224
- MPRoutePropertyParams,
225
- MPCameraPositionParams,
226
- MPFilterBehaviorParams,
227
- MPHighlightBehaviorParams,
228
- MPSolutionConfigParams,
229
- MPRouteCoordinateParams,
230
- MPRouteStopIconConfigParams,
231
- MPDirectionsRendererOptionsParams,
232
- MPRouteMarkerDisplayRuleParams,
233
- MPLegBoundaryIconsParams,
234
- RouteStopIconConfig,
235
- MPPOITypeParams
236
- };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mapsindoors/react-native-maps-indoors-mapbox",
3
3
  "title": "React Native MapsIndoors Mapbox",
4
- "version": "2.11.0",
4
+ "version": "2.12.0",
5
5
  "description": "React Native MapsIndoors component with mapbox",
6
6
  "react-native": "index.ts",
7
7
  "files": [
@@ -22,7 +22,8 @@
22
22
  ],
23
23
  "scripts": {
24
24
  "test": "jest",
25
- "test:watch": "jest --watch"
25
+ "test:watch": "jest --watch",
26
+ "prepack": "if [ -n \"$(find src/core ios/core android/src/main/java/com/mapsindoorsrn/core -type l -print -quit)\" ]; then echo \"The shared cores are symlinks, which npm pack drops. Pack with tools/pack.sh from the repo root.\" >&2; exit 1; fi; for f in src/core/index.ts ios/core/MapsIndoorsModule.swift android/src/main/java/com/mapsindoorsrn/core/MapsIndoorsModule.java; do if [ ! -f $f ]; then echo \"$f is missing: the shared cores are absent or older than this package.\" >&2; exit 1; fi; done"
26
27
  },
27
28
  "repository": {
28
29
  "type": "git",
@@ -22,7 +22,7 @@ Pod::Spec.new do |s|
22
22
 
23
23
  s.source_files = "ios/**/*.{h,c,cc,cpp,m,mm,swift}"
24
24
  # ios/core carries a SwiftPM manifest and unit tests for its React-free helpers (SPEX-2686). They
25
- # are run with `swift test` in that repository and must not be compiled into the pod, nor must the
25
+ # are run with `swift test` in IosCore/ and must not be compiled into the pod, nor must the
26
26
  # build products `swift test` leaves in .build (they include a generated `@main` test runner).
27
27
  s.exclude_files = "ios/core/Package.swift", "ios/core/Tests/**/*", "ios/core/.build/**/*", "ios/spm-bridges/**/*"
28
28
  s.requires_arc = true
@@ -34,6 +34,6 @@ Pod::Spec.new do |s|
34
34
  # frameworks, and the app dies at launch with `Library not loaded: @rpath/MapsIndoorsCore...`
35
35
  # (SPEX-2429). Apps on React Native's SwiftPM mode (0.88+) use Package.swift instead, which must
36
36
  # name the same SDK version.
37
- s.dependency "MapsIndoorsMapbox11", "4.24.1"
38
- s.dependency "MapsIndoorsCodable", "4.24.1"
37
+ s.dependency "MapsIndoorsMapbox11", "4.25.0"
38
+ s.dependency "MapsIndoorsCodable", "4.25.0"
39
39
  end
@@ -1,5 +1,5 @@
1
1
  import MPEntity from "./MPEntity";
2
- import { MPPoint, MPPolygon, MPFloor, MPBounds, MPDataField, MPPointParams, MPFloorParams } from "../../index";
2
+ import { MPPoint, MPPolygon, MPFloor, MPBounds, MPDataField, MPPointParams, MPFloorParams } from "./index";
3
3
  import MPBuildingInfo, { MPBuildingInfoParams } from "./MPBuildingInfo";
4
4
  import { Platform } from "react-native";
5
5
 
@@ -1,4 +1,4 @@
1
- import MPCameraEventListener from "../../index"
1
+ import MPCameraEventListener from "./index"
2
2
 
3
3
  /**
4
4
  * Possible events that a {@link MPCameraEventListener} can recieve.
@@ -1,4 +1,4 @@
1
- import { MPCameraEvent } from "../../index";
1
+ import { MPCameraEvent } from "./index";
2
2
 
3
3
  /**
4
4
  * Listens for camera events, eg. when the Camera starts or stops moving.
@@ -1,4 +1,4 @@
1
- import { MPDataField } from "../../index";
1
+ import { MPDataField } from "./index";
2
2
 
3
3
  /**
4
4
  * A category which contains a number of fields
@@ -1,5 +1,5 @@
1
1
  import { EmitterSubscription, NativeEventEmitter, NativeModules } from 'react-native';
2
- import { MPCameraViewFitMode, MPDirectionsRendererOptions, MPError, MPRoute, OnLegSelectedListener } from "../../index";
2
+ import { MPCameraViewFitMode, MPDirectionsRendererOptions, MPError, MPRoute, OnLegSelectedListener } from "./index";
3
3
  import { EventNames } from './EventNames';
4
4
  import { nativeRouteId } from './RouteHandles';
5
5
  import { RouteStopIconConfig } from './RouteStopIconConfig';
@@ -1,4 +1,4 @@
1
- import { MPLegBoundaryIcons, MPRouteAnimationType, MPRouteArrowStyle, MPRouteMarkerDisplayRule, MPRouteStampType, MPStrokeStyle } from "../../index";
1
+ import { MPLegBoundaryIcons, MPRouteAnimationType, MPRouteArrowStyle, MPRouteMarkerDisplayRule, MPRouteStampType, MPStrokeStyle } from "./index";
2
2
 
3
3
  /**
4
4
  * The styling and camera options for a route rendered by {@link MPDirectionsRenderer}.
@@ -1,5 +1,5 @@
1
1
  import { NativeModules } from 'react-native';
2
- import { MPError, MPPoint, MPRoute, MPHighway } from "../../index";
2
+ import { MPError, MPPoint, MPRoute, MPHighway } from "./index";
3
3
  import { attachNativeRoute } from './RouteHandles';
4
4
 
5
5
  const { DirectionsService } = NativeModules;
@@ -1,5 +1,5 @@
1
1
  import { NativeModules } from 'react-native';
2
- import { MPError, MPIconSize } from "../../index";
2
+ import { MPError, MPIconSize } from "./index";
3
3
  import { MPIconPlacement } from './MPIconPlacement';
4
4
  import { MPLabelType } from './MPLabelType';
5
5
  import { MPBadgePosition } from './MPBadgePosition';
@@ -1,4 +1,4 @@
1
- import { MPPoint } from "../../index";
1
+ import { MPPoint } from "./index";
2
2
 
3
3
  /**
4
4
  * An interface describing trivial properties of a MapsIndoors geographical entities.
@@ -1,4 +1,4 @@
1
- import { MPDataField } from "../../index";
1
+ import { MPDataField } from "./index";
2
2
 
3
3
  /**
4
4
  * An interface describing base properties of entity info collections.
@@ -1,4 +1,4 @@
1
- import { MPBounds, MPLocation } from "../../index";
1
+ import { MPBounds, MPLocation } from "./index";
2
2
 
3
3
  /**
4
4
  * A filter that can be applied during search, this will limit the returned {@link MPEntity}s to those that
@@ -1,4 +1,4 @@
1
- import MapControl from "../../index";
1
+ import MapControl from "./index";
2
2
  import { Platform } from 'react-native';
3
3
 
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import MPEntity from "./MPEntity";
2
- import { MPMultiPolygon, MPMultiPolygonParams, MPBounds, MPPoint, MPBuilding } from "../../index";
2
+ import { MPMultiPolygon, MPMultiPolygonParams, MPBounds, MPPoint, MPBuilding } from "./index";
3
3
  import { Platform } from "react-native";
4
4
 
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { MPFloor, OnFloorSelectionChangedListener } from "../../index";
1
+ import { MPFloor, OnFloorSelectionChangedListener } from "./index";
2
2
 
3
3
  /**
4
4
  * Interface used by MapsIndoors to communicate with floor selector UIs.
@@ -1,4 +1,4 @@
1
- import MapControl from "../../index";
1
+ import MapControl from "./index";
2
2
  import { Platform } from 'react-native';
3
3
 
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { Platform } from "react-native";
2
- import { MPGeometry, MPPoint, MPPolygon, MPBuilding, MPVenue, MPMultiPolygon, MPBounds, MPLocationType, MPLocationPropertyNames } from "../../index";
2
+ import { MPGeometry, MPPoint, MPPolygon, MPBuilding, MPVenue, MPMultiPolygon, MPBounds, MPLocationType, MPLocationPropertyNames } from "./index";
3
3
  import MPEntity from "./MPEntity";
4
4
  import MPPropertyData from "./MPPropertyData";
5
5
  import MPLocationSettings from "./MPLocationSettings";
@@ -1,4 +1,4 @@
1
- import { MPFloorSelectorInterface, MapControl } from "../../index";
1
+ import { MPFloorSelectorInterface, MapControl } from "./index";
2
2
 
3
3
  /**
4
4
  * This configuration object is used when creating a new {@link MapControl} instance.
@@ -1,4 +1,4 @@
1
- import { MPPoint, MPGeometry, MPPolygon, MPBounds } from "../../index";
1
+ import { MPPoint, MPGeometry, MPPolygon, MPBounds } from "./index";
2
2
  import MPUtils from "./MPUtils";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { MPPoint, MPGeometry, MPBounds } from "../../index";
1
+ import { MPPoint, MPGeometry, MPBounds } from "./index";
2
2
  import MPUtils from "./MPUtils";
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { OnPositionUpdateListener, MPPositionResultInterface } from "../../index";
1
+ import { OnPositionUpdateListener, MPPositionResultInterface } from "./index";
2
2
 
3
3
  /**
4
4
  * Interface for added a position provider to the SDK.
@@ -1,4 +1,4 @@
1
- import { MPPoint } from "../../index";
1
+ import { MPPoint } from "./index";
2
2
 
3
3
  /**
4
4
  * Interface to deliver a position result to the MapsIndoors SDK.
@@ -1,5 +1,5 @@
1
1
  import { Platform } from "react-native";
2
- import { MPPoint, MPDataField, MPPointParams } from "../../index";
2
+ import { MPPoint, MPDataField, MPPointParams } from "./index";
3
3
  import { MPEntityInfo } from "./MPEntityInfo";
4
4
  import MPLocationSettings from "./MPLocationSettings";
5
5
  import { MPAdditionalDetail } from "./MPAdditionalDetail";
@@ -1,4 +1,4 @@
1
- import { MPPoint, MPLocationPropertyNames } from "../../index";
1
+ import { MPPoint, MPLocationPropertyNames } from "./index";
2
2
 
3
3
  /**
4
4
  * A collection of query parameters used to query entities in MapsIndoors.
@@ -1,4 +1,4 @@
1
- import { MPBounds, MPRouteLeg, MPBoundsParams, MPRouteLegParams } from "../../index";
1
+ import { MPBounds, MPRouteLeg, MPBoundsParams, MPRouteLegParams } from "./index";
2
2
 
3
3
  /**
4
4
  * A route from a origin to a destination broken up into {@link legs}.
@@ -1,4 +1,4 @@
1
- import MPRouteStep from "../../index";
1
+ import MPRouteStep from "./index";
2
2
 
3
3
  /**
4
4
  * A coordinate used for routing, it is contained within a {@link MPRouteStep}.
@@ -1,4 +1,4 @@
1
- import { MPRouteStep, MPRouteProperty, MPRoutePropertyParams, MPRouteCoordinate, MPRouteCoordinateParams, MPRoute } from "../../index";
1
+ import { MPRouteStep, MPRouteProperty, MPRoutePropertyParams, MPRouteCoordinate, MPRouteCoordinateParams, MPRoute } from "./index";
2
2
 
3
3
  /**
4
4
  * A leg of a {@link MPRoute} is defined as all steps between any context shifts (entering/exiting buildings, changing floors).
@@ -1,5 +1,5 @@
1
1
  import { Platform } from "react-native";
2
- import { MPRouteProperty, MPRoutePropertyParams, MPRouteCoordinate, MPRouteCoordinateParams } from "../../index";
2
+ import { MPRouteProperty, MPRoutePropertyParams, MPRouteCoordinate, MPRouteCoordinateParams } from "./index";
3
3
 
4
4
  /**
5
5
  * Description placeholder.
@@ -1,4 +1,4 @@
1
- import MapControl from "../../index";
1
+ import MapControl from "./index";
2
2
  import { Platform } from 'react-native';
3
3
 
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import MPUtils from "./MPUtils";
2
- import { MPSolutionConfig } from "../../index"
2
+ import { MPSolutionConfig } from "./index"
3
3
 
4
4
  /**
5
5
  * A configuration object that governs layer settings for 3D features.
@@ -1,4 +1,4 @@
1
- import { MPSolutionConfig } from "../../index";
1
+ import { MPSolutionConfig } from "./index";
2
2
  import { resolveLanguageTag } from "./MPLanguageTag";
3
3
  import MPPOIType from "./MPPOIType";
4
4
  import MPUtils from "./MPUtils";
@@ -1,4 +1,4 @@
1
- import { MPCollisionHandling, MPSettings3D } from "../../index";
1
+ import { MPCollisionHandling, MPSettings3D } from "./index";
2
2
  import MPLocationSettings from "./MPLocationSettings";
3
3
  import MPUtils from "./MPUtils";
4
4
 
@@ -1,4 +1,4 @@
1
- import { MPDisplayRule } from "../../index";
1
+ import { MPDisplayRule } from "./index";
2
2
 
3
3
  /**
4
4
  * Special {@link MPDisplayRule}s that govern specific scenarios
@@ -1,5 +1,5 @@
1
1
  import MPCollection from "./MPCollection";
2
- import MapsIndoors, {MPUserRole} from "../../index";
2
+ import MapsIndoors, {MPUserRole} from "./index";
3
3
 
4
4
  /**
5
5
  * A collection of user role objects fetched from {@link MapsIndoors}. Uses {@link MPUserRole.id} as key.
@@ -1,5 +1,5 @@
1
1
  import { NativeModules } from 'react-native';
2
- import { MPGeometry, MPPoint, MPCollisionHandling } from '../../index';
2
+ import { MPGeometry, MPPoint, MPCollisionHandling } from './index';
3
3
  const { UtilsModule } = NativeModules;
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { Platform } from "react-native";
2
- import { MPPoint, MPPointParams, MPBounds, MPMapStyle, MPPolygon, MPVenueInfo, MPDataField, MPBuilding, MPLocation } from '../../index';
2
+ import { MPPoint, MPPointParams, MPBounds, MPMapStyle, MPPolygon, MPVenueInfo, MPDataField, MPBuilding, MPLocation } from './index';
3
3
  import MPEntity from "./MPEntity";
4
4
  import MPUtils from "./MPUtils";
5
5
 
@@ -7,7 +7,7 @@ import {
7
7
  OnVenueFoundAtCameraTargetListener, OnBuildingFoundAtCameraTargetListener,
8
8
  OnMarkerClickListener, OnMarkerInfoWindowClickListener,
9
9
  OnLiveLocationUpdateListener, MPCameraEvent, MPMapStyle, MPCameraUpdate, MPCameraPosition, MPEntity,
10
- } from "../../index"
10
+ } from "./index"
11
11
  import { EventNames } from './EventNames';
12
12
  import MPHighlightBehavior from './MPHighlightBehavior';
13
13
  import { MPSelectionMode } from './MPSelectionMode';
@@ -4,7 +4,7 @@ import {
4
4
  MPLocation, MPSolution, MPVenue, MPQuery, MPFilter,
5
5
  MPDisplayRule, MPSolutionDisplayRule, MPPositionProviderInterface,
6
6
  MPPositionResultInterface, MPUserRole, MPError, MPCategoryCollection, MPUserRoleCollection
7
- } from "../../index";
7
+ } from "./index";
8
8
  import MPBuildingCollection from './MPBuildingCollection';
9
9
  import MPVenueCollection from './MPVenueCollection';
10
10
  import { EventNames } from './EventNames';
@@ -14,21 +14,20 @@ import { OnBaseMapCacheProgressListener } from './OnBaseMapCacheProgressListener
14
14
  const { MapsIndoorsModule } = NativeModules;
15
15
 
16
16
  /**
17
- * The published version of the map package this file is bundled into, read from its own
18
- * package.json rather than kept as a constant so it cannot drift from the released version.
17
+ * The published version of the map package this core is bundled into. The map package sets it from
18
+ * its own package.json (see its index.ts): the core is shared, so it cannot know which package or
19
+ * version it ships in.
19
20
  *
20
21
  * It is sent on {@link MapsIndoors.load} so the native side can name this wrapper as the component
21
22
  * behind the MapsIndoors Insights session. The SDK snapshots the component when the session starts,
22
23
  * inside the native load, so the version has to travel on the load call itself.
23
24
  */
24
- const sdkVersion: string = (() => {
25
- try {
26
- // Resolved relative to this file inside the installed package: <package root>/package.json.
27
- return require('../../package.json').version ?? 'unknown';
28
- } catch (e) {
29
- return 'unknown';
30
- }
31
- })();
25
+ let sdkVersion = 'unknown';
26
+
27
+ /** @internal Called once by the map package's index.ts. */
28
+ export function setSdkVersion(version: string | undefined): void {
29
+ sdkVersion = version ?? 'unknown';
30
+ }
32
31
 
33
32
  /**
34
33
  * Main class for accessing data in the MapsIndoors SDK.
@@ -1,4 +1,4 @@
1
- import { MPBuilding } from '../../index';
1
+ import { MPBuilding } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when focus changes to a new building within the camera bounds.
@@ -1,4 +1,4 @@
1
- import { MPFloor } from '../../index';
1
+ import { MPFloor } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when the active floor is changed.
@@ -1,4 +1,4 @@
1
- import {MPRouteLeg} from '../../index';
1
+ import {MPRouteLeg} from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked during directions when a {@link MPRouteLeg} is selected.
@@ -1,4 +1,4 @@
1
- import { MPLocation } from '../../index';
1
+ import { MPLocation } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when a {@link MPLocation} is selected.
@@ -1,4 +1,4 @@
1
- import { MPPoint, MPLocation } from '../../index';
1
+ import { MPPoint, MPLocation } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when the map is clicked.
@@ -1,4 +1,4 @@
1
- import { MPLocation } from '../../index';
1
+ import { MPLocation } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when a {@link MPLocation} marker is clicked on the map.
@@ -1,4 +1,4 @@
1
- import { MPLocation } from '../../index';
1
+ import { MPLocation } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when a markers infowindow is clicked.
@@ -1,4 +1,4 @@
1
- import { MPPositionResultInterface } from '../../index';
1
+ import { MPPositionResultInterface } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when user positioning is updated.
@@ -1,4 +1,4 @@
1
- import { MPVenue } from '../../index';
1
+ import { MPVenue } from './index';
2
2
 
3
3
  /**
4
4
  * Listener that is invoked when focus changes to a new venue within the camera bounds.
@@ -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
- }