@maplibre/maplibre-react-native 10.0.0-beta.11 → 10.0.0-beta.12

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.
@@ -99,7 +99,7 @@ dependencies {
99
99
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
100
100
 
101
101
  // MapLibre SDK
102
- implementation "org.maplibre.gl:android-sdk:11.5.0"
102
+ implementation "org.maplibre.gl:android-sdk:11.7.1"
103
103
  implementation "org.maplibre.gl:android-sdk-turf:6.0.1"
104
104
 
105
105
  // Dependencies
@@ -24,10 +24,6 @@
24
24
 
25
25
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
26
26
  for (NSString *prop in styleProps) {
27
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
28
- continue;
29
- }
30
-
31
27
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
32
28
 
33
29
  if ([prop isEqualToString:@"fillSortKey"]) {
@@ -88,10 +84,6 @@
88
84
 
89
85
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
90
86
  for (NSString *prop in styleProps) {
91
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
92
- continue;
93
- }
94
-
95
87
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
96
88
 
97
89
  if ([prop isEqualToString:@"lineCap"]) {
@@ -176,10 +168,6 @@
176
168
 
177
169
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
178
170
  for (NSString *prop in styleProps) {
179
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
180
- continue;
181
- }
182
-
183
171
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
184
172
 
185
173
  if ([prop isEqualToString:@"symbolPlacement"]) {
@@ -348,10 +336,6 @@
348
336
 
349
337
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
350
338
  for (NSString *prop in styleProps) {
351
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
352
- continue;
353
- }
354
-
355
339
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
356
340
 
357
341
  if ([prop isEqualToString:@"circleSortKey"]) {
@@ -411,10 +395,6 @@
411
395
 
412
396
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
413
397
  for (NSString *prop in styleProps) {
414
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
415
- continue;
416
- }
417
-
418
398
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
419
399
 
420
400
  if ([prop isEqualToString:@"visibility"]) {
@@ -450,10 +430,6 @@
450
430
 
451
431
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
452
432
  for (NSString *prop in styleProps) {
453
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
454
- continue;
455
- }
456
-
457
433
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
458
434
 
459
435
  if ([prop isEqualToString:@"visibility"]) {
@@ -516,10 +492,6 @@
516
492
 
517
493
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
518
494
  for (NSString *prop in styleProps) {
519
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
520
- continue;
521
- }
522
-
523
495
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
524
496
 
525
497
  if ([prop isEqualToString:@"visibility"]) {
@@ -567,10 +539,6 @@
567
539
 
568
540
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
569
541
  for (NSString *prop in styleProps) {
570
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
571
- continue;
572
- }
573
-
574
542
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
575
543
 
576
544
  if ([prop isEqualToString:@"visibility"]) {
@@ -610,10 +578,6 @@
610
578
 
611
579
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
612
580
  for (NSString *prop in styleProps) {
613
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
614
- continue;
615
- }
616
-
617
581
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
618
582
 
619
583
  if ([prop isEqualToString:@"visibility"]) {
@@ -660,10 +624,6 @@
660
624
 
661
625
  NSArray<NSString*> *styleProps = [reactStyle allKeys];
662
626
  for (NSString *prop in styleProps) {
663
- if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
664
- continue;
665
- }
666
-
667
627
  MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
668
628
 
669
629
  if ([prop isEqualToString:@"anchor"]) {
@@ -28,7 +28,7 @@ def $MLRN.post_install(installer)
28
28
  url: "https://github.com/maplibre/maplibre-gl-native-distribution",
29
29
  requirement: {
30
30
  kind: "exactVersion",
31
- version: "6.5.4"
31
+ version: "6.9.0"
32
32
  },
33
33
  product_name: "MapLibre"
34
34
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maplibre/maplibre-react-native",
3
3
  "description": "React Native library for creating maps with MapLibre Native for Android & iOS",
4
- "version": "10.0.0-beta.11",
4
+ "version": "10.0.0-beta.12",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": true
@@ -26,22 +26,24 @@
26
26
  },
27
27
  "scripts": {
28
28
  "codegen": "tsx scripts/codegen.ts",
29
- "test": "jest",
30
29
  "lint": "yarn lint:tsc && yarn lint:eslint",
31
30
  "lint:tsc": "tsc --project ./ && tsc --project ./packages/examples",
32
31
  "lint:eslint": "eslint ./ --max-warnings 0",
33
32
  "lint:eslint:fix": "yarn lint:eslint --fix",
34
- "plugin:build": "tsc --build ./plugin",
33
+ "test": "jest",
35
34
  "plugin:lint": "yarn plugin:lint:tsc && yarn plugin:lint:eslint",
36
35
  "plugin:lint:tsc": "tsc --noEmit --project ./plugin",
37
36
  "plugin:lint:eslint": "eslint ./plugin/src/* --max-warnings 0",
38
37
  "plugin:test": "jest ./plugin",
39
- "prepack": "bob build && yarn plugin:build"
38
+ "plugin:build": "tsc --build ./plugin",
39
+ "prepack": "bob build && yarn plugin:build",
40
+ "example:react-native": "yarn workspace react-native-app",
41
+ "example:expo": "yarn workspace expo-app"
40
42
  },
41
43
  "workspaces": [
42
44
  "packages/*"
43
45
  ],
44
- "packageManager": "yarn@4.1.0",
46
+ "packageManager": "yarn@4.5.3",
45
47
  "main": "./lib/commonjs/index.js",
46
48
  "source": "./src/index.ts",
47
49
  "module": "./lib/module/index.js",
@@ -10,7 +10,7 @@ export interface Transition {
10
10
  delay: number;
11
11
  }
12
12
 
13
- export type FormattedString = string; /* TODO */
13
+ export type FormattedString = string;
14
14
 
15
15
  export type ExpressionName =
16
16
  // Types