@maplibre/maplibre-react-native 9.0.0 → 9.0.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/CHANGELOG.md +4 -0
- package/docs/Camera.md +1 -1
- package/docs/docs.json +1 -1
- package/javascript/components/Camera.js +1 -1
- package/package.json +1 -1
- package/plugin/build/withMapLibre.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ Please add unreleased changes in the following style:
|
|
|
5
5
|
PR Title ([#123](link to my pr))
|
|
6
6
|
```
|
|
7
7
|
|
|
8
|
+
## 9.0.1
|
|
9
|
+
|
|
10
|
+
Fix build issue on iOS ([#29](https://github.com/maplibre/maplibre-react-native/issues/29))
|
|
11
|
+
|
|
8
12
|
## 9.0.0
|
|
9
13
|
|
|
10
14
|
Completed fork from RNMapbox, removed support for the proprietary Mapbox SDK, and updated to the latest
|
package/docs/Camera.md
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
| ne | `array` | `none` | `true` | northEastCoordinates - North east coordinate of bound |
|
|
50
50
|
| sw | `array` | `none` | `true` | southWestCoordinates - South west coordinate of bound |
|
|
51
51
|
| followUserLocation | `bool` | `none` | `false` | Should the map orientation follow the user's. |
|
|
52
|
-
| followUserMode | `enum` | `none` | `false` | The mode used to track the user location on the map. One of; "normal", "compass", "course". Each mode string is also available as a member on the `MapLibreGL.UserTrackingModes` object. `Follow` (normal), `FollowWithHeading` (compass), `FollowWithCourse` (course). NOTE: `followUserLocation` must be set to `true` for any of the modes to take effect. [Example](../example/src/examples/SetUserTrackingModes.js) |
|
|
52
|
+
| followUserMode | `enum` | `none` | `false` | The mode used to track the user location on the map. One of; "normal", "compass", "course". Each mode string is also available as a member on the `MapLibreGL.UserTrackingModes` object. `Follow` (normal), `FollowWithHeading` (compass), `FollowWithCourse` (course). NOTE: `followUserLocation` must be set to `true` for any of the modes to take effect. [Example](../example/src/examples/Camera/SetUserTrackingModes.js) |
|
|
53
53
|
| followZoomLevel | `number` | `none` | `false` | The zoomLevel on map while followUserLocation is set to `true` |
|
|
54
54
|
| followPitch | `number` | `none` | `false` | The pitch on map while followUserLocation is set to `true` |
|
|
55
55
|
| followHeading | `number` | `none` | `false` | The heading on map while followUserLocation is set to `true` |
|
package/docs/docs.json
CHANGED
|
@@ -855,7 +855,7 @@
|
|
|
855
855
|
"required": false,
|
|
856
856
|
"type": "enum",
|
|
857
857
|
"default": "none",
|
|
858
|
-
"description": "The mode used to track the user location on the map. One of; \"normal\", \"compass\", \"course\". Each mode string is also available as a member on the `MapLibreGL.UserTrackingModes` object. `Follow` (normal), `FollowWithHeading` (compass), `FollowWithCourse` (course). NOTE: `followUserLocation` must be set to `true` for any of the modes to take effect. [Example](../example/src/examples/SetUserTrackingModes.js)"
|
|
858
|
+
"description": "The mode used to track the user location on the map. One of; \"normal\", \"compass\", \"course\". Each mode string is also available as a member on the `MapLibreGL.UserTrackingModes` object. `Follow` (normal), `FollowWithHeading` (compass), `FollowWithCourse` (course). NOTE: `followUserLocation` must be set to `true` for any of the modes to take effect. [Example](../example/src/examples/Camera/SetUserTrackingModes.js)"
|
|
859
859
|
},
|
|
860
860
|
{
|
|
861
861
|
"name": "followZoomLevel",
|
|
@@ -155,7 +155,7 @@ class Camera extends React.Component {
|
|
|
155
155
|
followUserLocation: PropTypes.bool,
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
|
-
* The mode used to track the user location on the map. One of; "normal", "compass", "course". Each mode string is also available as a member on the `MapLibreGL.UserTrackingModes` object. `Follow` (normal), `FollowWithHeading` (compass), `FollowWithCourse` (course). NOTE: `followUserLocation` must be set to `true` for any of the modes to take effect. [Example](../example/src/examples/SetUserTrackingModes.js)
|
|
158
|
+
* The mode used to track the user location on the map. One of; "normal", "compass", "course". Each mode string is also available as a member on the `MapLibreGL.UserTrackingModes` object. `Follow` (normal), `FollowWithHeading` (compass), `FollowWithCourse` (course). NOTE: `followUserLocation` must be set to `true` for any of the modes to take effect. [Example](../example/src/examples/Camera/SetUserTrackingModes.js)
|
|
159
159
|
*/
|
|
160
160
|
followUserMode: PropTypes.oneOf(['normal', 'compass', 'course']),
|
|
161
161
|
|
package/package.json
CHANGED
|
@@ -41,10 +41,10 @@ const withCocoaPodsInstallerBlocks = c => {
|
|
|
41
41
|
// used for spm (swift package manager) which Expo doesn't currently support.
|
|
42
42
|
function applyCocoaPodsModifications(contents) {
|
|
43
43
|
// Ensure installer blocks exist
|
|
44
|
-
let src = addInstallerBlock(contents, 'pre');
|
|
45
|
-
|
|
46
|
-
src = addMapLibreInstallerBlock(src, 'pre');
|
|
47
|
-
|
|
44
|
+
// let src = addInstallerBlock(contents, 'pre');
|
|
45
|
+
let src = addInstallerBlock(contents, 'post');
|
|
46
|
+
// src = addMapLibreInstallerBlock(src, 'pre');
|
|
47
|
+
src = addMapLibreInstallerBlock(src, 'post');
|
|
48
48
|
return src;
|
|
49
49
|
}
|
|
50
50
|
exports.applyCocoaPodsModifications = applyCocoaPodsModifications;
|