diff --git a/.gitignore b/.gitignore
index 1d5c9b618..42dba6956 100644
--- a/.gitignore
+++ b/.gitignore
@@ -99,10 +99,11 @@ RNTester/Pods/*
# project specific
ios/Mapbox.framework
+ios/Maplibre.framework
ios/temp.zip
ios/.framework_version
ios/Pods/
-ios/RCTMGL.xcodeproj/xcshareddata/
+ios/RCTMLN.xcodeproj/xcshareddata/
android/build/
android/.gradle/
android/.idea/
diff --git a/.sonarcloud.properties b/.sonarcloud.properties
index cd93bc753..fbe9d49e4 100644
--- a/.sonarcloud.properties
+++ b/.sonarcloud.properties
@@ -1,5 +1,5 @@
# Path to sources
-sonar.sources=javascript,android/src,ios/RCTMGL
+sonar.sources=javascript,android/src,ios/RCTMLN
#sonar.exclusions=
#sonar.inclusions=
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 43246491d..a6187f243 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,9 @@ Please add unreleased changes in the following style:
PR Title ([#123](link to my pr))
```
+## 10.0.0-alpha.4
+Update maplibre-native to use [new metal renderer on iOS](https://github.com/maplibre/maplibre-native/releases/tag/ios-v6.4.0)
+
## 10.0.0-alpha.3
Fix: Remove unused import breaking react-native 0.74.0 ([#365](https://github.com/maplibre/maplibre-react-native/pull/365))
diff --git a/__tests__/components/BackgroundLayer.test.js b/__tests__/components/BackgroundLayer.test.js
index efc36b895..3e38fe98d 100644
--- a/__tests__/components/BackgroundLayer.test.js
+++ b/__tests__/components/BackgroundLayer.test.js
@@ -9,7 +9,7 @@ describe('BackgroundLayer', () => {
,
);
- const backgroundLayer = queryByTestId('rctmglBackgroundLayer');
+ const backgroundLayer = queryByTestId('rctmlnBackgroundLayer');
const {props} = backgroundLayer;
expect(props.sourceID).toStrictEqual('DefaultSourceID');
@@ -30,7 +30,7 @@ describe('BackgroundLayer', () => {
};
const {queryByTestId} = render();
- const backgroundLayer = queryByTestId('rctmglBackgroundLayer');
+ const backgroundLayer = queryByTestId('rctmlnBackgroundLayer');
const {props} = backgroundLayer;
expect(props.id).toStrictEqual(testProps.id);
diff --git a/__tests__/components/Callout.test.js b/__tests__/components/Callout.test.js
index d4f47e398..504486f46 100644
--- a/__tests__/components/Callout.test.js
+++ b/__tests__/components/Callout.test.js
@@ -15,7 +15,7 @@ describe('Callout', () => {
describe('_renderDefaultCallout', () => {
test('renders default children', () => {
const {UNSAFE_getByType, UNSAFE_getAllByType} = render();
- const callout = UNSAFE_getByType('RCTMGLCallout');
+ const callout = UNSAFE_getByType('RCTMLNCallout');
expect(callout).toBeDefined();
expect(UNSAFE_getAllByType(Text).length).toBe(1);
@@ -34,7 +34,7 @@ describe('Callout', () => {
,
);
- const callout = UNSAFE_getByType('RCTMGLCallout');
+ const callout = UNSAFE_getByType('RCTMLNCallout');
const views = UNSAFE_getAllByType(View);
const text = UNSAFE_getByType(Text);
@@ -76,7 +76,7 @@ describe('Callout', () => {
{'Foo Bar'}
,
);
- const callout = UNSAFE_getByType('RCTMGLCallout');
+ const callout = UNSAFE_getByType('RCTMLNCallout');
const views = UNSAFE_getAllByType(View);
const calloutWrapperTestStyle = callout.props.style[1].width;
diff --git a/__tests__/components/CircleLayer.test.js b/__tests__/components/CircleLayer.test.js
index 039b3b701..60dfa4208 100644
--- a/__tests__/components/CircleLayer.test.js
+++ b/__tests__/components/CircleLayer.test.js
@@ -6,7 +6,7 @@ import {render} from '@testing-library/react-native';
describe('CircleLayer', () => {
test('renders correctly with default props', () => {
const {queryByTestId} = render();
- const circleLayer = queryByTestId('rctmglCircleLayer');
+ const circleLayer = queryByTestId('rctmlnCircleLayer');
const {props} = circleLayer;
expect(props.sourceID).toStrictEqual('DefaultSourceID');
@@ -27,7 +27,7 @@ describe('CircleLayer', () => {
};
const {queryByTestId} = render();
- const circleLayer = queryByTestId('rctmglCircleLayer');
+ const circleLayer = queryByTestId('rctmlnCircleLayer');
const {props} = circleLayer;
expect(props.id).toStrictEqual(customProps.id);
diff --git a/__tests__/components/HeatmapLayer.test.js b/__tests__/components/HeatmapLayer.test.js
index 634df5e38..02801ec76 100644
--- a/__tests__/components/HeatmapLayer.test.js
+++ b/__tests__/components/HeatmapLayer.test.js
@@ -8,7 +8,7 @@ describe('HeatmapLayer', () => {
const {UNSAFE_getByType} = render(
,
);
- const heatmapLayer = UNSAFE_getByType('RCTMGLHeatmapLayer');
+ const heatmapLayer = UNSAFE_getByType('RCTMLNHeatmapLayer');
const {props} = heatmapLayer;
expect(props.sourceID).toStrictEqual('DefaultSourceID');
});
@@ -27,7 +27,7 @@ describe('HeatmapLayer', () => {
style: {visibility: 'none'},
};
const {UNSAFE_getByType} = render();
- const {props} = UNSAFE_getByType('RCTMGLHeatmapLayer');
+ const {props} = UNSAFE_getByType('RCTMLNHeatmapLayer');
expect(props.id).toStrictEqual(testProps.id);
expect(props.sourceID).toStrictEqual(testProps.sourceID);
diff --git a/__tests__/components/Light.test.js b/__tests__/components/Light.test.js
index 8981e0c4c..49aead81a 100644
--- a/__tests__/components/Light.test.js
+++ b/__tests__/components/Light.test.js
@@ -6,7 +6,7 @@ import {render} from '@testing-library/react-native';
describe('Light', () => {
test('renders correctly', () => {
const {queryByTestId} = render();
- const light = queryByTestId('rctmglLight');
+ const light = queryByTestId('rctmlnLight');
expect(light).toBeDefined();
});
@@ -21,7 +21,7 @@ describe('Light', () => {
const {queryByTestId} = render();
- const customStyles = queryByTestId('rctmglLight').props.reactStyle;
+ const customStyles = queryByTestId('rctmlnLight').props.reactStyle;
const {anchor} = customStyles;
const {color} = customStyles;
const {position} = customStyles;
diff --git a/__tests__/modules/location/locationManager.test.js b/__tests__/modules/location/locationManager.test.js
index 380a1359f..ff5c36394 100644
--- a/__tests__/modules/location/locationManager.test.js
+++ b/__tests__/modules/location/locationManager.test.js
@@ -4,8 +4,8 @@ import LocationManager, {
import {NativeModules} from 'react-native';
-const MapLibreGL = NativeModules.MGLModule;
-const MapLibreGLLocationManager = NativeModules.MGLLocationModule;
+const MapLibreGL = NativeModules.MLNModule;
+const MapLibreGLLocationManager = NativeModules.MLNLocationModule;
const location = {
coords: {
diff --git a/__tests__/modules/offline/OfflinePack.test.js b/__tests__/modules/offline/OfflinePack.test.js
index 73dea3c91..8927309c0 100644
--- a/__tests__/modules/offline/OfflinePack.test.js
+++ b/__tests__/modules/offline/OfflinePack.test.js
@@ -20,7 +20,7 @@ describe('OfflinePack', () => {
it('should resume pack download', () => {
const spy = jest.spyOn(
- NativeModules.MGLOfflineModule,
+ NativeModules.MLNOfflineModule,
'resumePackDownload',
);
const offlinePack = new OfflinePack(fakeNativePack);
@@ -30,7 +30,7 @@ describe('OfflinePack', () => {
});
it('should pause pack download', () => {
- const spy = jest.spyOn(NativeModules.MGLOfflineModule, 'pausePackDownload');
+ const spy = jest.spyOn(NativeModules.MLNOfflineModule, 'pausePackDownload');
const offlinePack = new OfflinePack(fakeNativePack);
offlinePack.pause();
expect(spy).toHaveBeenCalled();
@@ -38,7 +38,7 @@ describe('OfflinePack', () => {
});
it('should get pack status', () => {
- const spy = jest.spyOn(NativeModules.MGLOfflineModule, 'getPackStatus');
+ const spy = jest.spyOn(NativeModules.MLNOfflineModule, 'getPackStatus');
const offlinePack = new OfflinePack(fakeNativePack);
offlinePack.status();
expect(spy).toHaveBeenCalled();
diff --git a/__tests__/modules/offline/offlineManager.test.js b/__tests__/modules/offline/offlineManager.test.js
index 5942e53f3..a789db655 100644
--- a/__tests__/modules/offline/offlineManager.test.js
+++ b/__tests__/modules/offline/offlineManager.test.js
@@ -71,7 +71,7 @@ describe('offlineManager', () => {
it('should set max tile count limit', () => {
const expectedLimit = 2000;
- const spy = jest.spyOn(NativeModules.MGLOfflineModule, 'setTileCountLimit');
+ const spy = jest.spyOn(NativeModules.MLNOfflineModule, 'setTileCountLimit');
MapLibreGL.offlineManager.setTileCountLimit(expectedLimit);
expect(spy).toHaveBeenCalledWith(expectedLimit);
spy.mockRestore();
@@ -80,7 +80,7 @@ describe('offlineManager', () => {
it('should set progress event throttle value', () => {
const expectedThrottleValue = 500;
const spy = jest.spyOn(
- NativeModules.MGLOfflineModule,
+ NativeModules.MLNOfflineModule,
'setProgressEventThrottle',
);
MapLibreGL.offlineManager.setProgressEventThrottle(expectedThrottleValue);
@@ -194,7 +194,7 @@ describe('offlineManager', () => {
beforeEach(() => (Platform.OS = 'android'));
it('should set pack observer manually', async () => {
- const spy = jest.spyOn(NativeModules.MGLOfflineModule, 'setPackObserver');
+ const spy = jest.spyOn(NativeModules.MLNOfflineModule, 'setPackObserver');
const name = `test-${Date.now()}`;
const noop = () => {};
@@ -207,7 +207,7 @@ describe('offlineManager', () => {
});
it('should not set pack observer manually during create flow', async () => {
- const spy = jest.spyOn(NativeModules.MGLOfflineModule, 'setPackObserver');
+ const spy = jest.spyOn(NativeModules.MLNOfflineModule, 'setPackObserver');
const name = `test-${Date.now()}`;
const noop = () => {};
@@ -223,7 +223,7 @@ describe('offlineManager', () => {
beforeEach(() => (Platform.OS = 'ios'));
it('should not set pack observer manually', async () => {
- const spy = jest.spyOn(NativeModules.MGLOfflineModule, 'setPackObserver');
+ const spy = jest.spyOn(NativeModules.MLNOfflineModule, 'setPackObserver');
const name = `test-${Date.now()}`;
const noop = () => {};
diff --git a/__tests__/modules/snapshot/SnapshotOptions.test.js b/__tests__/modules/snapshot/SnapshotOptions.test.js
index 73e950145..47157eb12 100644
--- a/__tests__/modules/snapshot/SnapshotOptions.test.js
+++ b/__tests__/modules/snapshot/SnapshotOptions.test.js
@@ -17,7 +17,7 @@ describe('SnapshotOptions', () => {
const options = new SnapshotOptions({centerCoordinate});
expect(options.toJSON()).toEqual({
- styleURL: NativeModules.MGLModule.StyleURL.Default,
+ styleURL: NativeModules.MLNModule.StyleURL.Default,
heading: 0.0,
pitch: 0.0,
zoomLevel: 16.0,
@@ -39,7 +39,7 @@ describe('SnapshotOptions', () => {
height: 600,
writeToDisk: true,
withLogo: true,
- styleURL: NativeModules.MGLModule.StyleURL.Default,
+ styleURL: NativeModules.MLNModule.StyleURL.Default,
};
const options = new SnapshotOptions(expectedOptions);
@@ -59,7 +59,7 @@ describe('SnapshotOptions', () => {
],
width: 400,
height: 600,
- styleURL: NativeModules.MGLModule.StyleURL.Default,
+ styleURL: NativeModules.MLNModule.StyleURL.Default,
writeToDisk: false,
withLogo: true,
};
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/RCTMGLPackage.java b/android/rctmgl/src/main/java/com/mapbox/rctmgl/RCTMGLPackage.java
deleted file mode 100644
index f43ffc80f..000000000
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/RCTMGLPackage.java
+++ /dev/null
@@ -1,99 +0,0 @@
-package com.mapbox.rctmgl;
-
-import com.facebook.react.ReactPackage;
-import com.facebook.react.bridge.JavaScriptModule;
-import com.facebook.react.bridge.NativeModule;
-import com.facebook.react.bridge.ReactApplicationContext;
-import com.facebook.react.uimanager.ViewManager;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import com.mapbox.rctmgl.components.annotation.RCTMGLCalloutManager;
-import com.mapbox.rctmgl.components.annotation.RCTMGLPointAnnotationManager;
-import com.mapbox.rctmgl.components.annotation.RCTMGLMarkerViewManager;
-import com.mapbox.rctmgl.components.camera.RCTMGLCameraManager;
-import com.mapbox.rctmgl.components.images.RCTMGLImagesManager;
-import com.mapbox.rctmgl.components.location.RCTMGLNativeUserLocationManager;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapViewManager;
-import com.mapbox.rctmgl.components.mapview.RCTMGLAndroidTextureMapViewManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLBackgroundLayerManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLCircleLayerManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLFillExtrusionLayerManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLFillLayerManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLHeatmapLayerManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLLineLayerManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLRasterLayerManager;
-import com.mapbox.rctmgl.components.styles.layers.RCTMGLSymbolLayerManager;
-import com.mapbox.rctmgl.components.styles.light.RCTMGLLightManager;
-import com.mapbox.rctmgl.components.styles.sources.RCTMGLImageSourceManager;
-import com.mapbox.rctmgl.components.styles.sources.RCTMGLRasterSourceManager;
-import com.mapbox.rctmgl.components.styles.sources.RCTMGLShapeSourceManager;
-import com.mapbox.rctmgl.components.styles.sources.RCTMGLVectorSourceManager;
-import com.mapbox.rctmgl.modules.RCTMGLLocationModule;
-import com.mapbox.rctmgl.modules.RCTMGLLogging;
-import com.mapbox.rctmgl.modules.RCTMGLModule;
-import com.mapbox.rctmgl.modules.RCTMGLOfflineModule;
-import com.mapbox.rctmgl.modules.RCTMGLSnapshotModule;
-
-/**
- * Created by nickitaliano on 8/18/17.
- */
-
-public class RCTMGLPackage implements ReactPackage {
-
- @Override
- public List createNativeModules(ReactApplicationContext reactApplicationContext) {
- List modules = new ArrayList<>();
-
- modules.add(new RCTMGLModule(reactApplicationContext));
- modules.add(new RCTMGLOfflineModule(reactApplicationContext));
- modules.add(new RCTMGLSnapshotModule(reactApplicationContext));
- modules.add(new RCTMGLLocationModule(reactApplicationContext));
- modules.add(new RCTMGLLogging(reactApplicationContext));
-
- return modules;
- }
-
- @Deprecated
- public List> createJSModules() {
- return Collections.emptyList();
- }
-
- @Override
- public List createViewManagers(ReactApplicationContext reactApplicationContext) {
- List managers = new ArrayList<>();
-
- // components
- managers.add(new RCTMGLCameraManager(reactApplicationContext));
- managers.add(new RCTMGLMapViewManager(reactApplicationContext));
- managers.add(new RCTMGLMarkerViewManager(reactApplicationContext));
- managers.add(new RCTMGLAndroidTextureMapViewManager(reactApplicationContext));
- managers.add(new RCTMGLLightManager());
- managers.add(new RCTMGLPointAnnotationManager(reactApplicationContext));
- managers.add(new RCTMGLCalloutManager());
- managers.add(new RCTMGLNativeUserLocationManager());
-
- // sources
- managers.add(new RCTMGLVectorSourceManager(reactApplicationContext));
- managers.add(new RCTMGLShapeSourceManager(reactApplicationContext));
- managers.add(new RCTMGLRasterSourceManager(reactApplicationContext));
- managers.add(new RCTMGLImageSourceManager());
-
- // images
- managers.add(new RCTMGLImagesManager(reactApplicationContext));
-
- // layers
- managers.add(new RCTMGLFillLayerManager());
- managers.add(new RCTMGLFillExtrusionLayerManager());
- managers.add(new RCTMGLHeatmapLayerManager());
- managers.add(new RCTMGLLineLayerManager());
- managers.add(new RCTMGLCircleLayerManager());
- managers.add(new RCTMGLSymbolLayerManager());
- managers.add(new RCTMGLRasterLayerManager());
- managers.add(new RCTMGLBackgroundLayerManager());
-
- return managers;
- }
-}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java b/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java
deleted file mode 100644
index b8230b289..000000000
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.mapbox.rctmgl.components.annotation;
-
-import com.facebook.react.uimanager.ThemedReactContext;
-import com.facebook.react.uimanager.ViewGroupManager;
-
-/**
- * Created by nickitaliano on 10/11/17.
- */
-
-public class RCTMGLCalloutManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLCallout";
-
- @Override
- public String getName() {
- return REACT_CLASS;
- }
-
- @Override
- protected RCTMGLCallout createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLCallout(reactContext);
- }
-}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.java b/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.java
deleted file mode 100644
index 8e360cbf4..000000000
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.mapbox.rctmgl.components.styles.layers;
-
-import android.content.Context;
-
-import com.mapbox.mapboxsdk.style.layers.BackgroundLayer;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
-
-/**
- * Created by nickitaliano on 9/25/17.
- */
-
-public class RCTMGLBackgroundLayer extends RCTLayer {
- public RCTMGLBackgroundLayer(Context context) {
- super(context);
- }
-
- @Override
- public BackgroundLayer makeLayer() {
- return new BackgroundLayer(mID);
- }
-
- @Override
- public void addStyles() {
- RCTMGLStyleFactory.setBackgroundLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
- }
-}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.java b/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.java
deleted file mode 100644
index c7c65325b..000000000
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.mapbox.rctmgl.components.styles.layers;
-
-import android.content.Context;
-
-import com.mapbox.mapboxsdk.style.layers.RasterLayer;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
-
-/**
- * Created by nickitaliano on 9/25/17.
- */
-
-public class RCTMGLRasterLayer extends RCTLayer {
- public RCTMGLRasterLayer(Context context) {
- super(context);
- }
-
- @Override
- public RasterLayer makeLayer() {
- return new RasterLayer(mID, mSourceID);
- }
-
- @Override
- public void addStyles() {
- RCTMGLStyleFactory.setRasterLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
- }
-}
diff --git a/android/rctmgl/src/main/res/values/strings.xml b/android/rctmgl/src/main/res/values/strings.xml
deleted file mode 100644
index 069947f47..000000000
--- a/android/rctmgl/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,3 +0,0 @@
-
- RCTMGL
-
diff --git a/android/rctmgl/.gitignore b/android/rctmln/.gitignore
similarity index 100%
rename from android/rctmgl/.gitignore
rename to android/rctmln/.gitignore
diff --git a/android/rctmgl/.npmignore b/android/rctmln/.npmignore
similarity index 100%
rename from android/rctmgl/.npmignore
rename to android/rctmln/.npmignore
diff --git a/android/rctmgl/.settings/org.eclipse.buildship.core.prefs b/android/rctmln/.settings/org.eclipse.buildship.core.prefs
similarity index 100%
rename from android/rctmgl/.settings/org.eclipse.buildship.core.prefs
rename to android/rctmln/.settings/org.eclipse.buildship.core.prefs
diff --git a/android/rctmgl/build.gradle b/android/rctmln/build.gradle
similarity index 100%
rename from android/rctmgl/build.gradle
rename to android/rctmln/build.gradle
diff --git a/android/rctmgl/proguard-rules.pro b/android/rctmln/proguard-rules.pro
similarity index 100%
rename from android/rctmgl/proguard-rules.pro
rename to android/rctmln/proguard-rules.pro
diff --git a/android/rctmgl/src/main/AndroidManifest.xml b/android/rctmln/src/main/AndroidManifest.xml
similarity index 85%
rename from android/rctmgl/src/main/AndroidManifest.xml
rename to android/rctmln/src/main/AndroidManifest.xml
index cdc05e12a..335fa4c02 100644
--- a/android/rctmgl/src/main/AndroidManifest.xml
+++ b/android/rctmln/src/main/AndroidManifest.xml
@@ -1,4 +1,4 @@
-
+
diff --git a/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java b/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java
new file mode 100644
index 000000000..cf02f0b8b
--- /dev/null
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java
@@ -0,0 +1,99 @@
+package com.maplibre.rctmln;
+
+import com.facebook.react.ReactPackage;
+import com.facebook.react.bridge.JavaScriptModule;
+import com.facebook.react.bridge.NativeModule;
+import com.facebook.react.bridge.ReactApplicationContext;
+import com.facebook.react.uimanager.ViewManager;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import com.maplibre.rctmln.components.annotation.RCTMLNCalloutManager;
+import com.maplibre.rctmln.components.annotation.RCTMLNPointAnnotationManager;
+import com.maplibre.rctmln.components.annotation.RCTMLNMarkerViewManager;
+import com.maplibre.rctmln.components.camera.RCTMLNCameraManager;
+import com.maplibre.rctmln.components.images.RCTMLNImagesManager;
+import com.maplibre.rctmln.components.location.RCTMLNNativeUserLocationManager;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapViewManager;
+import com.maplibre.rctmln.components.mapview.RCTMLNAndroidTextureMapViewManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNBackgroundLayerManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNCircleLayerManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNFillExtrusionLayerManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNFillLayerManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNHeatmapLayerManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNLineLayerManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNRasterLayerManager;
+import com.maplibre.rctmln.components.styles.layers.RCTMLNSymbolLayerManager;
+import com.maplibre.rctmln.components.styles.light.RCTMLNLightManager;
+import com.maplibre.rctmln.components.styles.sources.RCTMLNImageSourceManager;
+import com.maplibre.rctmln.components.styles.sources.RCTMLNRasterSourceManager;
+import com.maplibre.rctmln.components.styles.sources.RCTMLNShapeSourceManager;
+import com.maplibre.rctmln.components.styles.sources.RCTMLNVectorSourceManager;
+import com.maplibre.rctmln.modules.RCTMLNLocationModule;
+import com.maplibre.rctmln.modules.RCTMLNLogging;
+import com.maplibre.rctmln.modules.RCTMLNModule;
+import com.maplibre.rctmln.modules.RCTMLNOfflineModule;
+import com.maplibre.rctmln.modules.RCTMLNSnapshotModule;
+
+/**
+ * Created by nickitaliano on 8/18/17.
+ */
+
+public class RCTMLNPackage implements ReactPackage {
+
+ @Override
+ public List createNativeModules(ReactApplicationContext reactApplicationContext) {
+ List modules = new ArrayList<>();
+
+ modules.add(new RCTMLNModule(reactApplicationContext));
+ modules.add(new RCTMLNOfflineModule(reactApplicationContext));
+ modules.add(new RCTMLNSnapshotModule(reactApplicationContext));
+ modules.add(new RCTMLNLocationModule(reactApplicationContext));
+ modules.add(new RCTMLNLogging(reactApplicationContext));
+
+ return modules;
+ }
+
+ @Deprecated
+ public List> createJSModules() {
+ return Collections.emptyList();
+ }
+
+ @Override
+ public List createViewManagers(ReactApplicationContext reactApplicationContext) {
+ List managers = new ArrayList<>();
+
+ // components
+ managers.add(new RCTMLNCameraManager(reactApplicationContext));
+ managers.add(new RCTMLNMapViewManager(reactApplicationContext));
+ managers.add(new RCTMLNMarkerViewManager(reactApplicationContext));
+ managers.add(new RCTMLNAndroidTextureMapViewManager(reactApplicationContext));
+ managers.add(new RCTMLNLightManager());
+ managers.add(new RCTMLNPointAnnotationManager(reactApplicationContext));
+ managers.add(new RCTMLNCalloutManager());
+ managers.add(new RCTMLNNativeUserLocationManager());
+
+ // sources
+ managers.add(new RCTMLNVectorSourceManager(reactApplicationContext));
+ managers.add(new RCTMLNShapeSourceManager(reactApplicationContext));
+ managers.add(new RCTMLNRasterSourceManager(reactApplicationContext));
+ managers.add(new RCTMLNImageSourceManager());
+
+ // images
+ managers.add(new RCTMLNImagesManager(reactApplicationContext));
+
+ // layers
+ managers.add(new RCTMLNFillLayerManager());
+ managers.add(new RCTMLNFillExtrusionLayerManager());
+ managers.add(new RCTMLNHeatmapLayerManager());
+ managers.add(new RCTMLNLineLayerManager());
+ managers.add(new RCTMLNCircleLayerManager());
+ managers.add(new RCTMLNSymbolLayerManager());
+ managers.add(new RCTMLNRasterLayerManager());
+ managers.add(new RCTMLNBackgroundLayerManager());
+
+ return managers;
+ }
+}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEvent.java
similarity index 92%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEvent.java
index cf2d10347..d212d106e 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components;
+package com.maplibre.rctmln.components;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.uimanager.events.Event;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractEventEmitter.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEventEmitter.java
similarity index 96%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractEventEmitter.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEventEmitter.java
index e5c19cefa..952c71775 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractEventEmitter.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEventEmitter.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components;
+package com.maplibre.rctmln.components;
import android.view.ViewGroup;
@@ -8,7 +8,7 @@
import com.facebook.react.uimanager.UIManagerModule;
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.events.EventDispatcher;
-import com.mapbox.rctmgl.events.IEvent;
+import com.maplibre.rctmln.events.IEvent;
import java.util.HashMap;
import java.util.Map;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractMapFeature.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractMapFeature.java
similarity index 56%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractMapFeature.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractMapFeature.java
index a06f8fe39..5b5ced450 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/AbstractMapFeature.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractMapFeature.java
@@ -1,9 +1,9 @@
-package com.mapbox.rctmgl.components;
+package com.maplibre.rctmln.components;
import android.content.Context;
import com.facebook.react.views.view.ReactViewGroup;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
/**
* Created by nickitaliano on 9/6/17.
@@ -14,6 +14,6 @@ public AbstractMapFeature(Context context) {
super(context);
}
- public abstract void addToMap(RCTMGLMapView mapView);
- public abstract void removeFromMap(RCTMGLMapView mapView);
+ public abstract void addToMap(RCTMLNMapView mapView);
+ public abstract void removeFromMap(RCTMLNMapView mapView);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/MarkerView.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerView.java
similarity index 90%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/MarkerView.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerView.java
index 7a42211dd..ff23d28d0 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/MarkerView.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerView.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.annotation;
+package com.maplibre.rctmln.components.annotation;
import android.view.View;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/MarkerViewManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerViewManager.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/MarkerViewManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerViewManager.java
index ed806704c..8f541cc1e 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/MarkerViewManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerViewManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.annotation;
+package com.maplibre.rctmln.components.annotation;
import androidx.annotation.NonNull;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCallout.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java
similarity index 53%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCallout.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java
index 94d53f95c..3c9b48e73 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCallout.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.annotation;
+package com.maplibre.rctmln.components.annotation;
import android.content.Context;
@@ -8,8 +8,8 @@
* Created by nickitaliano on 10/11/17.
*/
-public class RCTMGLCallout extends ReactViewGroup {
- public RCTMGLCallout(Context context) {
+public class RCTMLNCallout extends ReactViewGroup {
+ public RCTMLNCallout(Context context) {
super(context);
}
}
diff --git a/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java
new file mode 100644
index 000000000..0ed63f22e
--- /dev/null
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java
@@ -0,0 +1,22 @@
+package com.maplibre.rctmln.components.annotation;
+
+import com.facebook.react.uimanager.ThemedReactContext;
+import com.facebook.react.uimanager.ViewGroupManager;
+
+/**
+ * Created by nickitaliano on 10/11/17.
+ */
+
+public class RCTMLNCalloutManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNCallout";
+
+ @Override
+ public String getName() {
+ return REACT_CLASS;
+ }
+
+ @Override
+ protected RCTMLNCallout createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNCallout(reactContext);
+ }
+}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java
similarity index 82%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java
index 74c4a53a4..6e68c9863 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.annotation;
+package com.maplibre.rctmln.components.annotation;
import android.content.Context;
import android.graphics.PointF;
@@ -9,13 +9,13 @@
import com.mapbox.geojson.Point;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.OnMapReadyCallback;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
-public class RCTMGLMarkerView extends AbstractMapFeature implements MarkerView.OnPositionUpdateListener, View.OnLayoutChangeListener {
- private RCTMGLMarkerViewManager mManager;
- private RCTMGLMapView mMapView;
+public class RCTMLNMarkerView extends AbstractMapFeature implements MarkerView.OnPositionUpdateListener, View.OnLayoutChangeListener {
+ private RCTMLNMarkerViewManager mManager;
+ private RCTMLNMapView mMapView;
private View mChildView;
@@ -26,7 +26,7 @@ public class RCTMGLMarkerView extends AbstractMapFeature implements MarkerView.O
private Float[] mAnchor;
- public RCTMGLMarkerView(Context context, RCTMGLMarkerViewManager manager) {
+ public RCTMLNMarkerView(Context context, RCTMLNMarkerViewManager manager) {
super(context);
mManager = manager;
}
@@ -57,10 +57,10 @@ public void refresh() {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
mMapView = mapView;
- final RCTMGLMarkerView rctmglMarkerView = this;
+ final RCTMLNMarkerView rctmlnMarkerView = this;
mMapView.getMapAsync(
new OnMapReadyCallback() {
@@ -70,8 +70,8 @@ public void onMapReady(@NonNull MapboxMap mapboxMap) {
if (mChildView != null) {
mMarkerView = new MarkerView(GeoJSONUtils.toLatLng(mCoordinate), mChildView);
- mMarkerView.setOnPositionUpdateListener(rctmglMarkerView);
- mChildView.addOnLayoutChangeListener(rctmglMarkerView);
+ mMarkerView.setOnPositionUpdateListener(rctmlnMarkerView);
+ mChildView.addOnLayoutChangeListener(rctmlnMarkerView);
mMarkerViewManager.addMarker(mMarkerView);
}
}
@@ -91,7 +91,7 @@ public PointF onUpdate(PointF pointF) {
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
+ public void removeFromMap(RCTMLNMapView mapView) {
if (mMarkerView != null) {
mMarkerViewManager.removeMarker(mMarkerView);
mChildView.removeOnLayoutChangeListener(this);
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java
similarity index 59%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java
index 32c9fb9bb..3504dafa1 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java
@@ -1,19 +1,19 @@
-package com.mapbox.rctmgl.components.annotation;
+package com.maplibre.rctmln.components.annotation;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
import java.util.Map;
-public class RCTMGLMarkerViewManager extends AbstractEventEmitter {
- public static final String REACT_CLASS = "RCTMGLMarkerView";
+public class RCTMLNMarkerViewManager extends AbstractEventEmitter {
+ public static final String REACT_CLASS = "RCTMLNMarkerView";
- public RCTMGLMarkerViewManager(ReactApplicationContext reactApplicationContext) {
+ public RCTMLNMarkerViewManager(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@@ -23,18 +23,18 @@ public String getName() {
}
@ReactProp(name="coordinate")
- public void setCoordinate(RCTMGLMarkerView markerView, String geoJSONStr) {
+ public void setCoordinate(RCTMLNMarkerView markerView, String geoJSONStr) {
markerView.setCoordinate(GeoJSONUtils.toPointGeometry(geoJSONStr));
}
@ReactProp(name="anchor")
- public void setAnchor(RCTMGLMarkerView markerView, ReadableMap map) {
+ public void setAnchor(RCTMLNMarkerView markerView, ReadableMap map) {
markerView.setAnchor((float) map.getDouble("x"), (float) map.getDouble("y"));
}
@Override
- protected RCTMGLMarkerView createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLMarkerView(reactContext, this);
+ protected RCTMLNMarkerView createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNMarkerView(reactContext, this);
}
@Override
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java
similarity index 92%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java
index daf77fa41..d4ef17731 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.annotation;
+package com.maplibre.rctmln.components.annotation;
import android.content.Context;
import android.graphics.PointF;
@@ -13,20 +13,20 @@
import com.mapbox.mapboxsdk.plugins.annotation.SymbolManager;
import com.mapbox.mapboxsdk.plugins.annotation.SymbolOptions;
import com.mapbox.mapboxsdk.maps.MapboxMap;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.events.PointAnnotationClickEvent;
-import com.mapbox.rctmgl.events.PointAnnotationDragEvent;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
-import com.mapbox.rctmgl.utils.BitmapUtils;
-
-public class RCTMGLPointAnnotation extends AbstractMapFeature implements View.OnLayoutChangeListener {
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.events.PointAnnotationClickEvent;
+import com.maplibre.rctmln.events.PointAnnotationDragEvent;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
+import com.maplibre.rctmln.utils.BitmapUtils;
+
+public class RCTMLNPointAnnotation extends AbstractMapFeature implements View.OnLayoutChangeListener {
private Context mContext;
- private RCTMGLPointAnnotationManager mManager;
+ private RCTMLNPointAnnotationManager mManager;
private Symbol mAnnotation;
private MapboxMap mMap;
- private RCTMGLMapView mMapView;
+ private RCTMLNMapView mMapView;
private boolean mHasChildren;
@@ -51,7 +51,7 @@ public class RCTMGLPointAnnotation extends AbstractMapFeature implements View.On
private static final String MARKER_IMAGE_ID = "MARKER_IMAGE_ID";
- public RCTMGLPointAnnotation(Context context, RCTMGLPointAnnotationManager manager) {
+ public RCTMLNPointAnnotation(Context context, RCTMLNPointAnnotationManager manager) {
super(context);
mContext = context;
mManager = manager;
@@ -59,7 +59,7 @@ public RCTMGLPointAnnotation(Context context, RCTMGLPointAnnotationManager manag
@Override
public void addView(View childView, int childPosition) {
- if (childView instanceof RCTMGLCallout) {
+ if (childView instanceof RCTMLNCallout) {
mCalloutView = childView;
} else {
mChildView = childView;
@@ -91,7 +91,7 @@ public void onStyleLoaded(@NonNull Style style) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
mMapView = mapView;
mMap = mapView.getMapboxMap();
makeMarker();
@@ -112,8 +112,8 @@ public void addToMap(RCTMGLMapView mapView) {
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
- RCTMGLMapView map = (mMapView != null) ? mMapView : mapView;
+ public void removeFromMap(RCTMLNMapView mapView) {
+ RCTMLNMapView map = (mMapView != null) ? mMapView : mapView;
if (map == null) {
return;
}
@@ -144,7 +144,7 @@ private void refreshBitmap(View v, int left, int top, int right, int bottom) {
Bitmap bitmap = BitmapUtils.viewToBitmap(v, left, top, right, bottom);
String bitmapId = Integer.toString(v.getId());
addBitmapToStyle(bitmap, bitmapId);
- if (v instanceof RCTMGLCallout) {
+ if (v instanceof RCTMLNCallout) {
mCalloutBitmap = bitmap;
mCalloutBitmapId = bitmapId;
} else {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotationManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java
similarity index 71%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotationManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java
index 734b03f33..5afae0f0b 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotationManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.annotation;
+package com.maplibre.rctmln.components.annotation;
import androidx.annotation.Nullable;
@@ -8,9 +8,9 @@
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
import java.util.Map;
@@ -18,10 +18,10 @@
* Created by nickitaliano on 9/27/17.
*/
-public class RCTMGLPointAnnotationManager extends AbstractEventEmitter {
- public static final String REACT_CLASS = "RCTMGLPointAnnotation";
+public class RCTMLNPointAnnotationManager extends AbstractEventEmitter {
+ public static final String REACT_CLASS = "RCTMLNPointAnnotation";
- public RCTMGLPointAnnotationManager(ReactApplicationContext reactApplicationContext) {
+ public RCTMLNPointAnnotationManager(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@@ -53,32 +53,32 @@ public String getName() {
}
@Override
- protected RCTMGLPointAnnotation createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLPointAnnotation(reactContext, this);
+ protected RCTMLNPointAnnotation createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNPointAnnotation(reactContext, this);
}
@ReactProp(name="id")
- public void setId(RCTMGLPointAnnotation annotation, String id) {
+ public void setId(RCTMLNPointAnnotation annotation, String id) {
annotation.setID(id);
}
@ReactProp(name="coordinate")
- public void setCoordinate(RCTMGLPointAnnotation annotation, String geoJSONStr) {
+ public void setCoordinate(RCTMLNPointAnnotation annotation, String geoJSONStr) {
annotation.setCoordinate(GeoJSONUtils.toPointGeometry(geoJSONStr));
}
@ReactProp(name="anchor")
- public void setAnchor(RCTMGLPointAnnotation annotation, ReadableMap map) {
+ public void setAnchor(RCTMLNPointAnnotation annotation, ReadableMap map) {
annotation.setAnchor((float) map.getDouble("x"), (float) map.getDouble("y"));
}
@ReactProp(name="draggable")
- public void setDraggable(RCTMGLPointAnnotation annotation, Boolean draggable) {
+ public void setDraggable(RCTMLNPointAnnotation annotation, Boolean draggable) {
annotation.setDraggable(draggable);
}
@Override
- public void receiveCommand(RCTMGLPointAnnotation annotation, int commandID, @Nullable ReadableArray args) {
+ public void receiveCommand(RCTMLNPointAnnotation annotation, int commandID, @Nullable ReadableArray args) {
switch (commandID) {
case METHOD_REFRESH:
annotation.refresh();
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraStop.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraStop.java
similarity index 95%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraStop.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraStop.java
index 490122ae2..2a4041748 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraStop.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraStop.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.camera;
+package com.maplibre.rctmln.components.camera;
import android.content.Context;
import androidx.annotation.NonNull;
@@ -13,10 +13,10 @@
import com.mapbox.mapboxsdk.geometry.LatLng;
import com.mapbox.mapboxsdk.geometry.LatLngBounds;
import com.mapbox.mapboxsdk.maps.MapboxMap;
-import com.mapbox.rctmgl.components.camera.constants.CameraMode;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.camera.constants.CameraMode;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
/**
* Created by nickitaliano on 9/5/17.
@@ -80,7 +80,7 @@ public void setMode(@CameraMode.Mode int mode) {
mMode = mode;
}
- public CameraUpdateItem toCameraUpdate(RCTMGLMapView mapView) {
+ public CameraUpdateItem toCameraUpdate(RCTMLNMapView mapView) {
MapboxMap map = mapView.getMapboxMap();
CameraPosition currentCamera = map.getCameraPosition();
CameraPosition.Builder builder = new CameraPosition.Builder(currentCamera);
@@ -212,7 +212,7 @@ public static CameraStop fromReadableMap(Context context, @NonNull ReadableMap r
return stop;
}
- private static int[] clippedPadding(int[] padding, RCTMGLMapView mapView) {
+ private static int[] clippedPadding(int[] padding, RCTMLNMapView mapView) {
int mapHeight = mapView.getHeight();
int mapWidth = mapView.getWidth();
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraUpdateItem.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateItem.java
similarity index 96%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraUpdateItem.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateItem.java
index 4bfb472bd..4efc29ff1 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraUpdateItem.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateItem.java
@@ -1,11 +1,11 @@
-package com.mapbox.rctmgl.components.camera;
+package com.maplibre.rctmln.components.camera;
import androidx.annotation.NonNull;
import com.mapbox.mapboxsdk.camera.CameraUpdate;
import com.mapbox.mapboxsdk.constants.MapboxConstants;
import com.mapbox.mapboxsdk.maps.MapboxMap;
-import com.mapbox.rctmgl.components.camera.constants.CameraMode;
+import com.maplibre.rctmln.components.camera.constants.CameraMode;
import java.lang.ref.WeakReference;
import java.util.concurrent.Callable;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraUpdateQueue.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateQueue.java
similarity index 90%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraUpdateQueue.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateQueue.java
index 5c2ca480d..0afe77840 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/CameraUpdateQueue.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateQueue.java
@@ -1,7 +1,7 @@
-package com.mapbox.rctmgl.components.camera;
+package com.maplibre.rctmln.components.camera;
import com.mapbox.mapboxsdk.maps.MapboxMap;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
import java.util.ArrayList;
import java.util.Iterator;
@@ -53,7 +53,7 @@ public void setOnCompleteAllListener(OnCompleteAllListener listener) {
mCompleteListener = listener;
}
- public void execute(RCTMGLMapView map) {
+ public void execute(RCTMLNMapView map) {
if (mQueue.isEmpty()) {
if (mCompleteListener != null) {
mCompleteListener.onCompleteAll();
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCamera.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java
similarity index 93%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCamera.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java
index 9e77f5b4e..421f65132 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCamera.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.camera;
+package com.maplibre.rctmln.components.camera;
import android.content.Context;
import android.location.Location;
@@ -18,22 +18,22 @@
import com.mapbox.mapboxsdk.location.LocationComponentOptions;
import com.mapbox.mapboxsdk.location.LocationComponentActivationOptions;
// import com.mapbox.mapboxsdk.plugins.locationlayer.LocationLayerPlugin;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.location.LocationComponentManager;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.events.IEvent;
-import com.mapbox.rctmgl.events.MapUserTrackingModeEvent;
-import com.mapbox.rctmgl.events.MapChangeEvent;
-import com.mapbox.rctmgl.location.LocationManager;
-import com.mapbox.rctmgl.location.UserLocation;
-import com.mapbox.rctmgl.location.UserLocationVerticalAlignment;
-import com.mapbox.rctmgl.location.UserTrackingMode;
-import com.mapbox.rctmgl.location.UserTrackingState;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
-
-import com.mapbox.rctmgl.R;
-
-import com.mapbox.rctmgl.events.constants.EventTypes;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.location.LocationComponentManager;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.events.IEvent;
+import com.maplibre.rctmln.events.MapUserTrackingModeEvent;
+import com.maplibre.rctmln.events.MapChangeEvent;
+import com.maplibre.rctmln.location.LocationManager;
+import com.maplibre.rctmln.location.UserLocation;
+import com.maplibre.rctmln.location.UserLocationVerticalAlignment;
+import com.maplibre.rctmln.location.UserTrackingMode;
+import com.maplibre.rctmln.location.UserTrackingState;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
+
+import com.maplibre.rctmln.R;
+
+import com.maplibre.rctmln.events.constants.EventTypes;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableNativeMap;
@@ -44,9 +44,9 @@
import androidx.annotation.NonNull;
-public class RCTMGLCamera extends AbstractMapFeature {
- private RCTMGLCameraManager mManager;
- private RCTMGLMapView mMapView;
+public class RCTMLNCamera extends AbstractMapFeature {
+ private RCTMLNCameraManager mManager;
+ private RCTMLNMapView mMapView;
private boolean hasSentFirstRegion = false;
@@ -114,7 +114,7 @@ public void onFinish() {
}
};
- public RCTMGLCamera(Context context, RCTMGLCameraManager manager) {
+ public RCTMLNCamera(Context context, RCTMLNCameraManager manager) {
super(context);
mContext = context;
mManager = manager;
@@ -125,7 +125,7 @@ public RCTMGLCamera(Context context, RCTMGLCameraManager manager) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
mMapView = mapView;
setInitialCamera();
@@ -142,7 +142,7 @@ public void addToMap(RCTMGLMapView mapView) {
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
+ public void removeFromMap(RCTMLNMapView mapView) {
}
@@ -191,7 +191,7 @@ private void updateMaxMinZoomLevel() {
private void setInitialCamera() {
if (mDefaultStop != null) {
mDefaultStop.setDuration(0);
- mDefaultStop.setMode(com.mapbox.rctmgl.components.camera.constants.CameraMode.NONE);
+ mDefaultStop.setMode(com.maplibre.rctmln.components.camera.constants.CameraMode.NONE);
CameraUpdateItem item = mDefaultStop.toCameraUpdate(mMapView);
item.run();
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java
similarity index 64%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java
index 07097ec83..f467c45be 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.camera;
+package com.maplibre.rctmln.components.camera;
import com.mapbox.geojson.FeatureCollection;
import com.facebook.common.logging.FLog;
@@ -6,18 +6,18 @@
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
import java.util.HashMap;
import java.util.Map;
-public class RCTMGLCameraManager extends AbstractEventEmitter {
- public static final String REACT_CLASS = "RCTMGLCamera";
+public class RCTMLNCameraManager extends AbstractEventEmitter {
+ public static final String REACT_CLASS = "RCTMLNCamera";
private ReactApplicationContext mContext;
- public RCTMGLCameraManager(ReactApplicationContext context) {
+ public RCTMLNCameraManager(ReactApplicationContext context) {
super(context);
mContext = context;
}
@@ -33,12 +33,12 @@ public String getName() {
}
@Override
- protected RCTMGLCamera createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLCamera(reactContext, this);
+ protected RCTMLNCamera createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNCamera(reactContext, this);
}
@ReactProp(name="stop")
- public void setStop(RCTMGLCamera camera, ReadableMap map) {
+ public void setStop(RCTMLNCamera camera, ReadableMap map) {
if (map != null) {
CameraStop stop = CameraStop.fromReadableMap(mContext, map, null);
camera.setStop(stop);
@@ -46,7 +46,7 @@ public void setStop(RCTMGLCamera camera, ReadableMap map) {
}
@ReactProp(name="defaultStop")
- public void setDefaultStop(RCTMGLCamera camera, ReadableMap map) {
+ public void setDefaultStop(RCTMLNCamera camera, ReadableMap map) {
if (map != null) {
CameraStop stop = CameraStop.fromReadableMap(mContext, map, null);
camera.setDefaultStop(stop);
@@ -54,7 +54,7 @@ public void setDefaultStop(RCTMGLCamera camera, ReadableMap map) {
}
@ReactProp(name="maxBounds")
- public void setMaxBounds(RCTMGLCamera camera, String value) {
+ public void setMaxBounds(RCTMLNCamera camera, String value) {
if (value != null) {
FeatureCollection collection = FeatureCollection.fromJson(value);
camera.setMaxBounds(GeoJSONUtils.toLatLngBounds(collection));
@@ -63,38 +63,38 @@ public void setMaxBounds(RCTMGLCamera camera, String value) {
@ReactProp(name="userTrackingMode")
- public void setUserTrackingMode(RCTMGLCamera camera, int userTrackingMode) {
+ public void setUserTrackingMode(RCTMLNCamera camera, int userTrackingMode) {
camera.setUserTrackingMode(userTrackingMode);
throw new AssertionError("Unused code");
}
@ReactProp(name="followZoomLevel")
- public void setZoomLevel(RCTMGLCamera camera, double zoomLevel) {
+ public void setZoomLevel(RCTMLNCamera camera, double zoomLevel) {
camera.setZoomLevel(zoomLevel);
}
@ReactProp(name="followUserLocation")
- public void setFollowUserLocation(RCTMGLCamera camera, boolean value) {
+ public void setFollowUserLocation(RCTMLNCamera camera, boolean value) {
camera.setFollowUserLocation(value);
}
@ReactProp(name="followUserMode")
- public void setFollowUserMode(RCTMGLCamera camera, String value) {
+ public void setFollowUserMode(RCTMLNCamera camera, String value) {
camera.setFollowUserMode(value);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLCamera camera, double value) {
+ public void setMinZoomLevel(RCTMLNCamera camera, double value) {
camera.setMinZoomLevel(value);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLCamera camera, double value) {
+ public void setMaxZoomLevel(RCTMLNCamera camera, double value) {
camera.setMaxZoomLevel(value);
}
@ReactProp(name="followPitch")
- public void setFollowPitch(RCTMGLCamera camera, double value) {
+ public void setFollowPitch(RCTMLNCamera camera, double value) {
camera.setFollowPitch(value);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/constants/CameraMode.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/constants/CameraMode.java
similarity index 89%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/constants/CameraMode.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/constants/CameraMode.java
index 4d0bc1bcc..4df0b19d5 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/constants/CameraMode.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/constants/CameraMode.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.camera.constants;
+package com.maplibre.rctmln.components.camera.constants;
import androidx.annotation.IntDef;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImages.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java
similarity index 90%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImages.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java
index 194905a0a..8dcdff45b 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImages.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.images;
+package com.maplibre.rctmln.components.images;
import android.content.Context;
import android.graphics.Bitmap;
@@ -11,12 +11,12 @@
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.Style;
import com.mapbox.mapboxsdk.utils.BitmapUtils;
-import com.mapbox.rctmgl.R;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.events.ImageMissingEvent;
-import com.mapbox.rctmgl.utils.DownloadMapImageTask;
-import com.mapbox.rctmgl.utils.ImageEntry;
+import com.maplibre.rctmln.R;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.events.ImageMissingEvent;
+import com.maplibre.rctmln.utils.DownloadMapImageTask;
+import com.maplibre.rctmln.utils.ImageEntry;
import java.util.AbstractMap;
import java.util.ArrayList;
@@ -28,12 +28,12 @@
import java.util.Set;
import java.util.stream.Collectors;
-public class RCTMGLImages extends AbstractMapFeature {
+public class RCTMLNImages extends AbstractMapFeature {
private static Bitmap mImagePlaceholder;
Set mCurrentImages;
private Map mImages;
private Map mNativeImages;
- private RCTMGLImagesManager mManager;
+ private RCTMLNImagesManager mManager;
private boolean mSendMissingImageEvents = false;
private MapboxMap mMap;
@@ -47,7 +47,7 @@ public void setID(String id) {
mID = id;
}
- public RCTMGLImages(Context context, RCTMGLImagesManager manager) {
+ public RCTMLNImages(Context context, RCTMLNImagesManager manager) {
super(context);
mManager = manager;
mCurrentImages = new HashSet<>();
@@ -93,7 +93,7 @@ public void setHasOnImageMissing(boolean value) {
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
+ public void removeFromMap(RCTMLNMapView mapView) {
removeImages(mapView);
mMap = null;
mNativeImages = new HashMap<>();
@@ -101,7 +101,7 @@ public void removeFromMap(RCTMGLMapView mapView) {
mCurrentImages = new HashSet<>();
}
- private void removeImages(RCTMGLMapView mapView) {
+ private void removeImages(RCTMLNMapView mapView) {
mapView.getStyle(new Style.OnStyleLoaded() {
@Override
public void onStyleLoaded(@NonNull Style style) {
@@ -136,14 +136,14 @@ public boolean addMissingImageToStyle(@NonNull String id, @NonNull MapboxMap map
if (mNativeImages != null) {
BitmapDrawable drawable = mNativeImages.get(id);
if (drawable != null) {
- addNativeImages(RCTMGLImages.entry(id, drawable), map);
+ addNativeImages(RCTMLNImages.entry(id, drawable), map);
return true;
}
}
if (mImages != null) {
ImageEntry entry = mImages.get(id);
if (entry != null) {
- addRemoteImages(RCTMGLImages.entry(id, entry), map);
+ addRemoteImages(RCTMLNImages.entry(id, entry), map);
return true;
}
}
@@ -175,7 +175,7 @@ private boolean hasImage(String imageId, @NonNull MapboxMap map) {
}
@Override
- public void addToMap(final RCTMGLMapView mapView) {
+ public void addToMap(final RCTMLNMapView mapView) {
// Wait for style before adding the source to the map
// only then we can pre-load required images / placeholders into the style
// before we add the ShapeSource to the map
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImagesManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java
similarity index 73%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImagesManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java
index fa197927f..616b1d9e5 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImagesManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.images;
+package com.maplibre.rctmln.components.images;
import android.graphics.drawable.BitmapDrawable;
@@ -11,12 +11,12 @@
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.styles.sources.RCTMGLShapeSource;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.utils.ImageEntry;
-import com.mapbox.rctmgl.utils.ResourceUtils;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.styles.sources.RCTMLNShapeSource;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.utils.ImageEntry;
+import com.maplibre.rctmln.utils.ResourceUtils;
import java.util.AbstractMap;
import java.util.ArrayList;
@@ -24,34 +24,34 @@
import java.util.Map;
-public class RCTMGLImagesManager extends AbstractEventEmitter {
- public static final String REACT_CLASS = "RCTMGLImages";
+public class RCTMLNImagesManager extends AbstractEventEmitter {
+ public static final String REACT_CLASS = "RCTMLNImages";
private ReactApplicationContext mContext;
@Override
public String getName() {
- return "RCTMGLImages";
+ return "RCTMLNImages";
}
- public RCTMGLImagesManager(ReactApplicationContext context) {
+ public RCTMLNImagesManager(ReactApplicationContext context) {
super(context);
mContext = context;
}
@Override
- public RCTMGLImages createViewInstance(ThemedReactContext context) {
- return new RCTMGLImages(context, this);
+ public RCTMLNImages createViewInstance(ThemedReactContext context) {
+ return new RCTMLNImages(context, this);
}
@ReactProp(name = "id")
- public void setId(RCTMGLImages source, String id) {
+ public void setId(RCTMLNImages source, String id) {
source.setID(id);
}
@ReactProp(name = "images")
- public void setImages(RCTMGLImages images, ReadableMap map) {
+ public void setImages(RCTMLNImages images, ReadableMap map) {
List> imagesList = new ArrayList<>();
ReadableMapKeySetIterator iterator = map.keySetIterator();
@@ -74,12 +74,12 @@ public void setImages(RCTMGLImages images, ReadableMap map) {
}
@ReactProp(name = "hasOnImageMissing")
- public void setHasOnImageMissing(RCTMGLImages images, Boolean value) {
+ public void setHasOnImageMissing(RCTMLNImages images, Boolean value) {
images.setHasOnImageMissing(value);
}
@ReactProp(name = "nativeImages")
- public void setNativeImages(RCTMGLImages images, ReadableArray arr) {
+ public void setNativeImages(RCTMLNImages images, ReadableArray arr) {
List> resources = new ArrayList<>();
for (int i = 0; i < arr.size(); i++) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/LocationComponentManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/LocationComponentManager.java
similarity index 94%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/LocationComponentManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/location/LocationComponentManager.java
index 2cf8f0c41..428f6a4c3 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/LocationComponentManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/LocationComponentManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.location;
+package com.maplibre.rctmln.components.location;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -11,9 +11,9 @@
import com.mapbox.mapboxsdk.location.modes.RenderMode;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.Style;
-import com.mapbox.rctmgl.R;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.location.LocationManager;
+import com.maplibre.rctmln.R;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.location.LocationManager;
import androidx.annotation.NonNull;
@@ -23,7 +23,7 @@
* And NativeUserLocation can ask for display of user's current location - independent of Camera's user tracking.
*/
public class LocationComponentManager {
- private RCTMGLMapView mMapView = null;
+ private RCTMLNMapView mMapView = null;
private MapboxMap mMap = null;
private LocationManager mLocationManager = null;
@@ -32,8 +32,8 @@ public class LocationComponentManager {
private @RenderMode.Mode int mRenderMode = RenderMode.COMPASS;
- public LocationComponentManager(RCTMGLMapView rctmglMapView, Context context) {
- mMapView = rctmglMapView;
+ public LocationComponentManager(RCTMLNMapView rctmlnMapView, Context context) {
+ mMapView = rctmlnMapView;
mMap = mMapView.getMapboxMap();
mContext = context;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java
similarity index 80%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java
index 745f185cc..69cbad2cf 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.location;
+package com.maplibre.rctmln.components.location;
import android.annotation.SuppressLint;
import android.content.Context;
@@ -9,21 +9,21 @@
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.OnMapReadyCallback;
import com.mapbox.mapboxsdk.maps.Style;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
-public class RCTMGLNativeUserLocation extends AbstractMapFeature implements OnMapReadyCallback, Style.OnStyleLoaded {
+public class RCTMLNNativeUserLocation extends AbstractMapFeature implements OnMapReadyCallback, Style.OnStyleLoaded {
private boolean mEnabled = true;
private MapboxMap mMap;
- private RCTMGLMapView mMapView;
+ private RCTMLNMapView mMapView;
private @RenderMode.Mode int mRenderMode = RenderMode.COMPASS;
- public RCTMGLNativeUserLocation(Context context) {
+ public RCTMLNNativeUserLocation(Context context) {
super(context);
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
mEnabled = true;
mMapView = mapView;
mapView.getMapAsync(this);
@@ -31,7 +31,7 @@ public void addToMap(RCTMGLMapView mapView) {
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
+ public void removeFromMap(RCTMLNMapView mapView) {
mEnabled = false;
if (mMap != null) mMap.getStyle(this);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java
similarity index 66%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java
index 834246537..ca639e295 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.location;
+package com.maplibre.rctmln.components.location;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewGroupManager;
@@ -7,8 +7,8 @@
import javax.annotation.Nonnull;
-public class RCTMGLNativeUserLocationManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLNativeUserLocation";
+public class RCTMLNNativeUserLocationManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNNativeUserLocation";
@Nonnull
@Override
@@ -17,7 +17,7 @@ public String getName() {
}
@ReactProp(name="androidRenderMode")
- public void setAndroidRenderMode(RCTMGLNativeUserLocation userLocation, String mode) {
+ public void setAndroidRenderMode(RCTMLNNativeUserLocation userLocation, String mode) {
if ("compass".equalsIgnoreCase(mode)) {
userLocation.setRenderMode(RenderMode.COMPASS);
} else if ("gps".equalsIgnoreCase(mode)) {
@@ -29,7 +29,7 @@ public void setAndroidRenderMode(RCTMGLNativeUserLocation userLocation, String m
@Nonnull
@Override
- protected RCTMGLNativeUserLocation createViewInstance(@Nonnull ThemedReactContext reactContext) {
- return new RCTMGLNativeUserLocation(reactContext);
+ protected RCTMLNNativeUserLocation createViewInstance(@Nonnull ThemedReactContext reactContext) {
+ return new RCTMLNNativeUserLocation(reactContext);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/LayerSourceInfo.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/LayerSourceInfo.java
similarity index 98%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/LayerSourceInfo.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/LayerSourceInfo.java
index e8d93715f..95d99fdb2 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/LayerSourceInfo.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/LayerSourceInfo.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.mapview;
+package com.maplibre.rctmln.components.mapview;
import com.mapbox.mapboxsdk.style.layers.CircleLayer;
import com.mapbox.mapboxsdk.style.layers.FillExtrusionLayer;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapView.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java
similarity index 55%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapView.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java
index df81804e4..0786fd784 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapView.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.mapview;
+package com.maplibre.rctmln.components.mapview;
import android.content.Context;
import com.mapbox.mapboxsdk.maps.MapboxMapOptions;
@@ -7,10 +7,10 @@
*/
@SuppressWarnings({"MissingPermission"})
-public class RCTMGLAndroidTextureMapView extends RCTMGLMapView {
- public static final String LOG_TAG = "RCTMGLAndroidTextureMapView";
+public class RCTMLNAndroidTextureMapView extends RCTMLNMapView {
+ public static final String LOG_TAG = "RCTMLNAndroidTextureMapView";
- public RCTMGLAndroidTextureMapView(Context context, RCTMGLAndroidTextureMapViewManager manager, MapboxMapOptions options) {
+ public RCTMLNAndroidTextureMapView(Context context, RCTMLNAndroidTextureMapViewManager manager, MapboxMapOptions options) {
super(context, manager, options);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java
similarity index 58%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java
index 39964b87a..1d6f71181 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.mapview;
+package com.maplibre.rctmln.components.mapview;
import com.facebook.react.bridge.ReactApplicationContext;
import com.mapbox.mapboxsdk.maps.MapboxMapOptions;
@@ -9,11 +9,11 @@
* Created by hernanmateo on 12/11/18.
*/
-public class RCTMGLAndroidTextureMapViewManager extends RCTMGLMapViewManager {
- public static final String LOG_TAG = "RCTMGLAndroidTextureMapViewManager";
- public static final String REACT_CLASS = "RCTMGLAndroidTextureMapView";
+public class RCTMLNAndroidTextureMapViewManager extends RCTMLNMapViewManager {
+ public static final String LOG_TAG = "RCTMLNAndroidTextureMapViewManager";
+ public static final String REACT_CLASS = "RCTMLNAndroidTextureMapView";
- public RCTMGLAndroidTextureMapViewManager(ReactApplicationContext context) {
+ public RCTMLNAndroidTextureMapViewManager(ReactApplicationContext context) {
super(context);
}
@@ -23,9 +23,9 @@ public String getName() {
}
@Override
- protected RCTMGLAndroidTextureMapView createViewInstance(ThemedReactContext themedReactContext) {
+ protected RCTMLNAndroidTextureMapView createViewInstance(ThemedReactContext themedReactContext) {
MapboxMapOptions options = new MapboxMapOptions();
options.textureMode(true);
- return new RCTMGLAndroidTextureMapView(themedReactContext, this, options);
+ return new RCTMLNAndroidTextureMapView(themedReactContext, this, options);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java
similarity index 92%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java
index 4661accb2..a204a85b7 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.mapview;
+package com.maplibre.rctmln.components.mapview;
import android.content.Context;
import android.graphics.Bitmap;
@@ -49,29 +49,29 @@
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.Layer;
import com.mapbox.mapboxsdk.style.layers.Property;
-import com.mapbox.rctmgl.R;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.annotation.RCTMGLPointAnnotation;
-import com.mapbox.rctmgl.components.annotation.RCTMGLMarkerView;
-import com.mapbox.rctmgl.components.annotation.MarkerView;
-import com.mapbox.rctmgl.components.annotation.MarkerViewManager;
-import com.mapbox.rctmgl.components.camera.RCTMGLCamera;
-import com.mapbox.rctmgl.components.images.RCTMGLImages;
-import com.mapbox.rctmgl.components.location.LocationComponentManager;
-import com.mapbox.rctmgl.components.location.RCTMGLNativeUserLocation;
-import com.mapbox.rctmgl.components.mapview.helpers.CameraChangeTracker;
-import com.mapbox.rctmgl.components.styles.layers.RCTLayer;
-import com.mapbox.rctmgl.components.styles.light.RCTMGLLight;
-import com.mapbox.rctmgl.components.styles.sources.RCTMGLShapeSource;
-import com.mapbox.rctmgl.components.styles.sources.RCTSource;
-import com.mapbox.rctmgl.events.AndroidCallbackEvent;
-import com.mapbox.rctmgl.events.IEvent;
-import com.mapbox.rctmgl.events.MapChangeEvent;
-import com.mapbox.rctmgl.events.MapClickEvent;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.utils.BitmapUtils;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
-import com.mapbox.rctmgl.utils.GeoViewport;
+import com.maplibre.rctmln.R;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.annotation.RCTMLNPointAnnotation;
+import com.maplibre.rctmln.components.annotation.RCTMLNMarkerView;
+import com.maplibre.rctmln.components.annotation.MarkerView;
+import com.maplibre.rctmln.components.annotation.MarkerViewManager;
+import com.maplibre.rctmln.components.camera.RCTMLNCamera;
+import com.maplibre.rctmln.components.images.RCTMLNImages;
+import com.maplibre.rctmln.components.location.LocationComponentManager;
+import com.maplibre.rctmln.components.location.RCTMLNNativeUserLocation;
+import com.maplibre.rctmln.components.mapview.helpers.CameraChangeTracker;
+import com.maplibre.rctmln.components.styles.layers.RCTLayer;
+import com.maplibre.rctmln.components.styles.light.RCTMLNLight;
+import com.maplibre.rctmln.components.styles.sources.RCTMLNShapeSource;
+import com.maplibre.rctmln.components.styles.sources.RCTSource;
+import com.maplibre.rctmln.events.AndroidCallbackEvent;
+import com.maplibre.rctmln.events.IEvent;
+import com.maplibre.rctmln.events.MapChangeEvent;
+import com.maplibre.rctmln.events.MapClickEvent;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.utils.BitmapUtils;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
+import com.maplibre.rctmln.utils.GeoViewport;
import java.util.ArrayList;
import java.util.Arrays;
@@ -85,34 +85,34 @@
import javax.annotation.Nullable;
import static com.mapbox.mapboxsdk.style.layers.PropertyFactory.visibility;
-import static com.mapbox.rctmgl.modules.RCTMGLOfflineModule.DEFAULT_STYLE_URL;
+import static com.maplibre.rctmln.modules.RCTMLNOfflineModule.DEFAULT_STYLE_URL;
/**
* Created by nickitaliano on 8/18/17.
*/
@SuppressWarnings({ "MissingPermission" })
-public class RCTMGLMapView extends MapView implements OnMapReadyCallback, MapboxMap.OnMapClickListener,
+public class RCTMLNMapView extends MapView implements OnMapReadyCallback, MapboxMap.OnMapClickListener,
MapboxMap.OnMapLongClickListener, MapView.OnCameraIsChangingListener, MapView.OnCameraDidChangeListener,
MapView.OnDidFailLoadingMapListener, MapView.OnDidFinishLoadingMapListener,
MapView.OnWillStartRenderingFrameListener, MapView.OnDidFinishRenderingFrameListener,
MapView.OnWillStartRenderingMapListener, MapView.OnDidFinishRenderingMapListener,
MapView.OnDidFinishLoadingStyleListener, MapView.OnStyleImageMissingListener {
- public static final String LOG_TAG = "RCTMGLMapView";
+ public static final String LOG_TAG = "RCTMLNMapView";
- private RCTMGLMapViewManager mManager;
+ private RCTMLNMapViewManager mManager;
private Context mContext;
private Handler mHandler;
private LifecycleEventListener mLifeCycleListener;
private boolean mPaused;
private boolean mDestroyed;
- private RCTMGLCamera mCamera;
+ private RCTMLNCamera mCamera;
private List mFeatures;
private List mQueuedFeatures;
- private Map mPointAnnotations;
+ private Map mPointAnnotations;
private Map mSources;
- private List mImages;
+ private List mImages;
private CameraChangeTracker mCameraChangeTracker = new CameraChangeTracker();
private List> mPreRenderMethods = new ArrayList<>();
@@ -156,7 +156,7 @@ public class RCTMGLMapView extends MapView implements OnMapReadyCallback, Mapbox
private @Nullable Integer mTintColor = null;
- public RCTMGLMapView(Context context, RCTMGLMapViewManager manager, MapboxMapOptions options) {
+ public RCTMLNMapView(Context context, RCTMLNMapViewManager manager, MapboxMapOptions options) {
super(context, options);
mContext = context;
@@ -221,23 +221,23 @@ public void addFeature(View childView, int childPosition) {
RCTSource source = (RCTSource) childView;
mSources.put(source.getID(), source);
feature = (AbstractMapFeature) childView;
- } else if (childView instanceof RCTMGLImages) {
- RCTMGLImages images = (RCTMGLImages) childView;
+ } else if (childView instanceof RCTMLNImages) {
+ RCTMLNImages images = (RCTMLNImages) childView;
mImages.add(images);
feature = (AbstractMapFeature) childView;
- } else if (childView instanceof RCTMGLLight) {
+ } else if (childView instanceof RCTMLNLight) {
feature = (AbstractMapFeature) childView;
- } else if (childView instanceof RCTMGLNativeUserLocation) {
+ } else if (childView instanceof RCTMLNNativeUserLocation) {
feature = (AbstractMapFeature) childView;
- } else if (childView instanceof RCTMGLPointAnnotation) {
- RCTMGLPointAnnotation annotation = (RCTMGLPointAnnotation) childView;
+ } else if (childView instanceof RCTMLNPointAnnotation) {
+ RCTMLNPointAnnotation annotation = (RCTMLNPointAnnotation) childView;
mPointAnnotations.put(annotation.getID(), annotation);
feature = (AbstractMapFeature) childView;
- } else if (childView instanceof RCTMGLMarkerView) {
- RCTMGLMarkerView marker = (RCTMGLMarkerView) childView;
+ } else if (childView instanceof RCTMLNMarkerView) {
+ RCTMLNMarkerView marker = (RCTMLNMarkerView) childView;
feature = (AbstractMapFeature) childView;
- } else if (childView instanceof RCTMGLCamera) {
- mCamera = (RCTMGLCamera) childView;
+ } else if (childView instanceof RCTMLNCamera) {
+ mCamera = (RCTMLNCamera) childView;
feature = (AbstractMapFeature) childView;
} else if (childView instanceof RCTLayer) {
feature = (RCTLayer) childView;
@@ -269,16 +269,16 @@ public void removeFeature(int childPosition) {
if (feature instanceof RCTSource) {
RCTSource source = (RCTSource) feature;
mSources.remove(source.getID());
- } else if (feature instanceof RCTMGLPointAnnotation) {
- RCTMGLPointAnnotation annotation = (RCTMGLPointAnnotation) feature;
+ } else if (feature instanceof RCTMLNPointAnnotation) {
+ RCTMLNPointAnnotation annotation = (RCTMLNPointAnnotation) feature;
if (annotation.getMapboxID() == mActiveMarkerID) {
mActiveMarkerID = -1;
}
mPointAnnotations.remove(annotation.getID());
- } else if (feature instanceof RCTMGLImages) {
- RCTMGLImages images = (RCTMGLImages) feature;
+ } else if (feature instanceof RCTMLNImages) {
+ RCTMLNImages images = (RCTMLNImages) feature;
mImages.remove(images);
}
@@ -358,13 +358,13 @@ public void easeCamera(CameraUpdate cameraUpdate) {
mMap.easeCamera(cameraUpdate);
}
- public RCTMGLPointAnnotation getPointAnnotationByID(String annotationID) {
+ public RCTMLNPointAnnotation getPointAnnotationByID(String annotationID) {
if (annotationID == null) {
return null;
}
for (String key : mPointAnnotations.keySet()) {
- RCTMGLPointAnnotation annotation = mPointAnnotations.get(key);
+ RCTMLNPointAnnotation annotation = mPointAnnotations.get(key);
if (annotation != null && annotationID.equals(annotation.getID())) {
return annotation;
@@ -374,9 +374,9 @@ public RCTMGLPointAnnotation getPointAnnotationByID(String annotationID) {
return null;
}
- public RCTMGLPointAnnotation getPointAnnotationByMarkerID(long markerID) {
+ public RCTMLNPointAnnotation getPointAnnotationByMarkerID(long markerID) {
for (String key : mPointAnnotations.keySet()) {
- RCTMGLPointAnnotation annotation = mPointAnnotations.get(key);
+ RCTMLNPointAnnotation annotation = mPointAnnotations.get(key);
if (annotation != null && markerID == annotation.getMapboxID()) {
return annotation;
@@ -531,7 +531,7 @@ public boolean onAnnotationClick(Symbol symbol) {
public void onAnnotationDragStarted(Symbol symbol) {
mAnnotationClicked = true;
final long selectedMarkerID = symbol.getId();
- RCTMGLPointAnnotation annotation = getPointAnnotationByMarkerID(selectedMarkerID);
+ RCTMLNPointAnnotation annotation = getPointAnnotationByMarkerID(selectedMarkerID);
if (annotation != null) {
annotation.onDragStart();
}
@@ -540,7 +540,7 @@ public void onAnnotationDragStarted(Symbol symbol) {
@Override
public void onAnnotationDrag(Symbol symbol) {
final long selectedMarkerID = symbol.getId();
- RCTMGLPointAnnotation annotation = getPointAnnotationByMarkerID(selectedMarkerID);
+ RCTMLNPointAnnotation annotation = getPointAnnotationByMarkerID(selectedMarkerID);
if (annotation != null) {
annotation.onDrag();
}
@@ -550,7 +550,7 @@ public void onAnnotationDrag(Symbol symbol) {
public void onAnnotationDragFinished(Symbol symbol) {
mAnnotationClicked = false;
final long selectedMarkerID = symbol.getId();
- RCTMGLPointAnnotation annotation = getPointAnnotationByMarkerID(selectedMarkerID);
+ RCTMLNPointAnnotation annotation = getPointAnnotationByMarkerID(selectedMarkerID);
if (annotation != null) {
annotation.onDragEnd();
}
@@ -572,7 +572,7 @@ public void addQueuedFeatures() {
}
private void setupLocalization(Style style) {
- mLocalizationPlugin = new LocalizationPlugin(RCTMGLMapView.this, mMap, style);
+ mLocalizationPlugin = new LocalizationPlugin(RCTMLNMapView.this, mMap, style);
if (mLocalizeLabels) {
try {
mLocalizationPlugin.matchMapLanguageWithDeviceDefault();
@@ -672,11 +672,11 @@ public void onMarkerClick(@NonNull Symbol symbol) {
mAnnotationClicked = true;
final long selectedMarkerID = symbol.getId();
- RCTMGLPointAnnotation activeAnnotation = null;
- RCTMGLPointAnnotation nextActiveAnnotation = null;
+ RCTMLNPointAnnotation activeAnnotation = null;
+ RCTMLNPointAnnotation nextActiveAnnotation = null;
for (String key : mPointAnnotations.keySet()) {
- RCTMGLPointAnnotation annotation = mPointAnnotations.get(key);
+ RCTMLNPointAnnotation annotation = mPointAnnotations.get(key);
final long curMarkerID = annotation.getMapboxID();
if (mActiveMarkerID == curMarkerID) {
activeAnnotation = annotation;
@@ -696,12 +696,12 @@ public void onMarkerClick(@NonNull Symbol symbol) {
}
- public void selectAnnotation(RCTMGLPointAnnotation annotation) {
+ public void selectAnnotation(RCTMLNPointAnnotation annotation) {
mActiveMarkerID = annotation.getMapboxID();
annotation.onSelect(true);
}
- public void deselectAnnotation(RCTMGLPointAnnotation annotation) {
+ public void deselectAnnotation(RCTMLNPointAnnotation annotation) {
mActiveMarkerID = -1;
annotation.onDeselect();
}
@@ -767,12 +767,12 @@ public void onDidFinishLoadingStyle() {
@Override
public void onStyleImageMissing(@NonNull String id) {
- for (RCTMGLImages images : mImages) {
+ for (RCTMLNImages images : mImages) {
if (images.addMissingImageToStyle(id, mMap)) {
return;
}
}
- for (RCTMGLImages images : mImages) {
+ for (RCTMLNImages images : mImages) {
images.sendImageMissingEvent(id, mMap);
}
}
@@ -1024,7 +1024,7 @@ public void onSnapshotReady(Bitmap snapshot) {
: BitmapUtils.createBase64(snapshot);
payload.putString("uri", uri);
- AndroidCallbackEvent event = new AndroidCallbackEvent(RCTMGLMapView.this, callbackID, payload);
+ AndroidCallbackEvent event = new AndroidCallbackEvent(RCTMLNMapView.this, callbackID, payload);
mManager.handleEvent(event);
}
});
@@ -1353,14 +1353,14 @@ private List getAllTouchableSources() {
return sources;
}
- private List getAllShapeSources() {
- List shapeSources = new ArrayList<>();
+ private List getAllShapeSources() {
+ List shapeSources = new ArrayList<>();
for (String key : mSources.keySet()) {
RCTSource source = mSources.get(key);
- if (source instanceof RCTMGLShapeSource) {
- shapeSources.add((RCTMGLShapeSource) source);
+ if (source instanceof RCTMLNShapeSource) {
+ shapeSources.add((RCTMLNShapeSource) source);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java
similarity index 80%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java
index 3e90d253e..015ad50c3 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.mapview;
+package com.maplibre.rctmln.components.mapview;
import android.util.Log;
import android.view.Gravity;
@@ -14,11 +14,11 @@
import com.mapbox.mapboxsdk.geometry.LatLngBounds;
import com.mapbox.mapboxsdk.log.Logger;
import com.mapbox.mapboxsdk.maps.MapboxMap;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.ExpressionParser;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.ExpressionParser;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
import com.mapbox.geojson.FeatureCollection;
import com.mapbox.geojson.Point;
@@ -37,13 +37,13 @@
* Created by nickitaliano on 8/18/17.
*/
-public class RCTMGLMapViewManager extends AbstractEventEmitter {
- public static final String LOG_TAG = "RCTMGLMapViewManager";
- public static final String REACT_CLASS = "RCTMGLMapView";
+public class RCTMLNMapViewManager extends AbstractEventEmitter {
+ public static final String LOG_TAG = "RCTMLNMapViewManager";
+ public static final String REACT_CLASS = "RCTMLNMapView";
- private Map mViews;
+ private Map mViews;
- public RCTMGLMapViewManager(ReactApplicationContext context) {
+ public RCTMLNMapViewManager(ReactApplicationContext context) {
super(context);
mViews = new HashMap<>();
}
@@ -64,7 +64,7 @@ public Class extends LayoutShadowNode> getShadowNodeClass() {
}
@Override
- protected void onAfterUpdateTransaction(RCTMGLMapView mapView) {
+ protected void onAfterUpdateTransaction(RCTMLNMapView mapView) {
super.onAfterUpdateTransaction(mapView);
if (mapView.getMapboxMap() == null) {
@@ -74,32 +74,32 @@ protected void onAfterUpdateTransaction(RCTMGLMapView mapView) {
}
@Override
- public void addView(RCTMGLMapView mapView, View childView, int childPosition) {
+ public void addView(RCTMLNMapView mapView, View childView, int childPosition) {
mapView.addFeature(childView, childPosition);
}
@Override
- public int getChildCount(RCTMGLMapView mapView) {
+ public int getChildCount(RCTMLNMapView mapView) {
return mapView.getFeatureCount();
}
@Override
- public View getChildAt(RCTMGLMapView mapView, int index) {
+ public View getChildAt(RCTMLNMapView mapView, int index) {
return mapView.getFeatureAt(index);
}
@Override
- public void removeViewAt(RCTMGLMapView mapView, int index) {
+ public void removeViewAt(RCTMLNMapView mapView, int index) {
mapView.removeFeature(index);
}
@Override
- protected RCTMGLMapView createViewInstance(ThemedReactContext themedReactContext) {
- return new RCTMGLMapView(themedReactContext, this, null);
+ protected RCTMLNMapView createViewInstance(ThemedReactContext themedReactContext) {
+ return new RCTMLNMapView(themedReactContext, this, null);
}
@Override
- public void onDropViewInstance(RCTMGLMapView mapView) {
+ public void onDropViewInstance(RCTMLNMapView mapView) {
int reactTag = mapView.getId();
if (mViews.containsKey(reactTag)) {
@@ -109,89 +109,89 @@ public void onDropViewInstance(RCTMGLMapView mapView) {
super.onDropViewInstance(mapView);
}
- public RCTMGLMapView getByReactTag(int reactTag) {
+ public RCTMLNMapView getByReactTag(int reactTag) {
return mViews.get(reactTag);
}
//region React Props
@ReactProp(name="styleURL")
- public void setStyleURL(RCTMGLMapView mapView, String styleURL) {
+ public void setStyleURL(RCTMLNMapView mapView, String styleURL) {
mapView.setReactStyleURL(styleURL);
}
@ReactProp(name="preferredFramesPerSecond")
- public void setPreferredFramesPerSecond(RCTMGLMapView mapView, int preferredFramesPerSecond) {
+ public void setPreferredFramesPerSecond(RCTMLNMapView mapView, int preferredFramesPerSecond) {
mapView.setReactPreferredFramesPerSecond(preferredFramesPerSecond);
}
@ReactProp(name="localizeLabels")
- public void setLocalizeLabels(RCTMGLMapView mapView, boolean localizeLabels) {
+ public void setLocalizeLabels(RCTMLNMapView mapView, boolean localizeLabels) {
mapView.setLocalizeLabels(localizeLabels);
}
@ReactProp(name="zoomEnabled")
- public void setZoomEnabled(RCTMGLMapView mapView, boolean zoomEnabled) {
+ public void setZoomEnabled(RCTMLNMapView mapView, boolean zoomEnabled) {
mapView.setReactZoomEnabled(zoomEnabled);
}
@ReactProp(name="scrollEnabled")
- public void setScrollEnabled(RCTMGLMapView mapView, boolean scrollEnabled) {
+ public void setScrollEnabled(RCTMLNMapView mapView, boolean scrollEnabled) {
mapView.setReactScrollEnabled(scrollEnabled);
}
@ReactProp(name="pitchEnabled")
- public void setPitchEnabled(RCTMGLMapView mapView, boolean pitchEnabled) {
+ public void setPitchEnabled(RCTMLNMapView mapView, boolean pitchEnabled) {
mapView.setReactPitchEnabled(pitchEnabled);
}
@ReactProp(name="rotateEnabled")
- public void setRotateEnabled(RCTMGLMapView mapView, boolean rotateEnabled) {
+ public void setRotateEnabled(RCTMLNMapView mapView, boolean rotateEnabled) {
mapView.setReactRotateEnabled(rotateEnabled);
}
@ReactProp(name="attributionEnabled")
- public void setAttributionEnabled(RCTMGLMapView mapView, boolean attributionEnabled) {
+ public void setAttributionEnabled(RCTMLNMapView mapView, boolean attributionEnabled) {
mapView.setReactAttributionEnabled(attributionEnabled);
}
@ReactProp(name="attributionPosition")
- public void setAttributionPosition(RCTMGLMapView mapView, @Nullable ReadableMap attributionPosition) {
+ public void setAttributionPosition(RCTMLNMapView mapView, @Nullable ReadableMap attributionPosition) {
mapView.setReactAttributionPosition(attributionPosition);
}
@ReactProp(name="logoEnabled")
- public void setLogoEnabled(RCTMGLMapView mapView, boolean logoEnabled) {
+ public void setLogoEnabled(RCTMLNMapView mapView, boolean logoEnabled) {
mapView.setReactLogoEnabled(logoEnabled);
}
@ReactProp(name="logoPosition")
- public void setLogoPosition(RCTMGLMapView mapView, ReadableMap logoPosition) {
+ public void setLogoPosition(RCTMLNMapView mapView, ReadableMap logoPosition) {
mapView.setReactLogoPosition(logoPosition);
}
@ReactProp(name="compassEnabled")
- public void setCompassEnabled(RCTMGLMapView mapView, boolean compassEnabled) {
+ public void setCompassEnabled(RCTMLNMapView mapView, boolean compassEnabled) {
mapView.setReactCompassEnabled(compassEnabled);
}
@ReactProp(name="compassViewMargins")
- public void setCompassViewMargins(RCTMGLMapView mapView, ReadableMap compassViewMargins){
+ public void setCompassViewMargins(RCTMLNMapView mapView, ReadableMap compassViewMargins){
mapView.setReactCompassViewMargins(compassViewMargins);
}
@ReactProp(name="compassViewPosition")
- public void setCompassViewPosition(RCTMGLMapView mapView, int compassViewPosition) {
+ public void setCompassViewPosition(RCTMLNMapView mapView, int compassViewPosition) {
mapView.setReactCompassViewPosition(compassViewPosition);
}
@ReactProp(name="contentInset")
- public void setContentInset(RCTMGLMapView mapView, ReadableArray array) {
+ public void setContentInset(RCTMLNMapView mapView, ReadableArray array) {
mapView.setReactContentInset(array);
}
@ReactProp(name = "tintColor", customType = "Color")
- public void setTintColor(RCTMGLMapView mapView, @Nullable Integer tintColor) {
+ public void setTintColor(RCTMLNMapView mapView, @Nullable Integer tintColor) {
mapView.setTintColor(tintColor);
}
@@ -245,7 +245,7 @@ public Map getCommandsMap() {
}
@Override
- public void receiveCommand(RCTMGLMapView mapView, int commandID, @Nullable ReadableArray args) {
+ public void receiveCommand(RCTMLNMapView mapView, int commandID, @Nullable ReadableArray args) {
// allows method calls to work with componentDidMount
MapboxMap mapboxMap = mapView.getMapboxMap();
if (mapboxMap == null) {
@@ -311,9 +311,9 @@ public void receiveCommand(RCTMGLMapView mapView, int commandID, @Nullable Reada
//endregion
private static final class MapShadowNode extends LayoutShadowNode {
- private RCTMGLMapViewManager mViewManager;
+ private RCTMLNMapViewManager mViewManager;
- public MapShadowNode(RCTMGLMapViewManager viewManager) {
+ public MapShadowNode(RCTMLNMapViewManager viewManager) {
mViewManager = viewManager;
}
@@ -328,7 +328,7 @@ public void dispose() {
* onDropViewInstance.
*/
private void diposeNativeMapView() {
- final RCTMGLMapView mapView = mViewManager.getByReactTag(getReactTag());
+ final RCTMLNMapView mapView = mViewManager.getByReactTag(getReactTag());
if (mapView != null)
{
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/helpers/CameraChangeTracker.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/helpers/CameraChangeTracker.java
similarity index 94%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/helpers/CameraChangeTracker.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/helpers/CameraChangeTracker.java
index f94fe2e87..ea8013969 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/helpers/CameraChangeTracker.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/helpers/CameraChangeTracker.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.mapview.helpers;
+package com.maplibre.rctmln.components.mapview.helpers;
import android.util.Log;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyle.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java
similarity index 77%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyle.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java
index 6c2028fa7..5c84894f0 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyle.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles;
+package com.maplibre.rctmln.components.styles;
import android.content.Context;
import androidx.annotation.NonNull;
@@ -6,8 +6,8 @@
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.bridge.ReadableMapKeySetIterator;
import com.mapbox.mapboxsdk.maps.MapboxMap;
-import com.mapbox.rctmgl.utils.DownloadMapImageTask;
-import com.mapbox.rctmgl.utils.ImageEntry;
+import com.maplibre.rctmln.utils.DownloadMapImageTask;
+import com.maplibre.rctmln.utils.ImageEntry;
import java.util.AbstractMap;
import java.util.ArrayList;
@@ -18,12 +18,12 @@
* Created by nickitaliano on 9/12/17.
*/
-public class RCTMGLStyle {
+public class RCTMLNStyle {
private Context mContext;
private ReadableMap mReactStyle;
private MapboxMap mMap;
- public RCTMGLStyle(@NonNull Context context, @NonNull ReadableMap reactStyle, @NonNull MapboxMap map) {
+ public RCTMLNStyle(@NonNull Context context, @NonNull ReadableMap reactStyle, @NonNull MapboxMap map) {
mContext = context;
mReactStyle = reactStyle;
mMap = map;
@@ -48,7 +48,7 @@ public List getAllStyleKeys() {
return keys;
}
- public RCTMGLStyleValue getStyleValueForKey(String styleKey) {
+ public RCTMLNStyleValue getStyleValueForKey(String styleKey) {
ReadableMap styleValueConfig = mReactStyle.getMap(styleKey);
if (styleValueConfig == null) {
@@ -56,18 +56,18 @@ public RCTMGLStyleValue getStyleValueForKey(String styleKey) {
return null;
}
- return new RCTMGLStyleValue(styleValueConfig);
+ return new RCTMLNStyleValue(styleValueConfig);
}
- public void addImage(RCTMGLStyleValue styleValue) {
+ public void addImage(RCTMLNStyleValue styleValue) {
addImage(styleValue, null);
}
- public ImageEntry imageEntry(RCTMGLStyleValue styleValue) {
+ public ImageEntry imageEntry(RCTMLNStyleValue styleValue) {
return new ImageEntry(styleValue.getImageURI(), styleValue.getImageScale());
}
- public void addImage(RCTMGLStyleValue styleValue, DownloadMapImageTask.OnAllImagesLoaded callback) {
+ public void addImage(RCTMLNStyleValue styleValue, DownloadMapImageTask.OnAllImagesLoaded callback) {
if (!styleValue.shouldAddImage()) {
if (callback != null) {
callback.onAllImagesLoaded();
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java
similarity index 75%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java
index f866191de..9a38946e9 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java
@@ -1,7 +1,7 @@
// DO NOT MODIFY
// THIS FILE IS AUTOGENERATED
-package com.mapbox.rctmgl.components.styles;
+package com.maplibre.rctmln.components.styles;
import com.mapbox.mapboxsdk.style.layers.BackgroundLayer;
import com.mapbox.mapboxsdk.style.layers.CircleLayer;
@@ -17,15 +17,15 @@
import com.mapbox.mapboxsdk.style.layers.TransitionOptions;
import com.mapbox.mapboxsdk.style.light.Light;
import com.mapbox.mapboxsdk.style.light.Position;
-import com.mapbox.rctmgl.utils.DownloadMapImageTask;
+import com.maplibre.rctmln.utils.DownloadMapImageTask;
import java.util.List;
-public class RCTMGLStyleFactory {
+public class RCTMLNStyleFactory {
public static final String VALUE_KEY = "value";
public static final String SHOULD_ADD_IMAGE_KEY = "shouldAddImage";
- public static void setFillLayerStyle(final FillLayer layer, RCTMGLStyle style) {
+ public static void setFillLayerStyle(final FillLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -33,60 +33,60 @@ public static void setFillLayerStyle(final FillLayer layer, RCTMGLStyle style) {
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "fillSortKey":
- RCTMGLStyleFactory.setFillSortKey(layer, styleValue);
+ RCTMLNStyleFactory.setFillSortKey(layer, styleValue);
break;
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "fillAntialias":
- RCTMGLStyleFactory.setFillAntialias(layer, styleValue);
+ RCTMLNStyleFactory.setFillAntialias(layer, styleValue);
break;
case "fillOpacity":
- RCTMGLStyleFactory.setFillOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setFillOpacity(layer, styleValue);
break;
case "fillOpacityTransition":
- RCTMGLStyleFactory.setFillOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillOpacityTransition(layer, styleValue);
break;
case "fillColor":
- RCTMGLStyleFactory.setFillColor(layer, styleValue);
+ RCTMLNStyleFactory.setFillColor(layer, styleValue);
break;
case "fillColorTransition":
- RCTMGLStyleFactory.setFillColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillColorTransition(layer, styleValue);
break;
case "fillOutlineColor":
- RCTMGLStyleFactory.setFillOutlineColor(layer, styleValue);
+ RCTMLNStyleFactory.setFillOutlineColor(layer, styleValue);
break;
case "fillOutlineColorTransition":
- RCTMGLStyleFactory.setFillOutlineColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillOutlineColorTransition(layer, styleValue);
break;
case "fillTranslate":
- RCTMGLStyleFactory.setFillTranslate(layer, styleValue);
+ RCTMLNStyleFactory.setFillTranslate(layer, styleValue);
break;
case "fillTranslateTransition":
- RCTMGLStyleFactory.setFillTranslateTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillTranslateTransition(layer, styleValue);
break;
case "fillTranslateAnchor":
- RCTMGLStyleFactory.setFillTranslateAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setFillTranslateAnchor(layer, styleValue);
break;
case "fillPattern":
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
@Override
public void onAllImagesLoaded() {
- RCTMGLStyleFactory.setFillPattern(layer, styleValue);
+ RCTMLNStyleFactory.setFillPattern(layer, styleValue);
}
});
break;
case "fillPatternTransition":
- RCTMGLStyleFactory.setFillPatternTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillPatternTransition(layer, styleValue);
break;
}
}
}
- public static void setLineLayerStyle(final LineLayer layer, RCTMGLStyle style) {
+ public static void setLineLayerStyle(final LineLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -94,96 +94,96 @@ public static void setLineLayerStyle(final LineLayer layer, RCTMGLStyle style) {
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "lineCap":
- RCTMGLStyleFactory.setLineCap(layer, styleValue);
+ RCTMLNStyleFactory.setLineCap(layer, styleValue);
break;
case "lineJoin":
- RCTMGLStyleFactory.setLineJoin(layer, styleValue);
+ RCTMLNStyleFactory.setLineJoin(layer, styleValue);
break;
case "lineMiterLimit":
- RCTMGLStyleFactory.setLineMiterLimit(layer, styleValue);
+ RCTMLNStyleFactory.setLineMiterLimit(layer, styleValue);
break;
case "lineRoundLimit":
- RCTMGLStyleFactory.setLineRoundLimit(layer, styleValue);
+ RCTMLNStyleFactory.setLineRoundLimit(layer, styleValue);
break;
case "lineSortKey":
- RCTMGLStyleFactory.setLineSortKey(layer, styleValue);
+ RCTMLNStyleFactory.setLineSortKey(layer, styleValue);
break;
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "lineOpacity":
- RCTMGLStyleFactory.setLineOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setLineOpacity(layer, styleValue);
break;
case "lineOpacityTransition":
- RCTMGLStyleFactory.setLineOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineOpacityTransition(layer, styleValue);
break;
case "lineColor":
- RCTMGLStyleFactory.setLineColor(layer, styleValue);
+ RCTMLNStyleFactory.setLineColor(layer, styleValue);
break;
case "lineColorTransition":
- RCTMGLStyleFactory.setLineColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineColorTransition(layer, styleValue);
break;
case "lineTranslate":
- RCTMGLStyleFactory.setLineTranslate(layer, styleValue);
+ RCTMLNStyleFactory.setLineTranslate(layer, styleValue);
break;
case "lineTranslateTransition":
- RCTMGLStyleFactory.setLineTranslateTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineTranslateTransition(layer, styleValue);
break;
case "lineTranslateAnchor":
- RCTMGLStyleFactory.setLineTranslateAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setLineTranslateAnchor(layer, styleValue);
break;
case "lineWidth":
- RCTMGLStyleFactory.setLineWidth(layer, styleValue);
+ RCTMLNStyleFactory.setLineWidth(layer, styleValue);
break;
case "lineWidthTransition":
- RCTMGLStyleFactory.setLineWidthTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineWidthTransition(layer, styleValue);
break;
case "lineGapWidth":
- RCTMGLStyleFactory.setLineGapWidth(layer, styleValue);
+ RCTMLNStyleFactory.setLineGapWidth(layer, styleValue);
break;
case "lineGapWidthTransition":
- RCTMGLStyleFactory.setLineGapWidthTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineGapWidthTransition(layer, styleValue);
break;
case "lineOffset":
- RCTMGLStyleFactory.setLineOffset(layer, styleValue);
+ RCTMLNStyleFactory.setLineOffset(layer, styleValue);
break;
case "lineOffsetTransition":
- RCTMGLStyleFactory.setLineOffsetTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineOffsetTransition(layer, styleValue);
break;
case "lineBlur":
- RCTMGLStyleFactory.setLineBlur(layer, styleValue);
+ RCTMLNStyleFactory.setLineBlur(layer, styleValue);
break;
case "lineBlurTransition":
- RCTMGLStyleFactory.setLineBlurTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineBlurTransition(layer, styleValue);
break;
case "lineDasharray":
- RCTMGLStyleFactory.setLineDasharray(layer, styleValue);
+ RCTMLNStyleFactory.setLineDasharray(layer, styleValue);
break;
case "lineDasharrayTransition":
- RCTMGLStyleFactory.setLineDasharrayTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLineDasharrayTransition(layer, styleValue);
break;
case "linePattern":
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
@Override
public void onAllImagesLoaded() {
- RCTMGLStyleFactory.setLinePattern(layer, styleValue);
+ RCTMLNStyleFactory.setLinePattern(layer, styleValue);
}
});
break;
case "linePatternTransition":
- RCTMGLStyleFactory.setLinePatternTransition(layer, styleValue);
+ RCTMLNStyleFactory.setLinePatternTransition(layer, styleValue);
break;
case "lineGradient":
- RCTMGLStyleFactory.setLineGradient(layer, styleValue);
+ RCTMLNStyleFactory.setLineGradient(layer, styleValue);
break;
}
}
}
- public static void setSymbolLayerStyle(final SymbolLayer layer, RCTMGLStyle style) {
+ public static void setSymbolLayerStyle(final SymbolLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -191,222 +191,222 @@ public static void setSymbolLayerStyle(final SymbolLayer layer, RCTMGLStyle styl
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "symbolPlacement":
- RCTMGLStyleFactory.setSymbolPlacement(layer, styleValue);
+ RCTMLNStyleFactory.setSymbolPlacement(layer, styleValue);
break;
case "symbolSpacing":
- RCTMGLStyleFactory.setSymbolSpacing(layer, styleValue);
+ RCTMLNStyleFactory.setSymbolSpacing(layer, styleValue);
break;
case "symbolAvoidEdges":
- RCTMGLStyleFactory.setSymbolAvoidEdges(layer, styleValue);
+ RCTMLNStyleFactory.setSymbolAvoidEdges(layer, styleValue);
break;
case "symbolSortKey":
- RCTMGLStyleFactory.setSymbolSortKey(layer, styleValue);
+ RCTMLNStyleFactory.setSymbolSortKey(layer, styleValue);
break;
case "symbolZOrder":
- RCTMGLStyleFactory.setSymbolZOrder(layer, styleValue);
+ RCTMLNStyleFactory.setSymbolZOrder(layer, styleValue);
break;
case "iconAllowOverlap":
- RCTMGLStyleFactory.setIconAllowOverlap(layer, styleValue);
+ RCTMLNStyleFactory.setIconAllowOverlap(layer, styleValue);
break;
case "iconIgnorePlacement":
- RCTMGLStyleFactory.setIconIgnorePlacement(layer, styleValue);
+ RCTMLNStyleFactory.setIconIgnorePlacement(layer, styleValue);
break;
case "iconOptional":
- RCTMGLStyleFactory.setIconOptional(layer, styleValue);
+ RCTMLNStyleFactory.setIconOptional(layer, styleValue);
break;
case "iconRotationAlignment":
- RCTMGLStyleFactory.setIconRotationAlignment(layer, styleValue);
+ RCTMLNStyleFactory.setIconRotationAlignment(layer, styleValue);
break;
case "iconSize":
- RCTMGLStyleFactory.setIconSize(layer, styleValue);
+ RCTMLNStyleFactory.setIconSize(layer, styleValue);
break;
case "iconTextFit":
- RCTMGLStyleFactory.setIconTextFit(layer, styleValue);
+ RCTMLNStyleFactory.setIconTextFit(layer, styleValue);
break;
case "iconTextFitPadding":
- RCTMGLStyleFactory.setIconTextFitPadding(layer, styleValue);
+ RCTMLNStyleFactory.setIconTextFitPadding(layer, styleValue);
break;
case "iconImage":
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
@Override
public void onAllImagesLoaded() {
- RCTMGLStyleFactory.setIconImage(layer, styleValue);
+ RCTMLNStyleFactory.setIconImage(layer, styleValue);
}
});
break;
case "iconRotate":
- RCTMGLStyleFactory.setIconRotate(layer, styleValue);
+ RCTMLNStyleFactory.setIconRotate(layer, styleValue);
break;
case "iconPadding":
- RCTMGLStyleFactory.setIconPadding(layer, styleValue);
+ RCTMLNStyleFactory.setIconPadding(layer, styleValue);
break;
case "iconKeepUpright":
- RCTMGLStyleFactory.setIconKeepUpright(layer, styleValue);
+ RCTMLNStyleFactory.setIconKeepUpright(layer, styleValue);
break;
case "iconOffset":
- RCTMGLStyleFactory.setIconOffset(layer, styleValue);
+ RCTMLNStyleFactory.setIconOffset(layer, styleValue);
break;
case "iconAnchor":
- RCTMGLStyleFactory.setIconAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setIconAnchor(layer, styleValue);
break;
case "iconPitchAlignment":
- RCTMGLStyleFactory.setIconPitchAlignment(layer, styleValue);
+ RCTMLNStyleFactory.setIconPitchAlignment(layer, styleValue);
break;
case "textPitchAlignment":
- RCTMGLStyleFactory.setTextPitchAlignment(layer, styleValue);
+ RCTMLNStyleFactory.setTextPitchAlignment(layer, styleValue);
break;
case "textRotationAlignment":
- RCTMGLStyleFactory.setTextRotationAlignment(layer, styleValue);
+ RCTMLNStyleFactory.setTextRotationAlignment(layer, styleValue);
break;
case "textField":
- RCTMGLStyleFactory.setTextField(layer, styleValue);
+ RCTMLNStyleFactory.setTextField(layer, styleValue);
break;
case "textFont":
- RCTMGLStyleFactory.setTextFont(layer, styleValue);
+ RCTMLNStyleFactory.setTextFont(layer, styleValue);
break;
case "textSize":
- RCTMGLStyleFactory.setTextSize(layer, styleValue);
+ RCTMLNStyleFactory.setTextSize(layer, styleValue);
break;
case "textMaxWidth":
- RCTMGLStyleFactory.setTextMaxWidth(layer, styleValue);
+ RCTMLNStyleFactory.setTextMaxWidth(layer, styleValue);
break;
case "textLineHeight":
- RCTMGLStyleFactory.setTextLineHeight(layer, styleValue);
+ RCTMLNStyleFactory.setTextLineHeight(layer, styleValue);
break;
case "textLetterSpacing":
- RCTMGLStyleFactory.setTextLetterSpacing(layer, styleValue);
+ RCTMLNStyleFactory.setTextLetterSpacing(layer, styleValue);
break;
case "textJustify":
- RCTMGLStyleFactory.setTextJustify(layer, styleValue);
+ RCTMLNStyleFactory.setTextJustify(layer, styleValue);
break;
case "textRadialOffset":
- RCTMGLStyleFactory.setTextRadialOffset(layer, styleValue);
+ RCTMLNStyleFactory.setTextRadialOffset(layer, styleValue);
break;
case "textVariableAnchor":
- RCTMGLStyleFactory.setTextVariableAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setTextVariableAnchor(layer, styleValue);
break;
case "textAnchor":
- RCTMGLStyleFactory.setTextAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setTextAnchor(layer, styleValue);
break;
case "textMaxAngle":
- RCTMGLStyleFactory.setTextMaxAngle(layer, styleValue);
+ RCTMLNStyleFactory.setTextMaxAngle(layer, styleValue);
break;
case "textWritingMode":
- RCTMGLStyleFactory.setTextWritingMode(layer, styleValue);
+ RCTMLNStyleFactory.setTextWritingMode(layer, styleValue);
break;
case "textRotate":
- RCTMGLStyleFactory.setTextRotate(layer, styleValue);
+ RCTMLNStyleFactory.setTextRotate(layer, styleValue);
break;
case "textPadding":
- RCTMGLStyleFactory.setTextPadding(layer, styleValue);
+ RCTMLNStyleFactory.setTextPadding(layer, styleValue);
break;
case "textKeepUpright":
- RCTMGLStyleFactory.setTextKeepUpright(layer, styleValue);
+ RCTMLNStyleFactory.setTextKeepUpright(layer, styleValue);
break;
case "textTransform":
- RCTMGLStyleFactory.setTextTransform(layer, styleValue);
+ RCTMLNStyleFactory.setTextTransform(layer, styleValue);
break;
case "textOffset":
- RCTMGLStyleFactory.setTextOffset(layer, styleValue);
+ RCTMLNStyleFactory.setTextOffset(layer, styleValue);
break;
case "textAllowOverlap":
- RCTMGLStyleFactory.setTextAllowOverlap(layer, styleValue);
+ RCTMLNStyleFactory.setTextAllowOverlap(layer, styleValue);
break;
case "textIgnorePlacement":
- RCTMGLStyleFactory.setTextIgnorePlacement(layer, styleValue);
+ RCTMLNStyleFactory.setTextIgnorePlacement(layer, styleValue);
break;
case "textOptional":
- RCTMGLStyleFactory.setTextOptional(layer, styleValue);
+ RCTMLNStyleFactory.setTextOptional(layer, styleValue);
break;
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "iconOpacity":
- RCTMGLStyleFactory.setIconOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setIconOpacity(layer, styleValue);
break;
case "iconOpacityTransition":
- RCTMGLStyleFactory.setIconOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setIconOpacityTransition(layer, styleValue);
break;
case "iconColor":
- RCTMGLStyleFactory.setIconColor(layer, styleValue);
+ RCTMLNStyleFactory.setIconColor(layer, styleValue);
break;
case "iconColorTransition":
- RCTMGLStyleFactory.setIconColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setIconColorTransition(layer, styleValue);
break;
case "iconHaloColor":
- RCTMGLStyleFactory.setIconHaloColor(layer, styleValue);
+ RCTMLNStyleFactory.setIconHaloColor(layer, styleValue);
break;
case "iconHaloColorTransition":
- RCTMGLStyleFactory.setIconHaloColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setIconHaloColorTransition(layer, styleValue);
break;
case "iconHaloWidth":
- RCTMGLStyleFactory.setIconHaloWidth(layer, styleValue);
+ RCTMLNStyleFactory.setIconHaloWidth(layer, styleValue);
break;
case "iconHaloWidthTransition":
- RCTMGLStyleFactory.setIconHaloWidthTransition(layer, styleValue);
+ RCTMLNStyleFactory.setIconHaloWidthTransition(layer, styleValue);
break;
case "iconHaloBlur":
- RCTMGLStyleFactory.setIconHaloBlur(layer, styleValue);
+ RCTMLNStyleFactory.setIconHaloBlur(layer, styleValue);
break;
case "iconHaloBlurTransition":
- RCTMGLStyleFactory.setIconHaloBlurTransition(layer, styleValue);
+ RCTMLNStyleFactory.setIconHaloBlurTransition(layer, styleValue);
break;
case "iconTranslate":
- RCTMGLStyleFactory.setIconTranslate(layer, styleValue);
+ RCTMLNStyleFactory.setIconTranslate(layer, styleValue);
break;
case "iconTranslateTransition":
- RCTMGLStyleFactory.setIconTranslateTransition(layer, styleValue);
+ RCTMLNStyleFactory.setIconTranslateTransition(layer, styleValue);
break;
case "iconTranslateAnchor":
- RCTMGLStyleFactory.setIconTranslateAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setIconTranslateAnchor(layer, styleValue);
break;
case "textOpacity":
- RCTMGLStyleFactory.setTextOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setTextOpacity(layer, styleValue);
break;
case "textOpacityTransition":
- RCTMGLStyleFactory.setTextOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setTextOpacityTransition(layer, styleValue);
break;
case "textColor":
- RCTMGLStyleFactory.setTextColor(layer, styleValue);
+ RCTMLNStyleFactory.setTextColor(layer, styleValue);
break;
case "textColorTransition":
- RCTMGLStyleFactory.setTextColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setTextColorTransition(layer, styleValue);
break;
case "textHaloColor":
- RCTMGLStyleFactory.setTextHaloColor(layer, styleValue);
+ RCTMLNStyleFactory.setTextHaloColor(layer, styleValue);
break;
case "textHaloColorTransition":
- RCTMGLStyleFactory.setTextHaloColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setTextHaloColorTransition(layer, styleValue);
break;
case "textHaloWidth":
- RCTMGLStyleFactory.setTextHaloWidth(layer, styleValue);
+ RCTMLNStyleFactory.setTextHaloWidth(layer, styleValue);
break;
case "textHaloWidthTransition":
- RCTMGLStyleFactory.setTextHaloWidthTransition(layer, styleValue);
+ RCTMLNStyleFactory.setTextHaloWidthTransition(layer, styleValue);
break;
case "textHaloBlur":
- RCTMGLStyleFactory.setTextHaloBlur(layer, styleValue);
+ RCTMLNStyleFactory.setTextHaloBlur(layer, styleValue);
break;
case "textHaloBlurTransition":
- RCTMGLStyleFactory.setTextHaloBlurTransition(layer, styleValue);
+ RCTMLNStyleFactory.setTextHaloBlurTransition(layer, styleValue);
break;
case "textTranslate":
- RCTMGLStyleFactory.setTextTranslate(layer, styleValue);
+ RCTMLNStyleFactory.setTextTranslate(layer, styleValue);
break;
case "textTranslateTransition":
- RCTMGLStyleFactory.setTextTranslateTransition(layer, styleValue);
+ RCTMLNStyleFactory.setTextTranslateTransition(layer, styleValue);
break;
case "textTranslateAnchor":
- RCTMGLStyleFactory.setTextTranslateAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setTextTranslateAnchor(layer, styleValue);
break;
}
}
}
- public static void setCircleLayerStyle(final CircleLayer layer, RCTMGLStyle style) {
+ public static void setCircleLayerStyle(final CircleLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -414,76 +414,76 @@ public static void setCircleLayerStyle(final CircleLayer layer, RCTMGLStyle styl
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "circleSortKey":
- RCTMGLStyleFactory.setCircleSortKey(layer, styleValue);
+ RCTMLNStyleFactory.setCircleSortKey(layer, styleValue);
break;
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "circleRadius":
- RCTMGLStyleFactory.setCircleRadius(layer, styleValue);
+ RCTMLNStyleFactory.setCircleRadius(layer, styleValue);
break;
case "circleRadiusTransition":
- RCTMGLStyleFactory.setCircleRadiusTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleRadiusTransition(layer, styleValue);
break;
case "circleColor":
- RCTMGLStyleFactory.setCircleColor(layer, styleValue);
+ RCTMLNStyleFactory.setCircleColor(layer, styleValue);
break;
case "circleColorTransition":
- RCTMGLStyleFactory.setCircleColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleColorTransition(layer, styleValue);
break;
case "circleBlur":
- RCTMGLStyleFactory.setCircleBlur(layer, styleValue);
+ RCTMLNStyleFactory.setCircleBlur(layer, styleValue);
break;
case "circleBlurTransition":
- RCTMGLStyleFactory.setCircleBlurTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleBlurTransition(layer, styleValue);
break;
case "circleOpacity":
- RCTMGLStyleFactory.setCircleOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setCircleOpacity(layer, styleValue);
break;
case "circleOpacityTransition":
- RCTMGLStyleFactory.setCircleOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleOpacityTransition(layer, styleValue);
break;
case "circleTranslate":
- RCTMGLStyleFactory.setCircleTranslate(layer, styleValue);
+ RCTMLNStyleFactory.setCircleTranslate(layer, styleValue);
break;
case "circleTranslateTransition":
- RCTMGLStyleFactory.setCircleTranslateTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleTranslateTransition(layer, styleValue);
break;
case "circleTranslateAnchor":
- RCTMGLStyleFactory.setCircleTranslateAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setCircleTranslateAnchor(layer, styleValue);
break;
case "circlePitchScale":
- RCTMGLStyleFactory.setCirclePitchScale(layer, styleValue);
+ RCTMLNStyleFactory.setCirclePitchScale(layer, styleValue);
break;
case "circlePitchAlignment":
- RCTMGLStyleFactory.setCirclePitchAlignment(layer, styleValue);
+ RCTMLNStyleFactory.setCirclePitchAlignment(layer, styleValue);
break;
case "circleStrokeWidth":
- RCTMGLStyleFactory.setCircleStrokeWidth(layer, styleValue);
+ RCTMLNStyleFactory.setCircleStrokeWidth(layer, styleValue);
break;
case "circleStrokeWidthTransition":
- RCTMGLStyleFactory.setCircleStrokeWidthTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleStrokeWidthTransition(layer, styleValue);
break;
case "circleStrokeColor":
- RCTMGLStyleFactory.setCircleStrokeColor(layer, styleValue);
+ RCTMLNStyleFactory.setCircleStrokeColor(layer, styleValue);
break;
case "circleStrokeColorTransition":
- RCTMGLStyleFactory.setCircleStrokeColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleStrokeColorTransition(layer, styleValue);
break;
case "circleStrokeOpacity":
- RCTMGLStyleFactory.setCircleStrokeOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setCircleStrokeOpacity(layer, styleValue);
break;
case "circleStrokeOpacityTransition":
- RCTMGLStyleFactory.setCircleStrokeOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setCircleStrokeOpacityTransition(layer, styleValue);
break;
}
}
}
- public static void setHeatmapLayerStyle(final HeatmapLayer layer, RCTMGLStyle style) {
+ public static void setHeatmapLayerStyle(final HeatmapLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -491,40 +491,40 @@ public static void setHeatmapLayerStyle(final HeatmapLayer layer, RCTMGLStyle st
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "heatmapRadius":
- RCTMGLStyleFactory.setHeatmapRadius(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapRadius(layer, styleValue);
break;
case "heatmapRadiusTransition":
- RCTMGLStyleFactory.setHeatmapRadiusTransition(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapRadiusTransition(layer, styleValue);
break;
case "heatmapWeight":
- RCTMGLStyleFactory.setHeatmapWeight(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapWeight(layer, styleValue);
break;
case "heatmapIntensity":
- RCTMGLStyleFactory.setHeatmapIntensity(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapIntensity(layer, styleValue);
break;
case "heatmapIntensityTransition":
- RCTMGLStyleFactory.setHeatmapIntensityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapIntensityTransition(layer, styleValue);
break;
case "heatmapColor":
- RCTMGLStyleFactory.setHeatmapColor(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapColor(layer, styleValue);
break;
case "heatmapOpacity":
- RCTMGLStyleFactory.setHeatmapOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapOpacity(layer, styleValue);
break;
case "heatmapOpacityTransition":
- RCTMGLStyleFactory.setHeatmapOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setHeatmapOpacityTransition(layer, styleValue);
break;
}
}
}
- public static void setFillExtrusionLayerStyle(final FillExtrusionLayer layer, RCTMGLStyle style) {
+ public static void setFillExtrusionLayerStyle(final FillExtrusionLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -532,60 +532,60 @@ public static void setFillExtrusionLayerStyle(final FillExtrusionLayer layer, RC
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "fillExtrusionOpacity":
- RCTMGLStyleFactory.setFillExtrusionOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionOpacity(layer, styleValue);
break;
case "fillExtrusionOpacityTransition":
- RCTMGLStyleFactory.setFillExtrusionOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionOpacityTransition(layer, styleValue);
break;
case "fillExtrusionColor":
- RCTMGLStyleFactory.setFillExtrusionColor(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionColor(layer, styleValue);
break;
case "fillExtrusionColorTransition":
- RCTMGLStyleFactory.setFillExtrusionColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionColorTransition(layer, styleValue);
break;
case "fillExtrusionTranslate":
- RCTMGLStyleFactory.setFillExtrusionTranslate(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionTranslate(layer, styleValue);
break;
case "fillExtrusionTranslateTransition":
- RCTMGLStyleFactory.setFillExtrusionTranslateTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionTranslateTransition(layer, styleValue);
break;
case "fillExtrusionTranslateAnchor":
- RCTMGLStyleFactory.setFillExtrusionTranslateAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionTranslateAnchor(layer, styleValue);
break;
case "fillExtrusionPattern":
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
@Override
public void onAllImagesLoaded() {
- RCTMGLStyleFactory.setFillExtrusionPattern(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionPattern(layer, styleValue);
}
});
break;
case "fillExtrusionPatternTransition":
- RCTMGLStyleFactory.setFillExtrusionPatternTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionPatternTransition(layer, styleValue);
break;
case "fillExtrusionHeight":
- RCTMGLStyleFactory.setFillExtrusionHeight(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionHeight(layer, styleValue);
break;
case "fillExtrusionHeightTransition":
- RCTMGLStyleFactory.setFillExtrusionHeightTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionHeightTransition(layer, styleValue);
break;
case "fillExtrusionBase":
- RCTMGLStyleFactory.setFillExtrusionBase(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionBase(layer, styleValue);
break;
case "fillExtrusionBaseTransition":
- RCTMGLStyleFactory.setFillExtrusionBaseTransition(layer, styleValue);
+ RCTMLNStyleFactory.setFillExtrusionBaseTransition(layer, styleValue);
break;
}
}
}
- public static void setRasterLayerStyle(final RasterLayer layer, RCTMGLStyle style) {
+ public static void setRasterLayerStyle(final RasterLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -593,58 +593,58 @@ public static void setRasterLayerStyle(final RasterLayer layer, RCTMGLStyle styl
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "rasterOpacity":
- RCTMGLStyleFactory.setRasterOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setRasterOpacity(layer, styleValue);
break;
case "rasterOpacityTransition":
- RCTMGLStyleFactory.setRasterOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setRasterOpacityTransition(layer, styleValue);
break;
case "rasterHueRotate":
- RCTMGLStyleFactory.setRasterHueRotate(layer, styleValue);
+ RCTMLNStyleFactory.setRasterHueRotate(layer, styleValue);
break;
case "rasterHueRotateTransition":
- RCTMGLStyleFactory.setRasterHueRotateTransition(layer, styleValue);
+ RCTMLNStyleFactory.setRasterHueRotateTransition(layer, styleValue);
break;
case "rasterBrightnessMin":
- RCTMGLStyleFactory.setRasterBrightnessMin(layer, styleValue);
+ RCTMLNStyleFactory.setRasterBrightnessMin(layer, styleValue);
break;
case "rasterBrightnessMinTransition":
- RCTMGLStyleFactory.setRasterBrightnessMinTransition(layer, styleValue);
+ RCTMLNStyleFactory.setRasterBrightnessMinTransition(layer, styleValue);
break;
case "rasterBrightnessMax":
- RCTMGLStyleFactory.setRasterBrightnessMax(layer, styleValue);
+ RCTMLNStyleFactory.setRasterBrightnessMax(layer, styleValue);
break;
case "rasterBrightnessMaxTransition":
- RCTMGLStyleFactory.setRasterBrightnessMaxTransition(layer, styleValue);
+ RCTMLNStyleFactory.setRasterBrightnessMaxTransition(layer, styleValue);
break;
case "rasterSaturation":
- RCTMGLStyleFactory.setRasterSaturation(layer, styleValue);
+ RCTMLNStyleFactory.setRasterSaturation(layer, styleValue);
break;
case "rasterSaturationTransition":
- RCTMGLStyleFactory.setRasterSaturationTransition(layer, styleValue);
+ RCTMLNStyleFactory.setRasterSaturationTransition(layer, styleValue);
break;
case "rasterContrast":
- RCTMGLStyleFactory.setRasterContrast(layer, styleValue);
+ RCTMLNStyleFactory.setRasterContrast(layer, styleValue);
break;
case "rasterContrastTransition":
- RCTMGLStyleFactory.setRasterContrastTransition(layer, styleValue);
+ RCTMLNStyleFactory.setRasterContrastTransition(layer, styleValue);
break;
case "rasterResampling":
- RCTMGLStyleFactory.setRasterResampling(layer, styleValue);
+ RCTMLNStyleFactory.setRasterResampling(layer, styleValue);
break;
case "rasterFadeDuration":
- RCTMGLStyleFactory.setRasterFadeDuration(layer, styleValue);
+ RCTMLNStyleFactory.setRasterFadeDuration(layer, styleValue);
break;
}
}
}
- public static void setHillshadeLayerStyle(final HillshadeLayer layer, RCTMGLStyle style) {
+ public static void setHillshadeLayerStyle(final HillshadeLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -652,46 +652,46 @@ public static void setHillshadeLayerStyle(final HillshadeLayer layer, RCTMGLStyl
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "hillshadeIlluminationDirection":
- RCTMGLStyleFactory.setHillshadeIlluminationDirection(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeIlluminationDirection(layer, styleValue);
break;
case "hillshadeIlluminationAnchor":
- RCTMGLStyleFactory.setHillshadeIlluminationAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeIlluminationAnchor(layer, styleValue);
break;
case "hillshadeExaggeration":
- RCTMGLStyleFactory.setHillshadeExaggeration(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeExaggeration(layer, styleValue);
break;
case "hillshadeExaggerationTransition":
- RCTMGLStyleFactory.setHillshadeExaggerationTransition(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeExaggerationTransition(layer, styleValue);
break;
case "hillshadeShadowColor":
- RCTMGLStyleFactory.setHillshadeShadowColor(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeShadowColor(layer, styleValue);
break;
case "hillshadeShadowColorTransition":
- RCTMGLStyleFactory.setHillshadeShadowColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeShadowColorTransition(layer, styleValue);
break;
case "hillshadeHighlightColor":
- RCTMGLStyleFactory.setHillshadeHighlightColor(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeHighlightColor(layer, styleValue);
break;
case "hillshadeHighlightColorTransition":
- RCTMGLStyleFactory.setHillshadeHighlightColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeHighlightColorTransition(layer, styleValue);
break;
case "hillshadeAccentColor":
- RCTMGLStyleFactory.setHillshadeAccentColor(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeAccentColor(layer, styleValue);
break;
case "hillshadeAccentColorTransition":
- RCTMGLStyleFactory.setHillshadeAccentColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setHillshadeAccentColorTransition(layer, styleValue);
break;
}
}
}
- public static void setBackgroundLayerStyle(final BackgroundLayer layer, RCTMGLStyle style) {
+ public static void setBackgroundLayerStyle(final BackgroundLayer layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -699,39 +699,39 @@ public static void setBackgroundLayerStyle(final BackgroundLayer layer, RCTMGLSt
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "visibility":
- RCTMGLStyleFactory.setVisibility(layer, styleValue);
+ RCTMLNStyleFactory.setVisibility(layer, styleValue);
break;
case "backgroundColor":
- RCTMGLStyleFactory.setBackgroundColor(layer, styleValue);
+ RCTMLNStyleFactory.setBackgroundColor(layer, styleValue);
break;
case "backgroundColorTransition":
- RCTMGLStyleFactory.setBackgroundColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setBackgroundColorTransition(layer, styleValue);
break;
case "backgroundPattern":
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
@Override
public void onAllImagesLoaded() {
- RCTMGLStyleFactory.setBackgroundPattern(layer, styleValue);
+ RCTMLNStyleFactory.setBackgroundPattern(layer, styleValue);
}
});
break;
case "backgroundPatternTransition":
- RCTMGLStyleFactory.setBackgroundPatternTransition(layer, styleValue);
+ RCTMLNStyleFactory.setBackgroundPatternTransition(layer, styleValue);
break;
case "backgroundOpacity":
- RCTMGLStyleFactory.setBackgroundOpacity(layer, styleValue);
+ RCTMLNStyleFactory.setBackgroundOpacity(layer, styleValue);
break;
case "backgroundOpacityTransition":
- RCTMGLStyleFactory.setBackgroundOpacityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setBackgroundOpacityTransition(layer, styleValue);
break;
}
}
}
- public static void setLightLayerStyle(final Light layer, RCTMGLStyle style) {
+ public static void setLightLayerStyle(final Light layer, RCTMLNStyle style) {
List styleKeys = style.getAllStyleKeys();
if (styleKeys.size() == 0) {
@@ -739,35 +739,35 @@ public static void setLightLayerStyle(final Light layer, RCTMGLStyle style) {
}
for (String styleKey : styleKeys) {
- final RCTMGLStyleValue styleValue = style.getStyleValueForKey(styleKey);
+ final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
switch (styleKey) {
case "anchor":
- RCTMGLStyleFactory.setAnchor(layer, styleValue);
+ RCTMLNStyleFactory.setAnchor(layer, styleValue);
break;
case "position":
- RCTMGLStyleFactory.setPosition(layer, styleValue);
+ RCTMLNStyleFactory.setPosition(layer, styleValue);
break;
case "positionTransition":
- RCTMGLStyleFactory.setPositionTransition(layer, styleValue);
+ RCTMLNStyleFactory.setPositionTransition(layer, styleValue);
break;
case "color":
- RCTMGLStyleFactory.setColor(layer, styleValue);
+ RCTMLNStyleFactory.setColor(layer, styleValue);
break;
case "colorTransition":
- RCTMGLStyleFactory.setColorTransition(layer, styleValue);
+ RCTMLNStyleFactory.setColorTransition(layer, styleValue);
break;
case "intensity":
- RCTMGLStyleFactory.setIntensity(layer, styleValue);
+ RCTMLNStyleFactory.setIntensity(layer, styleValue);
break;
case "intensityTransition":
- RCTMGLStyleFactory.setIntensityTransition(layer, styleValue);
+ RCTMLNStyleFactory.setIntensityTransition(layer, styleValue);
break;
}
}
}
- public static void setFillSortKey(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillSortKey(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillSortKey(styleValue.getExpression()));
} else {
@@ -775,11 +775,11 @@ public static void setFillSortKey(FillLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setVisibility(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(FillLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setFillAntialias(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillAntialias(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillAntialias(styleValue.getExpression()));
} else {
@@ -787,7 +787,7 @@ public static void setFillAntialias(FillLayer layer, RCTMGLStyleValue styleValue
}
}
- public static void setFillOpacity(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillOpacity(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillOpacity(styleValue.getExpression()));
} else {
@@ -796,14 +796,14 @@ public static void setFillOpacity(FillLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setFillOpacityTransition(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillOpacityTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillOpacityTransition(transition);
}
}
- public static void setFillColor(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillColor(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillColor(styleValue.getExpression()));
} else {
@@ -812,14 +812,14 @@ public static void setFillColor(FillLayer layer, RCTMGLStyleValue styleValue) {
}
- public static void setFillColorTransition(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillColorTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillColorTransition(transition);
}
}
- public static void setFillOutlineColor(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillOutlineColor(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillOutlineColor(styleValue.getExpression()));
} else {
@@ -828,14 +828,14 @@ public static void setFillOutlineColor(FillLayer layer, RCTMGLStyleValue styleVa
}
- public static void setFillOutlineColorTransition(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillOutlineColorTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillOutlineColorTransition(transition);
}
}
- public static void setFillTranslate(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillTranslate(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillTranslate(styleValue.getExpression()));
} else {
@@ -844,14 +844,14 @@ public static void setFillTranslate(FillLayer layer, RCTMGLStyleValue styleValue
}
- public static void setFillTranslateTransition(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillTranslateTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillTranslateTransition(transition);
}
}
- public static void setFillTranslateAnchor(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillTranslateAnchor(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillTranslateAnchor(styleValue.getExpression()));
} else {
@@ -859,7 +859,7 @@ public static void setFillTranslateAnchor(FillLayer layer, RCTMGLStyleValue styl
}
}
- public static void setFillPattern(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillPattern(FillLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
if (styleValue.isImageStringValue()) {
layer.setProperties(PropertyFactory.fillPattern(styleValue.getImageStringValue()));
@@ -872,14 +872,14 @@ public static void setFillPattern(FillLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setFillPatternTransition(FillLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillPatternTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillPatternTransition(transition);
}
}
- public static void setLineCap(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineCap(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineCap(styleValue.getExpression()));
} else {
@@ -887,7 +887,7 @@ public static void setLineCap(LineLayer layer, RCTMGLStyleValue styleValue) {
}
}
- public static void setLineJoin(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineJoin(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineJoin(styleValue.getExpression()));
} else {
@@ -895,7 +895,7 @@ public static void setLineJoin(LineLayer layer, RCTMGLStyleValue styleValue) {
}
}
- public static void setLineMiterLimit(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineMiterLimit(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineMiterLimit(styleValue.getExpression()));
} else {
@@ -903,7 +903,7 @@ public static void setLineMiterLimit(LineLayer layer, RCTMGLStyleValue styleValu
}
}
- public static void setLineRoundLimit(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineRoundLimit(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineRoundLimit(styleValue.getExpression()));
} else {
@@ -911,7 +911,7 @@ public static void setLineRoundLimit(LineLayer layer, RCTMGLStyleValue styleValu
}
}
- public static void setLineSortKey(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineSortKey(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineSortKey(styleValue.getExpression()));
} else {
@@ -919,11 +919,11 @@ public static void setLineSortKey(LineLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setVisibility(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(LineLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setLineOpacity(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineOpacity(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineOpacity(styleValue.getExpression()));
} else {
@@ -932,14 +932,14 @@ public static void setLineOpacity(LineLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setLineOpacityTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineOpacityTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineOpacityTransition(transition);
}
}
- public static void setLineColor(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineColor(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineColor(styleValue.getExpression()));
} else {
@@ -948,14 +948,14 @@ public static void setLineColor(LineLayer layer, RCTMGLStyleValue styleValue) {
}
- public static void setLineColorTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineColorTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineColorTransition(transition);
}
}
- public static void setLineTranslate(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineTranslate(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineTranslate(styleValue.getExpression()));
} else {
@@ -964,14 +964,14 @@ public static void setLineTranslate(LineLayer layer, RCTMGLStyleValue styleValue
}
- public static void setLineTranslateTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineTranslateTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineTranslateTransition(transition);
}
}
- public static void setLineTranslateAnchor(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineTranslateAnchor(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineTranslateAnchor(styleValue.getExpression()));
} else {
@@ -979,7 +979,7 @@ public static void setLineTranslateAnchor(LineLayer layer, RCTMGLStyleValue styl
}
}
- public static void setLineWidth(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineWidth(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineWidth(styleValue.getExpression()));
} else {
@@ -988,14 +988,14 @@ public static void setLineWidth(LineLayer layer, RCTMGLStyleValue styleValue) {
}
- public static void setLineWidthTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineWidthTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineWidthTransition(transition);
}
}
- public static void setLineGapWidth(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineGapWidth(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineGapWidth(styleValue.getExpression()));
} else {
@@ -1004,14 +1004,14 @@ public static void setLineGapWidth(LineLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setLineGapWidthTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineGapWidthTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineGapWidthTransition(transition);
}
}
- public static void setLineOffset(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineOffset(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineOffset(styleValue.getExpression()));
} else {
@@ -1020,14 +1020,14 @@ public static void setLineOffset(LineLayer layer, RCTMGLStyleValue styleValue) {
}
- public static void setLineOffsetTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineOffsetTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineOffsetTransition(transition);
}
}
- public static void setLineBlur(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineBlur(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineBlur(styleValue.getExpression()));
} else {
@@ -1036,14 +1036,14 @@ public static void setLineBlur(LineLayer layer, RCTMGLStyleValue styleValue) {
}
- public static void setLineBlurTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineBlurTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineBlurTransition(transition);
}
}
- public static void setLineDasharray(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineDasharray(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineDasharray(styleValue.getExpression()));
} else {
@@ -1052,14 +1052,14 @@ public static void setLineDasharray(LineLayer layer, RCTMGLStyleValue styleValue
}
- public static void setLineDasharrayTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineDasharrayTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLineDasharrayTransition(transition);
}
}
- public static void setLinePattern(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLinePattern(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
if (styleValue.isImageStringValue()) {
layer.setProperties(PropertyFactory.linePattern(styleValue.getImageStringValue()));
@@ -1072,14 +1072,14 @@ public static void setLinePattern(LineLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setLinePatternTransition(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLinePatternTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setLinePatternTransition(transition);
}
}
- public static void setLineGradient(LineLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setLineGradient(LineLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.lineGradient(styleValue.getExpression()));
} else {
@@ -1087,7 +1087,7 @@ public static void setLineGradient(LineLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setSymbolPlacement(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setSymbolPlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.symbolPlacement(styleValue.getExpression()));
} else {
@@ -1095,7 +1095,7 @@ public static void setSymbolPlacement(SymbolLayer layer, RCTMGLStyleValue styleV
}
}
- public static void setSymbolSpacing(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setSymbolSpacing(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.symbolSpacing(styleValue.getExpression()));
} else {
@@ -1103,7 +1103,7 @@ public static void setSymbolSpacing(SymbolLayer layer, RCTMGLStyleValue styleVal
}
}
- public static void setSymbolAvoidEdges(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setSymbolAvoidEdges(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.symbolAvoidEdges(styleValue.getExpression()));
} else {
@@ -1111,7 +1111,7 @@ public static void setSymbolAvoidEdges(SymbolLayer layer, RCTMGLStyleValue style
}
}
- public static void setSymbolSortKey(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setSymbolSortKey(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.symbolSortKey(styleValue.getExpression()));
} else {
@@ -1119,7 +1119,7 @@ public static void setSymbolSortKey(SymbolLayer layer, RCTMGLStyleValue styleVal
}
}
- public static void setSymbolZOrder(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setSymbolZOrder(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.symbolZOrder(styleValue.getExpression()));
} else {
@@ -1127,7 +1127,7 @@ public static void setSymbolZOrder(SymbolLayer layer, RCTMGLStyleValue styleValu
}
}
- public static void setIconAllowOverlap(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconAllowOverlap(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconAllowOverlap(styleValue.getExpression()));
} else {
@@ -1135,7 +1135,7 @@ public static void setIconAllowOverlap(SymbolLayer layer, RCTMGLStyleValue style
}
}
- public static void setIconIgnorePlacement(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconIgnorePlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconIgnorePlacement(styleValue.getExpression()));
} else {
@@ -1143,7 +1143,7 @@ public static void setIconIgnorePlacement(SymbolLayer layer, RCTMGLStyleValue st
}
}
- public static void setIconOptional(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconOptional(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconOptional(styleValue.getExpression()));
} else {
@@ -1151,7 +1151,7 @@ public static void setIconOptional(SymbolLayer layer, RCTMGLStyleValue styleValu
}
}
- public static void setIconRotationAlignment(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconRotationAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconRotationAlignment(styleValue.getExpression()));
} else {
@@ -1159,7 +1159,7 @@ public static void setIconRotationAlignment(SymbolLayer layer, RCTMGLStyleValue
}
}
- public static void setIconSize(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconSize(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconSize(styleValue.getExpression()));
} else {
@@ -1167,7 +1167,7 @@ public static void setIconSize(SymbolLayer layer, RCTMGLStyleValue styleValue) {
}
}
- public static void setIconTextFit(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconTextFit(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconTextFit(styleValue.getExpression()));
} else {
@@ -1175,7 +1175,7 @@ public static void setIconTextFit(SymbolLayer layer, RCTMGLStyleValue styleValue
}
}
- public static void setIconTextFitPadding(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconTextFitPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconTextFitPadding(styleValue.getExpression()));
} else {
@@ -1183,7 +1183,7 @@ public static void setIconTextFitPadding(SymbolLayer layer, RCTMGLStyleValue sty
}
}
- public static void setIconImage(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconImage(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
if (styleValue.isImageStringValue()) {
layer.setProperties(PropertyFactory.iconImage(styleValue.getImageStringValue()));
@@ -1195,7 +1195,7 @@ public static void setIconImage(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setIconRotate(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconRotate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconRotate(styleValue.getExpression()));
} else {
@@ -1203,7 +1203,7 @@ public static void setIconRotate(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setIconPadding(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconPadding(styleValue.getExpression()));
} else {
@@ -1211,7 +1211,7 @@ public static void setIconPadding(SymbolLayer layer, RCTMGLStyleValue styleValue
}
}
- public static void setIconKeepUpright(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconKeepUpright(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconKeepUpright(styleValue.getExpression()));
} else {
@@ -1219,7 +1219,7 @@ public static void setIconKeepUpright(SymbolLayer layer, RCTMGLStyleValue styleV
}
}
- public static void setIconOffset(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconOffset(styleValue.getExpression()));
} else {
@@ -1227,7 +1227,7 @@ public static void setIconOffset(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setIconAnchor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconAnchor(styleValue.getExpression()));
} else {
@@ -1235,7 +1235,7 @@ public static void setIconAnchor(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setIconPitchAlignment(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconPitchAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconPitchAlignment(styleValue.getExpression()));
} else {
@@ -1243,7 +1243,7 @@ public static void setIconPitchAlignment(SymbolLayer layer, RCTMGLStyleValue sty
}
}
- public static void setTextPitchAlignment(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextPitchAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textPitchAlignment(styleValue.getExpression()));
} else {
@@ -1251,7 +1251,7 @@ public static void setTextPitchAlignment(SymbolLayer layer, RCTMGLStyleValue sty
}
}
- public static void setTextRotationAlignment(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextRotationAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textRotationAlignment(styleValue.getExpression()));
} else {
@@ -1259,7 +1259,7 @@ public static void setTextRotationAlignment(SymbolLayer layer, RCTMGLStyleValue
}
}
- public static void setTextField(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextField(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textField(styleValue.getExpression()));
} else {
@@ -1267,7 +1267,7 @@ public static void setTextField(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setTextFont(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextFont(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textFont(styleValue.getExpression()));
} else {
@@ -1275,7 +1275,7 @@ public static void setTextFont(SymbolLayer layer, RCTMGLStyleValue styleValue) {
}
}
- public static void setTextSize(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextSize(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textSize(styleValue.getExpression()));
} else {
@@ -1283,7 +1283,7 @@ public static void setTextSize(SymbolLayer layer, RCTMGLStyleValue styleValue) {
}
}
- public static void setTextMaxWidth(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextMaxWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textMaxWidth(styleValue.getExpression()));
} else {
@@ -1291,7 +1291,7 @@ public static void setTextMaxWidth(SymbolLayer layer, RCTMGLStyleValue styleValu
}
}
- public static void setTextLineHeight(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextLineHeight(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textLineHeight(styleValue.getExpression()));
} else {
@@ -1299,7 +1299,7 @@ public static void setTextLineHeight(SymbolLayer layer, RCTMGLStyleValue styleVa
}
}
- public static void setTextLetterSpacing(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextLetterSpacing(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textLetterSpacing(styleValue.getExpression()));
} else {
@@ -1307,7 +1307,7 @@ public static void setTextLetterSpacing(SymbolLayer layer, RCTMGLStyleValue styl
}
}
- public static void setTextJustify(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextJustify(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textJustify(styleValue.getExpression()));
} else {
@@ -1315,7 +1315,7 @@ public static void setTextJustify(SymbolLayer layer, RCTMGLStyleValue styleValue
}
}
- public static void setTextRadialOffset(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextRadialOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textRadialOffset(styleValue.getExpression()));
} else {
@@ -1323,7 +1323,7 @@ public static void setTextRadialOffset(SymbolLayer layer, RCTMGLStyleValue style
}
}
- public static void setTextVariableAnchor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextVariableAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textVariableAnchor(styleValue.getExpression()));
} else {
@@ -1331,7 +1331,7 @@ public static void setTextVariableAnchor(SymbolLayer layer, RCTMGLStyleValue sty
}
}
- public static void setTextAnchor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textAnchor(styleValue.getExpression()));
} else {
@@ -1339,7 +1339,7 @@ public static void setTextAnchor(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setTextMaxAngle(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextMaxAngle(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textMaxAngle(styleValue.getExpression()));
} else {
@@ -1347,7 +1347,7 @@ public static void setTextMaxAngle(SymbolLayer layer, RCTMGLStyleValue styleValu
}
}
- public static void setTextWritingMode(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextWritingMode(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textWritingMode(styleValue.getExpression()));
} else {
@@ -1355,7 +1355,7 @@ public static void setTextWritingMode(SymbolLayer layer, RCTMGLStyleValue styleV
}
}
- public static void setTextRotate(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextRotate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textRotate(styleValue.getExpression()));
} else {
@@ -1363,7 +1363,7 @@ public static void setTextRotate(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setTextPadding(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textPadding(styleValue.getExpression()));
} else {
@@ -1371,7 +1371,7 @@ public static void setTextPadding(SymbolLayer layer, RCTMGLStyleValue styleValue
}
}
- public static void setTextKeepUpright(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextKeepUpright(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textKeepUpright(styleValue.getExpression()));
} else {
@@ -1379,7 +1379,7 @@ public static void setTextKeepUpright(SymbolLayer layer, RCTMGLStyleValue styleV
}
}
- public static void setTextTransform(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextTransform(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textTransform(styleValue.getExpression()));
} else {
@@ -1387,7 +1387,7 @@ public static void setTextTransform(SymbolLayer layer, RCTMGLStyleValue styleVal
}
}
- public static void setTextOffset(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textOffset(styleValue.getExpression()));
} else {
@@ -1395,7 +1395,7 @@ public static void setTextOffset(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
}
- public static void setTextAllowOverlap(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextAllowOverlap(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textAllowOverlap(styleValue.getExpression()));
} else {
@@ -1403,7 +1403,7 @@ public static void setTextAllowOverlap(SymbolLayer layer, RCTMGLStyleValue style
}
}
- public static void setTextIgnorePlacement(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextIgnorePlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textIgnorePlacement(styleValue.getExpression()));
} else {
@@ -1411,7 +1411,7 @@ public static void setTextIgnorePlacement(SymbolLayer layer, RCTMGLStyleValue st
}
}
- public static void setTextOptional(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextOptional(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textOptional(styleValue.getExpression()));
} else {
@@ -1419,11 +1419,11 @@ public static void setTextOptional(SymbolLayer layer, RCTMGLStyleValue styleValu
}
}
- public static void setVisibility(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(SymbolLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setIconOpacity(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconOpacity(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconOpacity(styleValue.getExpression()));
} else {
@@ -1432,14 +1432,14 @@ public static void setIconOpacity(SymbolLayer layer, RCTMGLStyleValue styleValue
}
- public static void setIconOpacityTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconOpacityTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setIconOpacityTransition(transition);
}
}
- public static void setIconColor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconColor(styleValue.getExpression()));
} else {
@@ -1448,14 +1448,14 @@ public static void setIconColor(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setIconColorTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setIconColorTransition(transition);
}
}
- public static void setIconHaloColor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconHaloColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconHaloColor(styleValue.getExpression()));
} else {
@@ -1464,14 +1464,14 @@ public static void setIconHaloColor(SymbolLayer layer, RCTMGLStyleValue styleVal
}
- public static void setIconHaloColorTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconHaloColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setIconHaloColorTransition(transition);
}
}
- public static void setIconHaloWidth(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconHaloWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconHaloWidth(styleValue.getExpression()));
} else {
@@ -1480,14 +1480,14 @@ public static void setIconHaloWidth(SymbolLayer layer, RCTMGLStyleValue styleVal
}
- public static void setIconHaloWidthTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconHaloWidthTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setIconHaloWidthTransition(transition);
}
}
- public static void setIconHaloBlur(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconHaloBlur(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconHaloBlur(styleValue.getExpression()));
} else {
@@ -1496,14 +1496,14 @@ public static void setIconHaloBlur(SymbolLayer layer, RCTMGLStyleValue styleValu
}
- public static void setIconHaloBlurTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconHaloBlurTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setIconHaloBlurTransition(transition);
}
}
- public static void setIconTranslate(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconTranslate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconTranslate(styleValue.getExpression()));
} else {
@@ -1512,14 +1512,14 @@ public static void setIconTranslate(SymbolLayer layer, RCTMGLStyleValue styleVal
}
- public static void setIconTranslateTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconTranslateTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setIconTranslateTransition(transition);
}
}
- public static void setIconTranslateAnchor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setIconTranslateAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.iconTranslateAnchor(styleValue.getExpression()));
} else {
@@ -1527,7 +1527,7 @@ public static void setIconTranslateAnchor(SymbolLayer layer, RCTMGLStyleValue st
}
}
- public static void setTextOpacity(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextOpacity(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textOpacity(styleValue.getExpression()));
} else {
@@ -1536,14 +1536,14 @@ public static void setTextOpacity(SymbolLayer layer, RCTMGLStyleValue styleValue
}
- public static void setTextOpacityTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextOpacityTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setTextOpacityTransition(transition);
}
}
- public static void setTextColor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textColor(styleValue.getExpression()));
} else {
@@ -1552,14 +1552,14 @@ public static void setTextColor(SymbolLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setTextColorTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setTextColorTransition(transition);
}
}
- public static void setTextHaloColor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextHaloColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textHaloColor(styleValue.getExpression()));
} else {
@@ -1568,14 +1568,14 @@ public static void setTextHaloColor(SymbolLayer layer, RCTMGLStyleValue styleVal
}
- public static void setTextHaloColorTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextHaloColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setTextHaloColorTransition(transition);
}
}
- public static void setTextHaloWidth(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextHaloWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textHaloWidth(styleValue.getExpression()));
} else {
@@ -1584,14 +1584,14 @@ public static void setTextHaloWidth(SymbolLayer layer, RCTMGLStyleValue styleVal
}
- public static void setTextHaloWidthTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextHaloWidthTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setTextHaloWidthTransition(transition);
}
}
- public static void setTextHaloBlur(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextHaloBlur(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textHaloBlur(styleValue.getExpression()));
} else {
@@ -1600,14 +1600,14 @@ public static void setTextHaloBlur(SymbolLayer layer, RCTMGLStyleValue styleValu
}
- public static void setTextHaloBlurTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextHaloBlurTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setTextHaloBlurTransition(transition);
}
}
- public static void setTextTranslate(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextTranslate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textTranslate(styleValue.getExpression()));
} else {
@@ -1616,14 +1616,14 @@ public static void setTextTranslate(SymbolLayer layer, RCTMGLStyleValue styleVal
}
- public static void setTextTranslateTransition(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextTranslateTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setTextTranslateTransition(transition);
}
}
- public static void setTextTranslateAnchor(SymbolLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setTextTranslateAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.textTranslateAnchor(styleValue.getExpression()));
} else {
@@ -1631,7 +1631,7 @@ public static void setTextTranslateAnchor(SymbolLayer layer, RCTMGLStyleValue st
}
}
- public static void setCircleSortKey(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleSortKey(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleSortKey(styleValue.getExpression()));
} else {
@@ -1639,11 +1639,11 @@ public static void setCircleSortKey(CircleLayer layer, RCTMGLStyleValue styleVal
}
}
- public static void setVisibility(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(CircleLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setCircleRadius(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleRadius(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleRadius(styleValue.getExpression()));
} else {
@@ -1652,14 +1652,14 @@ public static void setCircleRadius(CircleLayer layer, RCTMGLStyleValue styleValu
}
- public static void setCircleRadiusTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleRadiusTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleRadiusTransition(transition);
}
}
- public static void setCircleColor(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleColor(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleColor(styleValue.getExpression()));
} else {
@@ -1668,14 +1668,14 @@ public static void setCircleColor(CircleLayer layer, RCTMGLStyleValue styleValue
}
- public static void setCircleColorTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleColorTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleColorTransition(transition);
}
}
- public static void setCircleBlur(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleBlur(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleBlur(styleValue.getExpression()));
} else {
@@ -1684,14 +1684,14 @@ public static void setCircleBlur(CircleLayer layer, RCTMGLStyleValue styleValue)
}
- public static void setCircleBlurTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleBlurTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleBlurTransition(transition);
}
}
- public static void setCircleOpacity(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleOpacity(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleOpacity(styleValue.getExpression()));
} else {
@@ -1700,14 +1700,14 @@ public static void setCircleOpacity(CircleLayer layer, RCTMGLStyleValue styleVal
}
- public static void setCircleOpacityTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleOpacityTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleOpacityTransition(transition);
}
}
- public static void setCircleTranslate(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleTranslate(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleTranslate(styleValue.getExpression()));
} else {
@@ -1716,14 +1716,14 @@ public static void setCircleTranslate(CircleLayer layer, RCTMGLStyleValue styleV
}
- public static void setCircleTranslateTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleTranslateTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleTranslateTransition(transition);
}
}
- public static void setCircleTranslateAnchor(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleTranslateAnchor(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleTranslateAnchor(styleValue.getExpression()));
} else {
@@ -1731,7 +1731,7 @@ public static void setCircleTranslateAnchor(CircleLayer layer, RCTMGLStyleValue
}
}
- public static void setCirclePitchScale(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCirclePitchScale(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circlePitchScale(styleValue.getExpression()));
} else {
@@ -1739,7 +1739,7 @@ public static void setCirclePitchScale(CircleLayer layer, RCTMGLStyleValue style
}
}
- public static void setCirclePitchAlignment(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCirclePitchAlignment(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circlePitchAlignment(styleValue.getExpression()));
} else {
@@ -1747,7 +1747,7 @@ public static void setCirclePitchAlignment(CircleLayer layer, RCTMGLStyleValue s
}
}
- public static void setCircleStrokeWidth(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleStrokeWidth(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleStrokeWidth(styleValue.getExpression()));
} else {
@@ -1756,14 +1756,14 @@ public static void setCircleStrokeWidth(CircleLayer layer, RCTMGLStyleValue styl
}
- public static void setCircleStrokeWidthTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleStrokeWidthTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleStrokeWidthTransition(transition);
}
}
- public static void setCircleStrokeColor(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleStrokeColor(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleStrokeColor(styleValue.getExpression()));
} else {
@@ -1772,14 +1772,14 @@ public static void setCircleStrokeColor(CircleLayer layer, RCTMGLStyleValue styl
}
- public static void setCircleStrokeColorTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleStrokeColorTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleStrokeColorTransition(transition);
}
}
- public static void setCircleStrokeOpacity(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleStrokeOpacity(CircleLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.circleStrokeOpacity(styleValue.getExpression()));
} else {
@@ -1788,18 +1788,18 @@ public static void setCircleStrokeOpacity(CircleLayer layer, RCTMGLStyleValue st
}
- public static void setCircleStrokeOpacityTransition(CircleLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setCircleStrokeOpacityTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setCircleStrokeOpacityTransition(transition);
}
}
- public static void setVisibility(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setHeatmapRadius(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapRadius(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.heatmapRadius(styleValue.getExpression()));
} else {
@@ -1808,14 +1808,14 @@ public static void setHeatmapRadius(HeatmapLayer layer, RCTMGLStyleValue styleVa
}
- public static void setHeatmapRadiusTransition(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapRadiusTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setHeatmapRadiusTransition(transition);
}
}
- public static void setHeatmapWeight(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapWeight(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.heatmapWeight(styleValue.getExpression()));
} else {
@@ -1823,7 +1823,7 @@ public static void setHeatmapWeight(HeatmapLayer layer, RCTMGLStyleValue styleVa
}
}
- public static void setHeatmapIntensity(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapIntensity(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.heatmapIntensity(styleValue.getExpression()));
} else {
@@ -1832,14 +1832,14 @@ public static void setHeatmapIntensity(HeatmapLayer layer, RCTMGLStyleValue styl
}
- public static void setHeatmapIntensityTransition(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapIntensityTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setHeatmapIntensityTransition(transition);
}
}
- public static void setHeatmapColor(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapColor(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.heatmapColor(styleValue.getExpression()));
} else {
@@ -1847,7 +1847,7 @@ public static void setHeatmapColor(HeatmapLayer layer, RCTMGLStyleValue styleVal
}
}
- public static void setHeatmapOpacity(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapOpacity(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.heatmapOpacity(styleValue.getExpression()));
} else {
@@ -1856,18 +1856,18 @@ public static void setHeatmapOpacity(HeatmapLayer layer, RCTMGLStyleValue styleV
}
- public static void setHeatmapOpacityTransition(HeatmapLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHeatmapOpacityTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setHeatmapOpacityTransition(transition);
}
}
- public static void setVisibility(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setFillExtrusionOpacity(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionOpacity(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillExtrusionOpacity(styleValue.getExpression()));
} else {
@@ -1876,14 +1876,14 @@ public static void setFillExtrusionOpacity(FillExtrusionLayer layer, RCTMGLStyle
}
- public static void setFillExtrusionOpacityTransition(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionOpacityTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillExtrusionOpacityTransition(transition);
}
}
- public static void setFillExtrusionColor(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionColor(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillExtrusionColor(styleValue.getExpression()));
} else {
@@ -1892,14 +1892,14 @@ public static void setFillExtrusionColor(FillExtrusionLayer layer, RCTMGLStyleVa
}
- public static void setFillExtrusionColorTransition(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionColorTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillExtrusionColorTransition(transition);
}
}
- public static void setFillExtrusionTranslate(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionTranslate(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillExtrusionTranslate(styleValue.getExpression()));
} else {
@@ -1908,14 +1908,14 @@ public static void setFillExtrusionTranslate(FillExtrusionLayer layer, RCTMGLSty
}
- public static void setFillExtrusionTranslateTransition(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionTranslateTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillExtrusionTranslateTransition(transition);
}
}
- public static void setFillExtrusionTranslateAnchor(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionTranslateAnchor(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillExtrusionTranslateAnchor(styleValue.getExpression()));
} else {
@@ -1923,7 +1923,7 @@ public static void setFillExtrusionTranslateAnchor(FillExtrusionLayer layer, RCT
}
}
- public static void setFillExtrusionPattern(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionPattern(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
if (styleValue.isImageStringValue()) {
layer.setProperties(PropertyFactory.fillExtrusionPattern(styleValue.getImageStringValue()));
@@ -1936,14 +1936,14 @@ public static void setFillExtrusionPattern(FillExtrusionLayer layer, RCTMGLStyle
}
- public static void setFillExtrusionPatternTransition(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionPatternTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillExtrusionPatternTransition(transition);
}
}
- public static void setFillExtrusionHeight(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionHeight(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillExtrusionHeight(styleValue.getExpression()));
} else {
@@ -1952,14 +1952,14 @@ public static void setFillExtrusionHeight(FillExtrusionLayer layer, RCTMGLStyleV
}
- public static void setFillExtrusionHeightTransition(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionHeightTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillExtrusionHeightTransition(transition);
}
}
- public static void setFillExtrusionBase(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionBase(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.fillExtrusionBase(styleValue.getExpression()));
} else {
@@ -1968,18 +1968,18 @@ public static void setFillExtrusionBase(FillExtrusionLayer layer, RCTMGLStyleVal
}
- public static void setFillExtrusionBaseTransition(FillExtrusionLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setFillExtrusionBaseTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setFillExtrusionBaseTransition(transition);
}
}
- public static void setVisibility(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(RasterLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setRasterOpacity(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterOpacity(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterOpacity(styleValue.getExpression()));
} else {
@@ -1988,14 +1988,14 @@ public static void setRasterOpacity(RasterLayer layer, RCTMGLStyleValue styleVal
}
- public static void setRasterOpacityTransition(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterOpacityTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setRasterOpacityTransition(transition);
}
}
- public static void setRasterHueRotate(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterHueRotate(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterHueRotate(styleValue.getExpression()));
} else {
@@ -2004,14 +2004,14 @@ public static void setRasterHueRotate(RasterLayer layer, RCTMGLStyleValue styleV
}
- public static void setRasterHueRotateTransition(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterHueRotateTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setRasterHueRotateTransition(transition);
}
}
- public static void setRasterBrightnessMin(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterBrightnessMin(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterBrightnessMin(styleValue.getExpression()));
} else {
@@ -2020,14 +2020,14 @@ public static void setRasterBrightnessMin(RasterLayer layer, RCTMGLStyleValue st
}
- public static void setRasterBrightnessMinTransition(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterBrightnessMinTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setRasterBrightnessMinTransition(transition);
}
}
- public static void setRasterBrightnessMax(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterBrightnessMax(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterBrightnessMax(styleValue.getExpression()));
} else {
@@ -2036,14 +2036,14 @@ public static void setRasterBrightnessMax(RasterLayer layer, RCTMGLStyleValue st
}
- public static void setRasterBrightnessMaxTransition(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterBrightnessMaxTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setRasterBrightnessMaxTransition(transition);
}
}
- public static void setRasterSaturation(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterSaturation(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterSaturation(styleValue.getExpression()));
} else {
@@ -2052,14 +2052,14 @@ public static void setRasterSaturation(RasterLayer layer, RCTMGLStyleValue style
}
- public static void setRasterSaturationTransition(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterSaturationTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setRasterSaturationTransition(transition);
}
}
- public static void setRasterContrast(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterContrast(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterContrast(styleValue.getExpression()));
} else {
@@ -2068,14 +2068,14 @@ public static void setRasterContrast(RasterLayer layer, RCTMGLStyleValue styleVa
}
- public static void setRasterContrastTransition(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterContrastTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setRasterContrastTransition(transition);
}
}
- public static void setRasterResampling(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterResampling(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterResampling(styleValue.getExpression()));
} else {
@@ -2083,7 +2083,7 @@ public static void setRasterResampling(RasterLayer layer, RCTMGLStyleValue style
}
}
- public static void setRasterFadeDuration(RasterLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setRasterFadeDuration(RasterLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.rasterFadeDuration(styleValue.getExpression()));
} else {
@@ -2091,11 +2091,11 @@ public static void setRasterFadeDuration(RasterLayer layer, RCTMGLStyleValue sty
}
}
- public static void setVisibility(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setHillshadeIlluminationDirection(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeIlluminationDirection(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.hillshadeIlluminationDirection(styleValue.getExpression()));
} else {
@@ -2103,7 +2103,7 @@ public static void setHillshadeIlluminationDirection(HillshadeLayer layer, RCTMG
}
}
- public static void setHillshadeIlluminationAnchor(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeIlluminationAnchor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.hillshadeIlluminationAnchor(styleValue.getExpression()));
} else {
@@ -2111,7 +2111,7 @@ public static void setHillshadeIlluminationAnchor(HillshadeLayer layer, RCTMGLSt
}
}
- public static void setHillshadeExaggeration(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeExaggeration(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.hillshadeExaggeration(styleValue.getExpression()));
} else {
@@ -2120,14 +2120,14 @@ public static void setHillshadeExaggeration(HillshadeLayer layer, RCTMGLStyleVal
}
- public static void setHillshadeExaggerationTransition(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeExaggerationTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setHillshadeExaggerationTransition(transition);
}
}
- public static void setHillshadeShadowColor(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeShadowColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.hillshadeShadowColor(styleValue.getExpression()));
} else {
@@ -2136,14 +2136,14 @@ public static void setHillshadeShadowColor(HillshadeLayer layer, RCTMGLStyleValu
}
- public static void setHillshadeShadowColorTransition(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeShadowColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setHillshadeShadowColorTransition(transition);
}
}
- public static void setHillshadeHighlightColor(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeHighlightColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.hillshadeHighlightColor(styleValue.getExpression()));
} else {
@@ -2152,14 +2152,14 @@ public static void setHillshadeHighlightColor(HillshadeLayer layer, RCTMGLStyleV
}
- public static void setHillshadeHighlightColorTransition(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeHighlightColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setHillshadeHighlightColorTransition(transition);
}
}
- public static void setHillshadeAccentColor(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeAccentColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.hillshadeAccentColor(styleValue.getExpression()));
} else {
@@ -2168,18 +2168,18 @@ public static void setHillshadeAccentColor(HillshadeLayer layer, RCTMGLStyleValu
}
- public static void setHillshadeAccentColorTransition(HillshadeLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setHillshadeAccentColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setHillshadeAccentColorTransition(transition);
}
}
- public static void setVisibility(BackgroundLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setVisibility(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
}
- public static void setBackgroundColor(BackgroundLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setBackgroundColor(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.backgroundColor(styleValue.getExpression()));
} else {
@@ -2188,14 +2188,14 @@ public static void setBackgroundColor(BackgroundLayer layer, RCTMGLStyleValue st
}
- public static void setBackgroundColorTransition(BackgroundLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setBackgroundColorTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setBackgroundColorTransition(transition);
}
}
- public static void setBackgroundPattern(BackgroundLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setBackgroundPattern(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
if (styleValue.isImageStringValue()) {
layer.setProperties(PropertyFactory.backgroundPattern(styleValue.getImageStringValue()));
@@ -2208,14 +2208,14 @@ public static void setBackgroundPattern(BackgroundLayer layer, RCTMGLStyleValue
}
- public static void setBackgroundPatternTransition(BackgroundLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setBackgroundPatternTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setBackgroundPatternTransition(transition);
}
}
- public static void setBackgroundOpacity(BackgroundLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setBackgroundOpacity(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
if (styleValue.isExpression()) {
layer.setProperties(PropertyFactory.backgroundOpacity(styleValue.getExpression()));
} else {
@@ -2224,48 +2224,48 @@ public static void setBackgroundOpacity(BackgroundLayer layer, RCTMGLStyleValue
}
- public static void setBackgroundOpacityTransition(BackgroundLayer layer, RCTMGLStyleValue styleValue) {
+ public static void setBackgroundOpacityTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setBackgroundOpacityTransition(transition);
}
}
- public static void setAnchor(Light layer, RCTMGLStyleValue styleValue) {
+ public static void setAnchor(Light layer, RCTMLNStyleValue styleValue) {
layer.setAnchor(styleValue.getString(VALUE_KEY));
}
- public static void setPosition(Light layer, RCTMGLStyleValue styleValue) {
+ public static void setPosition(Light layer, RCTMLNStyleValue styleValue) {
Float[] values = styleValue.getFloatArray(VALUE_KEY);
layer.setPosition(Position.fromPosition(values[0], values[1], values[2]));
}
- public static void setPositionTransition(Light layer, RCTMGLStyleValue styleValue) {
+ public static void setPositionTransition(Light layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setPositionTransition(transition);
}
}
- public static void setColor(Light layer, RCTMGLStyleValue styleValue) {
+ public static void setColor(Light layer, RCTMLNStyleValue styleValue) {
layer.setColor(styleValue.getInt(VALUE_KEY));
}
- public static void setColorTransition(Light layer, RCTMGLStyleValue styleValue) {
+ public static void setColorTransition(Light layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setColorTransition(transition);
}
}
- public static void setIntensity(Light layer, RCTMGLStyleValue styleValue) {
+ public static void setIntensity(Light layer, RCTMLNStyleValue styleValue) {
layer.setIntensity(styleValue.getFloat(VALUE_KEY));
}
- public static void setIntensityTransition(Light layer, RCTMGLStyleValue styleValue) {
+ public static void setIntensityTransition(Light layer, RCTMLNStyleValue styleValue) {
TransitionOptions transition = styleValue.getTransition();
if (transition != null) {
layer.setIntensityTransition(transition);
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFunctionParser.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java
similarity index 90%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFunctionParser.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java
index d66f9ffa7..bd136c598 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFunctionParser.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles;
+package com.maplibre.rctmln.components.styles;
import android.util.Log;
@@ -24,10 +24,10 @@
* Created by nickitaliano on 9/12/17.
*/
-public abstract class RCTMGLStyleFunctionParser {
- private RCTMGLStyleValue mStyleValue;
+public abstract class RCTMLNStyleFunctionParser {
+ private RCTMLNStyleValue mStyleValue;
- public RCTMGLStyleFunctionParser(RCTMGLStyleValue styleValue) {
+ public RCTMLNStyleFunctionParser(RCTMLNStyleValue styleValue) {
mStyleValue = styleValue;
}
@@ -41,7 +41,7 @@ public List getRawStops() {
ReadableMap jsStopKey = rawStop.getMap(0);
ReadableMap jsStopValue = rawStop.getMap(1);
- RCTMGLStyleValue innerStyleValue = new RCTMGLStyleValue(jsStopValue);
+ RCTMLNStyleValue innerStyleValue = new RCTMLNStyleValue(jsStopValue);
Object propertyValue = null;
try {
@@ -72,7 +72,7 @@ public List getRawStops() {
return rawStops;
}
- protected abstract T getRawStopValue (RCTMGLStyleValue styleValue);
+ protected abstract T getRawStopValue (RCTMLNStyleValue styleValue);
protected abstract PropertyValue getStopValue(T value);
private Object getStopKey(ReadableMap jsStopKey) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java
similarity index 94%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java
index 37a166272..4cffa39fc 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles;
+package com.maplibre.rctmln.components.styles;
import androidx.annotation.NonNull;
@@ -10,15 +10,15 @@
import com.google.gson.JsonArray;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.TransitionOptions;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.ExpressionParser;
-import com.mapbox.rctmgl.utils.ImageEntry;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.ExpressionParser;
+import com.maplibre.rctmln.utils.ImageEntry;
/**
* Created by nickitaliano on 9/12/17.
*/
-public class RCTMGLStyleValue {
+public class RCTMLNStyleValue {
private String mType;
private boolean isExpression;
@@ -34,7 +34,7 @@ public class RCTMGLStyleValue {
public static final int InterpolationModeCategorical = 102;
public static final int InterpolationModeIdentity = 103;
- public RCTMGLStyleValue(@NonNull ReadableMap config) {
+ public RCTMLNStyleValue(@NonNull ReadableMap config) {
mType = config.getString("styletype");
mPayload = config.getMap("stylevalue");
@@ -192,7 +192,7 @@ public TransitionOptions getTransition() {
if (!mType.equals("transition")) {
return null;
}
- ReadableMap config = getMap(RCTMGLStyleFactory.VALUE_KEY);
+ ReadableMap config = getMap(RCTMLNStyleFactory.VALUE_KEY);
boolean enablePlacementTransitions = true;
if (config.hasKey("enablePlacementTransitions")) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTLayer.java
similarity index 93%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTLayer.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTLayer.java
index 477197525..b7d163a89 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTLayer.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTLayer.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import android.content.Context;
@@ -12,9 +12,9 @@
import com.mapbox.mapboxsdk.style.layers.Layer;
import com.mapbox.mapboxsdk.style.layers.Property;
import com.mapbox.mapboxsdk.style.layers.PropertyFactory;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.utils.ExpressionParser;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.utils.ExpressionParser;
import java.util.Arrays;
import java.util.HashSet;
@@ -43,7 +43,7 @@ public abstract class RCTLayer extends AbstractMapFeature {
protected T mLayer;
protected Context mContext;
- protected RCTMGLMapView mMapView;
+ protected RCTMLNMapView mMapView;
protected boolean mHadFilter;
@@ -170,7 +170,7 @@ public void add() {
}
public void addAbove(final String aboveLayerID) {
- mMapView.waitForLayer(aboveLayerID, new RCTMGLMapView.FoundLayerCallback() {
+ mMapView.waitForLayer(aboveLayerID, new RCTMLNMapView.FoundLayerCallback() {
public void found(Layer layer) {
if (!hasInitialized()) {
return;
@@ -183,7 +183,7 @@ public void found(Layer layer) {
}
public void addBelow(final String belowLayerID) {
- mMapView.waitForLayer(belowLayerID, new RCTMGLMapView.FoundLayerCallback() {
+ mMapView.waitForLayer(belowLayerID, new RCTMLNMapView.FoundLayerCallback() {
public void found(Layer layer) {
if (!hasInitialized()) {
return;
@@ -243,7 +243,7 @@ protected void updateFilter(Expression expression) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
mMap = mapView.getMapboxMap();
mMapView = mapView;
@@ -265,7 +265,7 @@ public void addToMap(RCTMGLMapView mapView) {
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
+ public void removeFromMap(RCTMLNMapView mapView) {
if (getStyle() != null) {
getStyle().removeLayer(mLayer);
}
diff --git a/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java
new file mode 100644
index 000000000..3d9ad2507
--- /dev/null
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java
@@ -0,0 +1,27 @@
+package com.maplibre.rctmln.components.styles.layers;
+
+import android.content.Context;
+
+import com.mapbox.mapboxsdk.style.layers.BackgroundLayer;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
+
+/**
+ * Created by nickitaliano on 9/25/17.
+ */
+
+public class RCTMLNBackgroundLayer extends RCTLayer {
+ public RCTMLNBackgroundLayer(Context context) {
+ super(context);
+ }
+
+ @Override
+ public BackgroundLayer makeLayer() {
+ return new BackgroundLayer(mID);
+ }
+
+ @Override
+ public void addStyles() {
+ RCTMLNStyleFactory.setBackgroundLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
+ }
+}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java
similarity index 58%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java
index 7c5c3330f..6b61a3b95 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimanager.ThemedReactContext;
@@ -9,8 +9,8 @@
* Created by nickitaliano on 9/25/17.
*/
-public class RCTMGLBackgroundLayerManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLBackgroundLayer";
+public class RCTMLNBackgroundLayerManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNBackgroundLayer";
@Override
public String getName() {
@@ -18,47 +18,47 @@ public String getName() {
}
@Override
- protected RCTMGLBackgroundLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLBackgroundLayer(reactContext);
+ protected RCTMLNBackgroundLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNBackgroundLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLBackgroundLayer layer, String id) {
+ public void setId(RCTMLNBackgroundLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLBackgroundLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNBackgroundLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLBackgroundLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNBackgroundLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLBackgroundLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNBackgroundLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLBackgroundLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNBackgroundLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLBackgroundLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNBackgroundLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLBackgroundLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNBackgroundLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLBackgroundLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNBackgroundLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java
similarity index 64%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayer.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java
index 2bc3d8581..b0a3e41a5 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayer.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java
@@ -1,21 +1,21 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import android.content.Context;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.CircleLayer;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
/**
* Created by nickitaliano on 9/18/17.
*/
-public class RCTMGLCircleLayer extends RCTLayer {
+public class RCTMLNCircleLayer extends RCTLayer {
private String mSourceLayerID;
- public RCTMGLCircleLayer(Context context) {
+ public RCTMLNCircleLayer(Context context) {
super(context);
}
@@ -25,7 +25,7 @@ protected void updateFilter(Expression expression) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
super.addToMap(mapView);
}
@@ -42,7 +42,7 @@ public CircleLayer makeLayer() {
@Override
public void addStyles() {
- RCTMGLStyleFactory.setCircleLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
+ RCTMLNStyleFactory.setCircleLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
}
public void setSourceLayerID(String sourceLayerID) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java
similarity index 59%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java
index 8356ab771..5adf1624c 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
@@ -12,8 +12,8 @@
* Created by nickitaliano on 9/18/17.
*/
-public class RCTMGLCircleLayerManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLCircleLayer";
+public class RCTMLNCircleLayerManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNCircleLayer";
@Override
public String getName() {
@@ -21,57 +21,57 @@ public String getName() {
}
@Override
- protected RCTMGLCircleLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLCircleLayer(reactContext);
+ protected RCTMLNCircleLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNCircleLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLCircleLayer layer, String id) {
+ public void setId(RCTMLNCircleLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLCircleLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNCircleLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLCircleLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNCircleLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLCircleLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNCircleLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLCircleLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNCircleLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLCircleLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNCircleLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLCircleLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNCircleLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLCircleLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNCircleLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
@ReactProp(name="sourceLayerID")
- public void setSourceLayerId(RCTMGLCircleLayer layer, String sourceLayerID) {
+ public void setSourceLayerId(RCTMLNCircleLayer layer, String sourceLayerID) {
layer.setSourceLayerID(sourceLayerID);
}
@ReactProp(name="filter")
- public void setFilter(RCTMGLCircleLayer layer, ReadableArray filterList) {
+ public void setFilter(RCTMLNCircleLayer layer, ReadableArray filterList) {
layer.setFilter(filterList);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java
similarity index 64%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayer.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java
index 4f9864cda..51e30b61c 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayer.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java
@@ -1,21 +1,21 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import android.content.Context;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.FillExtrusionLayer;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
/**
* Created by nickitaliano on 9/15/17.
*/
-public class RCTMGLFillExtrusionLayer extends RCTLayer {
+public class RCTMLNFillExtrusionLayer extends RCTLayer {
private String mSourceLayerID;
- public RCTMGLFillExtrusionLayer(Context context) {
+ public RCTMLNFillExtrusionLayer(Context context) {
super(context);
}
@@ -25,7 +25,7 @@ protected void updateFilter(Expression expression) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
super.addToMap(mapView);
}
@@ -42,7 +42,7 @@ public FillExtrusionLayer makeLayer() {
@Override
public void addStyles() {
- RCTMGLStyleFactory.setFillExtrusionLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
+ RCTMLNStyleFactory.setFillExtrusionLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
}
public void setSourceLayerID(String sourceLayerID) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java
similarity index 60%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java
index eb63759d8..79545d447 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableArray;
@@ -6,7 +6,7 @@
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
import java.util.HashMap;
import java.util.Map;
@@ -15,8 +15,8 @@
* Created by nickitaliano on 9/15/17.
*/
-public class RCTMGLFillExtrusionLayerManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLFillExtrusionLayer";
+public class RCTMLNFillExtrusionLayerManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNFillExtrusionLayer";
@Override
public String getName() {
@@ -24,57 +24,57 @@ public String getName() {
}
@Override
- protected RCTMGLFillExtrusionLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLFillExtrusionLayer(reactContext);
+ protected RCTMLNFillExtrusionLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNFillExtrusionLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLFillExtrusionLayer layer, String id) {
+ public void setId(RCTMLNFillExtrusionLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLFillExtrusionLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNFillExtrusionLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLFillExtrusionLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNFillExtrusionLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLFillExtrusionLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNFillExtrusionLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLFillExtrusionLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNFillExtrusionLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLFillExtrusionLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNFillExtrusionLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLFillExtrusionLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNFillExtrusionLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLFillExtrusionLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNFillExtrusionLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
@ReactProp(name="sourceLayerID")
- public void setSourceLayerId(RCTMGLFillExtrusionLayer layer, String sourceLayerID) {
+ public void setSourceLayerId(RCTMLNFillExtrusionLayer layer, String sourceLayerID) {
layer.setSourceLayerID(sourceLayerID);
}
@ReactProp(name="filter")
- public void setFilter(RCTMGLFillExtrusionLayer layer, ReadableArray filterList) {
+ public void setFilter(RCTMLNFillExtrusionLayer layer, ReadableArray filterList) {
layer.setFilter(filterList);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java
similarity index 67%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayer.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java
index ccb1d1fa9..8d43d5198 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayer.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java
@@ -1,21 +1,21 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import android.content.Context;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.FillLayer;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
/**
* Created by nickitaliano on 9/8/17.
*/
-public class RCTMGLFillLayer extends RCTLayer {
+public class RCTMLNFillLayer extends RCTLayer {
private String mSourceLayerID;
- public RCTMGLFillLayer(Context context) {
+ public RCTMLNFillLayer(Context context) {
super(context);
}
@@ -25,7 +25,7 @@ protected void updateFilter(Expression expression) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
super.addToMap(mapView);
}
@@ -42,7 +42,7 @@ public FillLayer makeLayer() {
@Override
public void addStyles() {
- RCTMGLStyleFactory.setFillLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
+ RCTMLNStyleFactory.setFillLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
}
public void setSourceLayerID(String sourceLayerID) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java
similarity index 59%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java
index 30ad8d06f..48974e150 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReadableArray;
@@ -6,7 +6,7 @@
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
import java.util.HashMap;
import java.util.Map;
@@ -15,8 +15,8 @@
* Created by nickitaliano on 9/8/17.
*/
-public class RCTMGLFillLayerManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLFillLayer";
+public class RCTMLNFillLayerManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNFillLayer";
@Override
public String getName() {
@@ -24,57 +24,57 @@ public String getName() {
}
@Override
- protected RCTMGLFillLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLFillLayer(reactContext);
+ protected RCTMLNFillLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNFillLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLFillLayer layer, String id) {
+ public void setId(RCTMLNFillLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLFillLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNFillLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="sourceLayerID")
- public void setSourceLayerId(RCTMGLFillLayer layer, String sourceLayerID) {
+ public void setSourceLayerId(RCTMLNFillLayer layer, String sourceLayerID) {
layer.setSourceLayerID(sourceLayerID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLFillLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNFillLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLFillLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNFillLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLFillLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNFillLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLFillLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNFillLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLFillLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNFillLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLFillLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNFillLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
@ReactProp(name="filter")
- public void setFilter(RCTMGLFillLayer layer, ReadableArray filterList) {
+ public void setFilter(RCTMLNFillLayer layer, ReadableArray filterList) {
layer.setFilter(filterList);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java
similarity index 64%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayer.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java
index 734160a98..5cec0aafa 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayer.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java
@@ -1,21 +1,21 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import android.content.Context;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.HeatmapLayer;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
/**
* Created by dhee9000 on 6/8/2019
*/
-public class RCTMGLHeatmapLayer extends RCTLayer {
+public class RCTMLNHeatmapLayer extends RCTLayer {
private String mSourceLayerID;
- public RCTMGLHeatmapLayer(Context context){
+ public RCTMLNHeatmapLayer(Context context){
super(context);
}
@@ -25,7 +25,7 @@ protected void updateFilter(Expression expression) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
super.addToMap(mapView);
}
@@ -42,7 +42,7 @@ public HeatmapLayer makeLayer() {
@Override
public void addStyles() {
- RCTMGLStyleFactory.setHeatmapLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
+ RCTMLNStyleFactory.setHeatmapLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
}
public void setSourceLayerID(String sourceLayerID) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java
similarity index 57%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java
index c6149e574..d64c0d554 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
@@ -12,8 +12,8 @@
* Created by dhee9000 on 6/8/2019
*/
-public class RCTMGLHeatmapLayerManager extends ViewGroupManager{
- public static final String REACT_CLASS = "RCTMGLHeatmapLayer";
+public class RCTMLNHeatmapLayerManager extends ViewGroupManager{
+ public static final String REACT_CLASS = "RCTMLNHeatmapLayer";
@Override
public String getName() {
@@ -21,57 +21,57 @@ public String getName() {
}
@Override
- protected RCTMGLHeatmapLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLHeatmapLayer(reactContext);
+ protected RCTMLNHeatmapLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNHeatmapLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLHeatmapLayer layer, String id) {
+ public void setId(RCTMLNHeatmapLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLHeatmapLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNHeatmapLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLHeatmapLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNHeatmapLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLHeatmapLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNHeatmapLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLHeatmapLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNHeatmapLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLHeatmapLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNHeatmapLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLHeatmapLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNHeatmapLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLHeatmapLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNHeatmapLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
@ReactProp(name="sourceLayerID")
- public void setSourceLayerId(RCTMGLHeatmapLayer layer, String sourceLayerID) {
+ public void setSourceLayerId(RCTMLNHeatmapLayer layer, String sourceLayerID) {
layer.setSourceLayerID(sourceLayerID);
}
@ReactProp(name="filter")
- public void setFilter(RCTMGLHeatmapLayer layer, ReadableArray filterList) {
+ public void setFilter(RCTMLNHeatmapLayer layer, ReadableArray filterList) {
layer.setFilter(filterList);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java
similarity index 67%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayer.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java
index 5f1d4c6bc..4258a4086 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayer.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java
@@ -1,21 +1,21 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import android.content.Context;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.LineLayer;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
/**
* Created by nickitaliano on 9/18/17.
*/
-public class RCTMGLLineLayer extends RCTLayer {
+public class RCTMLNLineLayer extends RCTLayer {
private String mSourceLayerID;
- public RCTMGLLineLayer(Context context) {
+ public RCTMLNLineLayer(Context context) {
super(context);
}
@@ -25,7 +25,7 @@ protected void updateFilter(Expression expression) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
super.addToMap(mapView);
}
@@ -42,7 +42,7 @@ public LineLayer makeLayer() {
@Override
public void addStyles() {
- RCTMGLStyleFactory.setLineLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
+ RCTMLNStyleFactory.setLineLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
}
public void setSourceLayerID(String sourceLayerID) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java
similarity index 56%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java
index 5c983d0c0..505a1d139 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java
@@ -1,12 +1,12 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.components.AbstractMapFeature;
import java.util.Map;
@@ -14,8 +14,8 @@
* Created by nickitaliano on 9/18/17.
*/
-public class RCTMGLLineLayerManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLLineLayer";
+public class RCTMLNLineLayerManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNLineLayer";
@Override
public String getName() {
@@ -23,57 +23,57 @@ public String getName() {
}
@Override
- protected RCTMGLLineLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLLineLayer(reactContext);
+ protected RCTMLNLineLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNLineLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLLineLayer layer, String id) {
+ public void setId(RCTMLNLineLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLLineLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNLineLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLLineLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNLineLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLLineLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNLineLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLLineLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNLineLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLLineLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNLineLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLLineLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNLineLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLLineLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNLineLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
@ReactProp(name="sourceLayerID")
- public void setSourceLayerId(RCTMGLLineLayer layer, String sourceLayerID) {
+ public void setSourceLayerId(RCTMLNLineLayer layer, String sourceLayerID) {
layer.setSourceLayerID(sourceLayerID);
}
@ReactProp(name="filter")
- public void setFilter(RCTMGLLineLayer layer, ReadableArray filterList) {
+ public void setFilter(RCTMLNLineLayer layer, ReadableArray filterList) {
layer.setFilter(filterList);
}
}
diff --git a/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java
new file mode 100644
index 000000000..234532fa1
--- /dev/null
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java
@@ -0,0 +1,27 @@
+package com.maplibre.rctmln.components.styles.layers;
+
+import android.content.Context;
+
+import com.mapbox.mapboxsdk.style.layers.RasterLayer;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
+
+/**
+ * Created by nickitaliano on 9/25/17.
+ */
+
+public class RCTMLNRasterLayer extends RCTLayer {
+ public RCTMLNRasterLayer(Context context) {
+ super(context);
+ }
+
+ @Override
+ public RasterLayer makeLayer() {
+ return new RasterLayer(mID, mSourceID);
+ }
+
+ @Override
+ public void addStyles() {
+ RCTMLNStyleFactory.setRasterLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
+ }
+}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java
similarity index 57%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java
index 746031b9e..a5a7a76a6 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimanager.ThemedReactContext;
@@ -9,8 +9,8 @@
* Created by nickitaliano on 9/25/17.
*/
-public class RCTMGLRasterLayerManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLRasterLayer";
+public class RCTMLNRasterLayerManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNRasterLayer";
@Override
public String getName() {
@@ -18,47 +18,47 @@ public String getName() {
}
@Override
- protected RCTMGLRasterLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLRasterLayer(reactContext);
+ protected RCTMLNRasterLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNRasterLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLRasterLayer layer, String id) {
+ public void setId(RCTMLNRasterLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLRasterLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNRasterLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLRasterLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNRasterLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLRasterLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNRasterLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLRasterLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNRasterLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLRasterLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNRasterLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLRasterLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNRasterLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLRasterLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNRasterLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayer.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java
similarity index 64%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayer.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java
index 95106790c..76307fe4b 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayer.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java
@@ -1,21 +1,21 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import android.content.Context;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.layers.SymbolLayer;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
/**
* Created by nickitaliano on 9/19/17.
*/
-public class RCTMGLSymbolLayer extends RCTLayer {
+public class RCTMLNSymbolLayer extends RCTLayer {
private String mSourceLayerID;
- public RCTMGLSymbolLayer(Context context) {
+ public RCTMLNSymbolLayer(Context context) {
super(context);
}
@@ -25,7 +25,7 @@ protected void updateFilter(Expression expression) {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
super.addToMap(mapView);
}
@@ -42,7 +42,7 @@ public SymbolLayer makeLayer() {
@Override
public void addStyles() {
- RCTMGLStyleFactory.setSymbolLayerStyle(mLayer, new RCTMGLStyle(getContext(), mReactStyle, mMap));
+ RCTMLNStyleFactory.setSymbolLayerStyle(mLayer, new RCTMLNStyle(getContext(), mReactStyle, mMap));
}
public void setSourceLayerID(String sourceLayerID) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayerManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java
similarity index 59%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayerManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java
index ac99610cb..c3254b0fc 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayerManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.layers;
+package com.maplibre.rctmln.components.styles.layers;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableMap;
@@ -10,8 +10,8 @@
* Created by nickitaliano on 9/19/17.
*/
-public class RCTMGLSymbolLayerManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLSymbolLayer";
+public class RCTMLNSymbolLayerManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNSymbolLayer";
@Override
public String getName() {
@@ -19,57 +19,57 @@ public String getName() {
}
@Override
- protected RCTMGLSymbolLayer createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLSymbolLayer(reactContext);
+ protected RCTMLNSymbolLayer createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNSymbolLayer(reactContext);
}
@ReactProp(name="id")
- public void setId(RCTMGLSymbolLayer layer, String id) {
+ public void setId(RCTMLNSymbolLayer layer, String id) {
layer.setID(id);
}
@ReactProp(name="sourceID")
- public void setSourceID(RCTMGLSymbolLayer layer, String sourceID) {
+ public void setSourceID(RCTMLNSymbolLayer layer, String sourceID) {
layer.setSourceID(sourceID);
}
@ReactProp(name="aboveLayerID")
- public void setAboveLayerID(RCTMGLSymbolLayer layer, String aboveLayerID) {
+ public void setAboveLayerID(RCTMLNSymbolLayer layer, String aboveLayerID) {
layer.setAboveLayerID(aboveLayerID);
}
@ReactProp(name="belowLayerID")
- public void setBelowLayerID(RCTMGLSymbolLayer layer, String belowLayerID) {
+ public void setBelowLayerID(RCTMLNSymbolLayer layer, String belowLayerID) {
layer.setBelowLayerID(belowLayerID);
}
@ReactProp(name="layerIndex")
- public void setLayerIndex(RCTMGLSymbolLayer layer, int layerIndex){
+ public void setLayerIndex(RCTMLNSymbolLayer layer, int layerIndex){
layer.setLayerIndex(layerIndex);
}
@ReactProp(name="minZoomLevel")
- public void setMinZoomLevel(RCTMGLSymbolLayer layer, double minZoomLevel) {
+ public void setMinZoomLevel(RCTMLNSymbolLayer layer, double minZoomLevel) {
layer.setMinZoomLevel(minZoomLevel);
}
@ReactProp(name="maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLSymbolLayer layer, double maxZoomLevel) {
+ public void setMaxZoomLevel(RCTMLNSymbolLayer layer, double maxZoomLevel) {
layer.setMaxZoomLevel(maxZoomLevel);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLSymbolLayer layer, ReadableMap style) {
+ public void setReactStyle(RCTMLNSymbolLayer layer, ReadableMap style) {
layer.setReactStyle(style);
}
@ReactProp(name="sourceLayerID")
- public void setSourceLayerId(RCTMGLSymbolLayer layer, String sourceLayerID) {
+ public void setSourceLayerId(RCTMLNSymbolLayer layer, String sourceLayerID) {
layer.setSourceLayerID(sourceLayerID);
}
@ReactProp(name="filter")
- public void setFilter(RCTMGLSymbolLayer layer, ReadableArray filterList) {
+ public void setFilter(RCTMLNSymbolLayer layer, ReadableArray filterList) {
layer.setFilter(filterList);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLight.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java
similarity index 67%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLight.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java
index bc0342860..4d48ce6d0 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLight.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.light;
+package com.maplibre.rctmln.components.styles.light;
import android.content.Context;
@@ -8,10 +8,10 @@
import com.mapbox.mapboxsdk.style.layers.TransitionOptions;
import com.mapbox.mapboxsdk.style.light.Light;
import com.mapbox.mapboxsdk.style.light.Position;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyle;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleFactory;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.RCTMLNStyle;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleFactory;
import java.util.HashMap;
import java.util.Map;
@@ -20,22 +20,22 @@
* Created by nickitaliano on 9/26/17.
*/
-public class RCTMGLLight extends AbstractMapFeature {
+public class RCTMLNLight extends AbstractMapFeature {
private MapboxMap mMap;
private ReadableMap mReactStyle;
- public RCTMGLLight(Context context) {
+ public RCTMLNLight(Context context) {
super(context);
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
mMap = mapView.getMapboxMap();
setLight();
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
+ public void removeFromMap(RCTMLNMapView mapView) {
// ignore there's nothing to remove just update the light style
}
@@ -46,7 +46,7 @@ public void setReactStyle(ReadableMap reactStyle) {
}
private void setLight(Light light) {
- RCTMGLStyleFactory.setLightLayerStyle(light, new RCTMGLStyle(getContext(), mReactStyle, mMap));
+ RCTMLNStyleFactory.setLightLayerStyle(light, new RCTMLNStyle(getContext(), mReactStyle, mMap));
}
private void setLight() {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLightManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java
similarity index 57%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLightManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java
index 069294ffc..265e19468 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLightManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.light;
+package com.maplibre.rctmln.components.styles.light;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.uimanager.ThemedReactContext;
@@ -9,8 +9,8 @@
* Created by nickitaliano on 9/26/17.
*/
-public class RCTMGLLightManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLLight";
+public class RCTMLNLightManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNLight";
@Override
public String getName() {
@@ -18,12 +18,12 @@ public String getName() {
}
@Override
- protected RCTMGLLight createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLLight(reactContext);
+ protected RCTMLNLight createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNLight(reactContext);
}
@ReactProp(name="reactStyle")
- public void setReactStyle(RCTMGLLight light, ReadableMap reactStyle) {
+ public void setReactStyle(RCTMLNLight light, ReadableMap reactStyle) {
light.setReactStyle(reactStyle);
}
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSource.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java
similarity index 89%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSource.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java
index d39c22ef3..721b2cbcc 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSource.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
import android.util.Log;
@@ -18,14 +18,14 @@
* Created by nickitaliano on 11/29/17.
*/
-public class RCTMGLImageSource extends RCTSource {
- public static final String LOG_TAG = "RCTMGLImageSource";
+public class RCTMLNImageSource extends RCTSource {
+ public static final String LOG_TAG = "RCTMLNImageSource";
private URL mURL;
private int mResourceId;
private LatLngQuad mCoordQuad;
- public RCTMGLImageSource(Context context) {
+ public RCTMLNImageSource(Context context) {
super(context);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSourceManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java
similarity index 58%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSourceManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java
index 0cbc830ed..a7046d734 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSourceManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
import android.view.View;
@@ -9,15 +9,15 @@
import com.facebook.react.uimanager.annotations.ReactProp;
import com.facebook.react.views.imagehelper.ImageSource;
import com.mapbox.mapboxsdk.geometry.LatLngQuad;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
/**
* Created by nickitaliano on 11/29/17.
*/
-public class RCTMGLImageSourceManager extends ViewGroupManager {
- public static final String REACT_CLASS = "RCTMGLImageSource";
+public class RCTMLNImageSourceManager extends ViewGroupManager {
+ public static final String REACT_CLASS = "RCTMLNImageSource";
@Override
public String getName() {
@@ -25,42 +25,42 @@ public String getName() {
}
@Override
- protected RCTMGLImageSource createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLImageSource(reactContext);
+ protected RCTMLNImageSource createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNImageSource(reactContext);
}
@Override
- public View getChildAt(RCTMGLImageSource source, int childPosition) {
+ public View getChildAt(RCTMLNImageSource source, int childPosition) {
return source.getLayerAt(childPosition);
}
@Override
- public int getChildCount(RCTMGLImageSource source) {
+ public int getChildCount(RCTMLNImageSource source) {
return source.getLayerCount();
}
@Override
- public void addView(RCTMGLImageSource source, View childView, int childPosition) {
+ public void addView(RCTMLNImageSource source, View childView, int childPosition) {
source.addLayer(childView, childPosition);
}
@Override
- public void removeViewAt(RCTMGLImageSource source, int childPosition) {
+ public void removeViewAt(RCTMLNImageSource source, int childPosition) {
source.removeLayer(childPosition);
}
@ReactProp(name = "id")
- public void setId(RCTMGLImageSource source, String id) {
+ public void setId(RCTMLNImageSource source, String id) {
source.setID(id);
}
@ReactProp(name = "url")
- public void setUrl(RCTMGLImageSource source, String url) {
+ public void setUrl(RCTMLNImageSource source, String url) {
source.setURL(url);
}
@ReactProp(name = "coordinates")
- public void setCoordinates(RCTMGLImageSource source, ReadableArray arr) {
+ public void setCoordinates(RCTMLNImageSource source, ReadableArray arr) {
LatLngQuad quad = GeoJSONUtils.toLatLngQuad(arr);
if (quad == null) {
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSource.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java
similarity index 85%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSource.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java
index 0bd920ddb..b471398c3 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSource.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
@@ -11,10 +11,10 @@
* Created by nickitaliano on 9/25/17.
*/
-public class RCTMGLRasterSource extends RCTMGLTileSource {
+public class RCTMLNRasterSource extends RCTMLNTileSource {
private Integer mTileSize;
- public RCTMGLRasterSource(Context context) {
+ public RCTMLNRasterSource(Context context) {
super(context);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSourceManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java
similarity index 60%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSourceManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java
index be2392b51..8fa5751d2 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSourceManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ThemedReactContext;
@@ -13,10 +13,10 @@
* Created by nickitaliano on 9/25/17.
*/
-public class RCTMGLRasterSourceManager extends RCTMGLTileSourceManager {
- public static final String REACT_CLASS = "RCTMGLRasterSource";
+public class RCTMLNRasterSourceManager extends RCTMLNTileSourceManager {
+ public static final String REACT_CLASS = "RCTMLNRasterSource";
- public RCTMGLRasterSourceManager(ReactApplicationContext reactApplicationContext) {
+ public RCTMLNRasterSourceManager(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@@ -28,12 +28,12 @@ public String getName() {
@Nonnull
@Override
- protected RCTMGLRasterSource createViewInstance(@Nonnull ThemedReactContext reactContext) {
- return new RCTMGLRasterSource(reactContext);
+ protected RCTMLNRasterSource createViewInstance(@Nonnull ThemedReactContext reactContext) {
+ return new RCTMLNRasterSource(reactContext);
}
@ReactProp(name="tileSize")
- public void setTileSize(RCTMGLRasterSource source, int tileSize) {
+ public void setTileSize(RCTMLNRasterSource source, int tileSize) {
source.setTileSize(tileSize);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSource.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java
similarity index 93%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSource.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java
index 23f878050..340e56b38 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSource.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
import android.graphics.Bitmap;
@@ -18,13 +18,13 @@
import com.mapbox.mapboxsdk.style.sources.GeoJsonOptions;
import com.mapbox.mapboxsdk.style.sources.GeoJsonSource;
import com.mapbox.mapboxsdk.utils.BitmapUtils;
-import com.mapbox.rctmgl.R;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.events.AndroidCallbackEvent;
-import com.mapbox.rctmgl.events.FeatureClickEvent;
-import com.mapbox.rctmgl.utils.ClusterPropertyEntry;
-import com.mapbox.rctmgl.utils.DownloadMapImageTask;
-import com.mapbox.rctmgl.utils.ImageEntry;
+import com.maplibre.rctmln.R;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.events.AndroidCallbackEvent;
+import com.maplibre.rctmln.events.FeatureClickEvent;
+import com.maplibre.rctmln.utils.ClusterPropertyEntry;
+import com.maplibre.rctmln.utils.DownloadMapImageTask;
+import com.maplibre.rctmln.utils.ImageEntry;
import java.net.URL;
import java.util.ArrayList;
@@ -36,9 +36,9 @@
* Created by nickitaliano on 9/19/17.
*/
-public class RCTMGLShapeSource extends RCTSource {
+public class RCTMLNShapeSource extends RCTSource {
private URL mURL;
- private RCTMGLShapeSourceManager mManager;
+ private RCTMLNShapeSourceManager mManager;
private String mShape;
@@ -56,19 +56,19 @@ public class RCTMGLShapeSource extends RCTSource {
private List> mImages;
private List> mNativeImages;
- public RCTMGLShapeSource(Context context, RCTMGLShapeSourceManager manager) {
+ public RCTMLNShapeSource(Context context, RCTMLNShapeSourceManager manager) {
super(context);
mManager = manager;
}
@Override
- public void addToMap(final RCTMGLMapView mapView) {
+ public void addToMap(final RCTMLNMapView mapView) {
// Wait for style before adding the source to the map
mapView.getMapboxMap().getStyle(new Style.OnStyleLoaded() {
@Override
public void onStyleLoaded(@NonNull Style style) {
MapboxMap map = mapView.getMapboxMap();
- RCTMGLShapeSource.super.addToMap(mapView);
+ RCTMLNShapeSource.super.addToMap(mapView);
}
});
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java
similarity index 76%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java
index 3fdf57c81..157e9b39b 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
import android.graphics.drawable.BitmapDrawable;
@@ -19,15 +19,15 @@
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.annotations.ReactProp;
import com.mapbox.mapboxsdk.style.expressions.Expression;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.components.annotation.RCTMGLCallout;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.layers.RCTLayer;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.utils.ClusterPropertyEntry;
-import com.mapbox.rctmgl.utils.ExpressionParser;
-import com.mapbox.rctmgl.utils.ImageEntry;
-import com.mapbox.rctmgl.utils.ResourceUtils;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.components.annotation.RCTMLNCallout;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.layers.RCTLayer;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.utils.ClusterPropertyEntry;
+import com.maplibre.rctmln.utils.ExpressionParser;
+import com.maplibre.rctmln.utils.ImageEntry;
+import com.maplibre.rctmln.utils.ResourceUtils;
import java.net.MalformedURLException;
import java.net.URL;
@@ -40,13 +40,13 @@
* Created by nickitaliano on 9/19/17.
*/
-public class RCTMGLShapeSourceManager extends AbstractEventEmitter {
- public static final String LOG_TAG = "RCTMGLShapeSourceManager";
- public static final String REACT_CLASS = "RCTMGLShapeSource";
+public class RCTMLNShapeSourceManager extends AbstractEventEmitter {
+ public static final String LOG_TAG = "RCTMLNShapeSourceManager";
+ public static final String REACT_CLASS = "RCTMLNShapeSource";
private ReactApplicationContext mContext;
- public RCTMGLShapeSourceManager(ReactApplicationContext context) {
+ public RCTMLNShapeSourceManager(ReactApplicationContext context) {
super(context);
mContext = context;
}
@@ -57,37 +57,37 @@ public String getName() {
}
@Override
- protected RCTMGLShapeSource createViewInstance(ThemedReactContext reactContext) {
- return new RCTMGLShapeSource(reactContext, this);
+ protected RCTMLNShapeSource createViewInstance(ThemedReactContext reactContext) {
+ return new RCTMLNShapeSource(reactContext, this);
}
@Override
- public View getChildAt(RCTMGLShapeSource source, int childPosition) {
+ public View getChildAt(RCTMLNShapeSource source, int childPosition) {
return source.getLayerAt(childPosition);
}
@Override
- public int getChildCount(RCTMGLShapeSource source) {
+ public int getChildCount(RCTMLNShapeSource source) {
return source.getLayerCount();
}
@Override
- public void addView(RCTMGLShapeSource source, View childView, int childPosition) {
+ public void addView(RCTMLNShapeSource source, View childView, int childPosition) {
source.addLayer(childView, getChildCount(source));
}
@Override
- public void removeViewAt(RCTMGLShapeSource source, int childPosition) {
+ public void removeViewAt(RCTMLNShapeSource source, int childPosition) {
source.removeLayer(childPosition);
}
@ReactProp(name = "id")
- public void setId(RCTMGLShapeSource source, String id) {
+ public void setId(RCTMLNShapeSource source, String id) {
source.setID(id);
}
@ReactProp(name = "url")
- public void setURL(RCTMGLShapeSource source, String urlStr) {
+ public void setURL(RCTMLNShapeSource source, String urlStr) {
try {
source.setURL(new URL(urlStr));
} catch (MalformedURLException e) {
@@ -96,27 +96,27 @@ public void setURL(RCTMGLShapeSource source, String urlStr) {
}
@ReactProp(name = "shape")
- public void setGeometry(RCTMGLShapeSource source, String geoJSONStr) {
+ public void setGeometry(RCTMLNShapeSource source, String geoJSONStr) {
source.setShape(geoJSONStr);
}
@ReactProp(name = "cluster")
- public void setCluster(RCTMGLShapeSource source, int cluster) {
+ public void setCluster(RCTMLNShapeSource source, int cluster) {
source.setCluster(cluster == 1);
}
@ReactProp(name = "clusterRadius")
- public void setClusterRadius(RCTMGLShapeSource source, int radius) {
+ public void setClusterRadius(RCTMLNShapeSource source, int radius) {
source.setClusterRadius(radius);
}
@ReactProp(name = "clusterMaxZoomLevel")
- public void setClusterMaxZoomLevel(RCTMGLShapeSource source, int clusterMaxZoom) {
+ public void setClusterMaxZoomLevel(RCTMLNShapeSource source, int clusterMaxZoom) {
source.setClusterMaxZoom(clusterMaxZoom);
}
@ReactProp(name = "clusterProperties")
- public void setClusterProperties(RCTMGLShapeSource source, ReadableMap map) {
+ public void setClusterProperties(RCTMLNShapeSource source, ReadableMap map) {
List> properties = new ArrayList<>();
ReadableMapKeySetIterator iterator = map.keySetIterator();
@@ -140,32 +140,32 @@ public void setClusterProperties(RCTMGLShapeSource source, ReadableMap map) {
}
@ReactProp(name = "maxZoomLevel")
- public void setMaxZoomLevel(RCTMGLShapeSource source, int maxZoom) {
+ public void setMaxZoomLevel(RCTMLNShapeSource source, int maxZoom) {
source.setMaxZoom(maxZoom);
}
@ReactProp(name = "buffer")
- public void setBuffer(RCTMGLShapeSource source, int buffer) {
+ public void setBuffer(RCTMLNShapeSource source, int buffer) {
source.setBuffer(buffer);
}
@ReactProp(name = "tolerance")
- public void setTolerance(RCTMGLShapeSource source, double tolerance) {
+ public void setTolerance(RCTMLNShapeSource source, double tolerance) {
source.setTolerance(tolerance);
}
@ReactProp(name = "lineMetrics")
- public void setLineMetrics(RCTMGLShapeSource source, boolean lineMetrics) {
+ public void setLineMetrics(RCTMLNShapeSource source, boolean lineMetrics) {
source.setLineMetrics(lineMetrics);
}
@ReactProp(name = "hasPressListener")
- public void setHasPressListener(RCTMGLShapeSource source, boolean hasPressListener) {
+ public void setHasPressListener(RCTMLNShapeSource source, boolean hasPressListener) {
source.setHasPressListener(hasPressListener);
}
@ReactProp(name="hitbox")
- public void setHitbox(RCTMGLShapeSource source, ReadableMap map) {
+ public void setHitbox(RCTMLNShapeSource source, ReadableMap map) {
source.setHitbox(map);
}
@@ -206,7 +206,7 @@ public Map getCommandsMap() {
}
@Override
- public void receiveCommand(RCTMGLShapeSource source, int commandID, @Nullable ReadableArray args) {
+ public void receiveCommand(RCTMLNShapeSource source, int commandID, @Nullable ReadableArray args) {
switch (commandID) {
case METHOD_FEATURES:
source.querySourceFeatures(
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSource.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java
similarity index 93%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSource.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java
index 8a9ed9e2f..bc870884e 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSource.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
@@ -8,7 +8,7 @@
import java.util.Collection;
@SuppressWarnings("unused")
-public abstract class RCTMGLTileSource extends RCTSource {
+public abstract class RCTMLNTileSource extends RCTSource {
static final String TILE_SPEC_VERSION = "2.1.0";
private String mURL;
@@ -20,7 +20,7 @@ public abstract class RCTMGLTileSource extends RCTSource {
private boolean mIsTmsSource;
- public RCTMGLTileSource(Context context) {
+ public RCTMLNTileSource(Context context) {
super(context);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSourceManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java
similarity index 89%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSourceManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java
index 2f3ddc29f..a2160da30 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSourceManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.view.View;
@@ -6,14 +6,14 @@
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.ReadableType;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
import java.util.ArrayList;
import java.util.List;
-public abstract class RCTMGLTileSourceManager extends AbstractEventEmitter {
+public abstract class RCTMLNTileSourceManager extends AbstractEventEmitter {
- RCTMGLTileSourceManager(ReactApplicationContext reactApplicationContext) {
+ RCTMLNTileSourceManager(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSource.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java
similarity index 85%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSource.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java
index de69eadc3..8604b3036 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSource.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
import androidx.annotation.Nullable;
@@ -10,8 +10,8 @@
import com.mapbox.geojson.FeatureCollection;
import com.mapbox.mapboxsdk.style.expressions.Expression;
import com.mapbox.mapboxsdk.style.sources.VectorSource;
-import com.mapbox.rctmgl.events.AndroidCallbackEvent;
-import com.mapbox.rctmgl.events.FeatureClickEvent;
+import com.maplibre.rctmln.events.AndroidCallbackEvent;
+import com.maplibre.rctmln.events.FeatureClickEvent;
import java.util.List;
@@ -19,10 +19,10 @@
* Created by nickitaliano on 9/8/17.
*/
-public class RCTMGLVectorSource extends RCTMGLTileSource {
- private RCTMGLVectorSourceManager mManager;
+public class RCTMLNVectorSource extends RCTMLNTileSource {
+ private RCTMLNVectorSourceManager mManager;
- public RCTMGLVectorSource(Context context, RCTMGLVectorSourceManager manager) {
+ public RCTMLNVectorSource(Context context, RCTMLNVectorSourceManager manager) {
super(context);
mManager = manager;
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSourceManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java
similarity index 72%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSourceManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java
index 33019f2d9..ce1531a4d 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSourceManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import androidx.annotation.Nullable;
@@ -8,9 +8,9 @@
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.ExpressionParser;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.ExpressionParser;
import javax.annotation.Nonnull;
@@ -20,10 +20,10 @@
* Created by nickitaliano on 9/8/17.
*/
-public class RCTMGLVectorSourceManager extends RCTMGLTileSourceManager {
- public static final String REACT_CLASS = "RCTMGLVectorSource";
+public class RCTMLNVectorSourceManager extends RCTMLNTileSourceManager {
+ public static final String REACT_CLASS = "RCTMLNVectorSource";
- public RCTMGLVectorSourceManager(ReactApplicationContext reactApplicationContext) {
+ public RCTMLNVectorSourceManager(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
}
@@ -35,17 +35,17 @@ public String getName() {
@Nonnull
@Override
- protected RCTMGLVectorSource createViewInstance(@Nonnull ThemedReactContext reactContext) {
- return new RCTMGLVectorSource(reactContext, this);
+ protected RCTMLNVectorSource createViewInstance(@Nonnull ThemedReactContext reactContext) {
+ return new RCTMLNVectorSource(reactContext, this);
}
@ReactProp(name = "hasPressListener")
- public void setHasPressListener(RCTMGLVectorSource source, boolean hasPressListener) {
+ public void setHasPressListener(RCTMLNVectorSource source, boolean hasPressListener) {
source.setHasPressListener(hasPressListener);
}
@ReactProp(name="hitbox")
- public void setHitbox(RCTMGLVectorSource source, ReadableMap map) {
+ public void setHitbox(RCTMLNVectorSource source, ReadableMap map) {
source.setHitbox(map);
}
@@ -69,7 +69,7 @@ public Map getCommandsMap() {
}
@Override
- public void receiveCommand(RCTMGLVectorSource vectorSource, int commandID, @Nullable ReadableArray args) {
+ public void receiveCommand(RCTMLNVectorSource vectorSource, int commandID, @Nullable ReadableArray args) {
switch (commandID) {
case METHOD_FEATURES:
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTSource.java b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTSource.java
similarity index 94%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTSource.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTSource.java
index 6b8d8c197..b963bca22 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTSource.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTSource.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.components.styles.sources;
+package com.maplibre.rctmln.components.styles.sources;
import android.content.Context;
import androidx.annotation.NonNull;
@@ -14,9 +14,9 @@
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.Style;
import com.mapbox.mapboxsdk.style.sources.Source;
-import com.mapbox.rctmgl.components.AbstractMapFeature;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.components.styles.layers.RCTLayer;
+import com.maplibre.rctmln.components.AbstractMapFeature;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.components.styles.layers.RCTLayer;
import java.util.ArrayList;
import java.util.HashMap;
@@ -34,7 +34,7 @@ public abstract class RCTSource extends AbstractMapFeature {
public static final double DEFAULT_HITBOX_WIDTH = 44.0;
public static final double DEFAULT_HITBOX_HEIGHT = 44.0;
- protected RCTMGLMapView mMapView;
+ protected RCTMLNMapView mMapView;
protected MapboxMap mMap;
protected String mID;
@@ -116,7 +116,7 @@ public int getLayerCount () {
}
@Override
- public void addToMap(RCTMGLMapView mapView) {
+ public void addToMap(RCTMLNMapView mapView) {
mMapView = mapView;
mMap = mapView.getMapboxMap();
mMap.getStyle(new Style.OnStyleLoaded() {
@@ -146,7 +146,7 @@ public void onStyleLoaded(@NonNull Style style) {
}
@Override
- public void removeFromMap(RCTMGLMapView mapView) {
+ public void removeFromMap(RCTMLNMapView mapView) {
if (mLayers.size() > 0) {
for (int i = 0; i < mLayers.size(); i++) {
RCTLayer layer = mLayers.get(i);
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/AbstractEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/AbstractEvent.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/AbstractEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/AbstractEvent.java
index f11a767ad..e9c1e3dc5 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/AbstractEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/AbstractEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.view.View;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/AndroidCallbackEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/AndroidCallbackEvent.java
similarity index 91%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/AndroidCallbackEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/AndroidCallbackEvent.java
index 082935cc9..858ed28cc 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/AndroidCallbackEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/AndroidCallbackEvent.java
@@ -1,10 +1,10 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.view.View;
import com.facebook.react.bridge.WritableArray;
import com.facebook.react.bridge.WritableMap;
-import com.mapbox.rctmgl.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventKeys;
/**
* Created by nickitaliano on 10/3/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/EventEmitter.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/EventEmitter.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/EventEmitter.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/EventEmitter.java
index da009739e..48899805e 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/EventEmitter.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/EventEmitter.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.util.Log;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/FeatureClickEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/FeatureClickEvent.java
similarity index 89%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/FeatureClickEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/FeatureClickEvent.java
index cd5971a84..e5e5e5cb2 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/FeatureClickEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/FeatureClickEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.graphics.PointF;
import android.view.View;
@@ -8,11 +8,11 @@
import com.facebook.react.bridge.WritableMap;
import com.mapbox.geojson.Feature;
import com.mapbox.mapboxsdk.geometry.LatLng;
-import com.mapbox.rctmgl.components.styles.sources.RCTSource;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.styles.sources.RCTSource;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
import java.util.List;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/IEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/IEvent.java
similarity index 90%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/IEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/IEvent.java
index 378ea4095..6b11619d0 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/IEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/IEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import com.facebook.react.bridge.WritableMap;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/ImageMissingEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/ImageMissingEvent.java
similarity index 87%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/ImageMissingEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/ImageMissingEvent.java
index da13915f4..d678d73d8 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/ImageMissingEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/ImageMissingEvent.java
@@ -1,9 +1,9 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableNativeMap;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.events.constants.EventTypes;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventTypes;
import android.view.View;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/LocationEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/LocationEvent.java
similarity index 89%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/LocationEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/LocationEvent.java
index 91718dc3c..de23160d2 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/LocationEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/LocationEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.location.Location;
import androidx.annotation.NonNull;
@@ -6,18 +6,18 @@
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.bridge.WritableNativeMap;
-import com.mapbox.rctmgl.components.mapview.RCTMGLMapView;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.events.constants.EventTypes;
+import com.maplibre.rctmln.components.mapview.RCTMLNMapView;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventTypes;
import java.util.UUID;
public class LocationEvent implements IEvent {
private UUID uuid;
- private RCTMGLMapView mapView;
+ private RCTMLNMapView mapView;
private Location location;
- public LocationEvent(@NonNull Location location, RCTMGLMapView mapView) {
+ public LocationEvent(@NonNull Location location, RCTMLNMapView mapView) {
this.mapView = mapView;
this.location = location;
this.uuid = UUID.randomUUID();
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapChangeEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapChangeEvent.java
similarity index 85%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapChangeEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/MapChangeEvent.java
index d7df52232..4e5c037dc 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapChangeEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapChangeEvent.java
@@ -1,11 +1,11 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.view.View;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
-import com.mapbox.rctmgl.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventKeys;
/**
* Created by nickitaliano on 8/27/17.
@@ -40,7 +40,7 @@ public WritableMap getPayload() {
public boolean canCoalesce() {
// Make sure EventDispatcher never merges EventKeys.MAP_ONCHANGE events.
// This event name is used to emit events with different
- // com.mapbox.rctmgl.events.constants.EventTypes which are dispatched separately on
+ // com.maplibre.rctmln.events.constants.EventTypes which are dispatched separately on
// the JS side
return false;
}
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapClickEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapClickEvent.java
similarity index 87%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapClickEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/MapClickEvent.java
index 2e439b93e..03da64af9 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapClickEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapClickEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.graphics.PointF;
import androidx.annotation.NonNull;
@@ -8,9 +8,9 @@
import com.facebook.react.bridge.WritableNativeMap;
import com.mapbox.mapboxsdk.geometry.LatLng;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
/**
* Created by nickitaliano on 8/23/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapUserTrackingModeEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapUserTrackingModeEvent.java
similarity index 81%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapUserTrackingModeEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/MapUserTrackingModeEvent.java
index 6ed86ae3a..cd1a57e1a 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/MapUserTrackingModeEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapUserTrackingModeEvent.java
@@ -1,12 +1,12 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.view.View;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.WritableMap;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.location.UserTrackingMode;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.location.UserTrackingMode;
/**
* Created by nickitaliano on 12/19/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/OfflineEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/OfflineEvent.java
similarity index 94%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/OfflineEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/OfflineEvent.java
index fbd835587..9047625a3 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/OfflineEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/OfflineEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.bridge.WritableMap;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/PointAnnotationClickEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationClickEvent.java
similarity index 75%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/PointAnnotationClickEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationClickEvent.java
index c2193f79b..101397c30 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/PointAnnotationClickEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationClickEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.graphics.PointF;
import androidx.annotation.NonNull;
@@ -8,22 +8,22 @@
import com.facebook.react.bridge.WritableNativeMap;
import com.mapbox.mapboxsdk.plugins.markerview.MarkerView;
import com.mapbox.mapboxsdk.geometry.LatLng;
-import com.mapbox.rctmgl.components.annotation.RCTMGLPointAnnotation;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.annotation.RCTMLNPointAnnotation;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
/**
* Created by nickitaliano on 10/11/17.
*/
public class PointAnnotationClickEvent extends MapClickEvent {
- private RCTMGLPointAnnotation mView;
+ private RCTMLNPointAnnotation mView;
private LatLng mTouchedLatLng;
private PointF mScreenPoint;
- public PointAnnotationClickEvent(RCTMGLPointAnnotation view, @NonNull LatLng latLng, @NonNull PointF screenPoint, String eventType) {
+ public PointAnnotationClickEvent(RCTMLNPointAnnotation view, @NonNull LatLng latLng, @NonNull PointF screenPoint, String eventType) {
super(view, latLng, screenPoint, eventType);
mView = view;
mTouchedLatLng = latLng;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/PointAnnotationDragEvent.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationDragEvent.java
similarity index 77%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/PointAnnotationDragEvent.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationDragEvent.java
index cc6a26824..b4f2f91b4 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/PointAnnotationDragEvent.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationDragEvent.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events;
+package com.maplibre.rctmln.events;
import android.graphics.PointF;
import androidx.annotation.NonNull;
@@ -8,18 +8,18 @@
import com.facebook.react.bridge.WritableNativeMap;
import com.mapbox.mapboxsdk.plugins.markerview.MarkerView;
import com.mapbox.mapboxsdk.geometry.LatLng;
-import com.mapbox.rctmgl.components.annotation.RCTMGLPointAnnotation;
-import com.mapbox.rctmgl.events.constants.EventKeys;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.components.annotation.RCTMLNPointAnnotation;
+import com.maplibre.rctmln.events.constants.EventKeys;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
public class PointAnnotationDragEvent extends MapClickEvent {
- RCTMGLPointAnnotation mView;
+ RCTMLNPointAnnotation mView;
private LatLng mTouchedLatLng;
private PointF mScreenPoint;
- public PointAnnotationDragEvent(RCTMGLPointAnnotation view, @NonNull LatLng latLng, @NonNull PointF screenPoint, String eventType) {
+ public PointAnnotationDragEvent(RCTMLNPointAnnotation view, @NonNull LatLng latLng, @NonNull PointF screenPoint, String eventType) {
super(view, latLng, screenPoint, eventType);
mView = view;
mTouchedLatLng = latLng;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/constants/EventKeys.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventKeys.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/constants/EventKeys.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventKeys.java
index f59c06ccb..d5eba78d4 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/constants/EventKeys.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventKeys.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events.constants;
+package com.maplibre.rctmln.events.constants;
/**
* Created by nickitaliano on 8/27/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/constants/EventTypes.java b/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventTypes.java
similarity index 98%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/events/constants/EventTypes.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventTypes.java
index aafc72695..a2926055a 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/events/constants/EventTypes.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventTypes.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.events.constants;
+package com.maplibre.rctmln.events.constants;
/**
* Created by nickitaliano on 8/24/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/http/CustomHeadersInterceptor.java b/android/rctmln/src/main/java/com/maplibre/rctmln/http/CustomHeadersInterceptor.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/http/CustomHeadersInterceptor.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/http/CustomHeadersInterceptor.java
index 14837aa59..a91a87a0f 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/http/CustomHeadersInterceptor.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/http/CustomHeadersInterceptor.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.http;
+package com.maplibre.rctmln.http;
import android.util.Log;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/LocationManager.java b/android/rctmln/src/main/java/com/maplibre/rctmln/location/LocationManager.java
similarity index 99%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/location/LocationManager.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/location/LocationManager.java
index 16dbb387f..e442e3660 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/LocationManager.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/location/LocationManager.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.location;
+package com.maplibre.rctmln.location;
import android.content.Context;
import android.location.Location;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserLocation.java b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocation.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserLocation.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocation.java
index 343bb3cb1..bbe27b4c7 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserLocation.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocation.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.location;
+package com.maplibre.rctmln.location;
import android.location.Location;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserLocationVerticalAlignment.java b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocationVerticalAlignment.java
similarity index 84%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserLocationVerticalAlignment.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocationVerticalAlignment.java
index 4303bcaf8..c25c5dc68 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserLocationVerticalAlignment.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocationVerticalAlignment.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.location;
+package com.maplibre.rctmln.location;
/**
* Created by nickitaliano on 12/13/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserTrackingMode.java b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingMode.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserTrackingMode.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingMode.java
index dadc22a7b..2bffbabb3 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserTrackingMode.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingMode.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.location;
+package com.maplibre.rctmln.location;
/*
import com.mapbox.mapboxsdk.plugins.locationlayer.modes.RenderMode;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserTrackingState.java b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingState.java
similarity index 92%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserTrackingState.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingState.java
index d6e6b8bef..304a8e897 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/location/UserTrackingState.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingState.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.location;
+package com.maplibre.rctmln.location;
/**
* Created by nickitaliano on 12/13/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLocationModule.java b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java
similarity index 91%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLocationModule.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java
index d4b8cb7d4..f508b5d96 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLocationModule.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.modules;
+package com.maplibre.rctmln.modules;
import android.location.Location;
import androidx.annotation.NonNull;
@@ -12,13 +12,13 @@
import com.facebook.react.modules.core.RCTNativeAppEventEmitter;
import com.mapbox.mapboxsdk.location.engine.LocationEngineCallback;
import com.mapbox.mapboxsdk.location.engine.LocationEngineResult;
-import com.mapbox.rctmgl.events.EventEmitter;
-import com.mapbox.rctmgl.events.LocationEvent;
-import com.mapbox.rctmgl.location.LocationManager;
+import com.maplibre.rctmln.events.EventEmitter;
+import com.maplibre.rctmln.events.LocationEvent;
+import com.maplibre.rctmln.location.LocationManager;
-@ReactModule(name = RCTMGLLocationModule.REACT_CLASS)
-public class RCTMGLLocationModule extends ReactContextBaseJavaModule {
- public static final String REACT_CLASS = "RCTMGLLocationModule";
+@ReactModule(name = RCTMLNLocationModule.REACT_CLASS)
+public class RCTMLNLocationModule extends ReactContextBaseJavaModule {
+ public static final String REACT_CLASS = "RCTMLNLocationModule";
public static final String LOCATION_UPDATE = "MapboxUserLocationUpdate";
private boolean isEnabled;
@@ -58,7 +58,7 @@ public void onLocationChange(Location location) {
}
};
- public RCTMGLLocationModule(ReactApplicationContext reactContext) {
+ public RCTMLNLocationModule(ReactApplicationContext reactContext) {
super(reactContext);
locationManager = LocationManager.getInstance(reactContext);
reactContext.addLifecycleEventListener(lifecycleEventListener);
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLogging.java b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java
similarity index 93%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLogging.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java
index dbf2ee751..3adf3219f 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLogging.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.modules;
+package com.maplibre.rctmln.modules;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReactApplicationContext;
@@ -11,12 +11,12 @@
import com.mapbox.mapboxsdk.log.LoggerDefinition;
import android.util.Log;
-@ReactModule(name = RCTMGLLogging.REACT_CLASS)
-public class RCTMGLLogging extends ReactContextBaseJavaModule {
- public static final String REACT_CLASS = "RCTMGLLogging";
+@ReactModule(name = RCTMLNLogging.REACT_CLASS)
+public class RCTMLNLogging extends ReactContextBaseJavaModule {
+ public static final String REACT_CLASS = "RCTMLNLogging";
private ReactApplicationContext mReactContext;
- public RCTMGLLogging(ReactApplicationContext reactApplicationContext) {
+ public RCTMLNLogging(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
mReactContext = reactApplicationContext;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLModule.java b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java
similarity index 92%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLModule.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java
index a09694a5e..84bd2c09f 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLModule.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.modules;
+package com.maplibre.rctmln.modules;
import android.os.Handler;
import android.util.Log;
@@ -12,13 +12,13 @@
import com.mapbox.mapboxsdk.Mapbox;
import com.mapbox.mapboxsdk.WellKnownTileServer;
import com.mapbox.mapboxsdk.style.layers.Property;
-import com.mapbox.rctmgl.components.camera.constants.CameraMode;
-import com.mapbox.rctmgl.components.styles.RCTMGLStyleValue;
-import com.mapbox.rctmgl.components.styles.sources.RCTSource;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.http.CustomHeadersInterceptor;
-import com.mapbox.rctmgl.location.UserLocationVerticalAlignment;
-import com.mapbox.rctmgl.location.UserTrackingMode;
+import com.maplibre.rctmln.components.camera.constants.CameraMode;
+import com.maplibre.rctmln.components.styles.RCTMLNStyleValue;
+import com.maplibre.rctmln.components.styles.sources.RCTSource;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.http.CustomHeadersInterceptor;
+import com.maplibre.rctmln.location.UserLocationVerticalAlignment;
+import com.maplibre.rctmln.location.UserTrackingMode;
import okhttp3.Dispatcher;
import okhttp3.OkHttpClient;
@@ -34,16 +34,16 @@
* Created by nickitaliano on 8/18/17.
*/
-@ReactModule(name = RCTMGLModule.REACT_CLASS)
-public class RCTMGLModule extends ReactContextBaseJavaModule {
- public static final String REACT_CLASS = "RCTMGLModule";
+@ReactModule(name = RCTMLNModule.REACT_CLASS)
+public class RCTMLNModule extends ReactContextBaseJavaModule {
+ public static final String REACT_CLASS = "RCTMLNModule";
private static boolean customHeaderInterceptorAdded = false;
private Handler mUiThreadHandler;
private ReactApplicationContext mReactContext;
- public RCTMGLModule(ReactApplicationContext reactApplicationContext) {
+ public RCTMLNModule(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
mReactContext = reactApplicationContext;
}
@@ -105,10 +105,10 @@ public Map getConstants() {
// interpolation modes
Map interpolationModes = new HashMap<>();
- interpolationModes.put("Exponential", RCTMGLStyleValue.InterpolationModeExponential);
- interpolationModes.put("Categorical", RCTMGLStyleValue.InterpolationModeCategorical);
- interpolationModes.put("Interval", RCTMGLStyleValue.InterpolationModeInterval);
- interpolationModes.put("Identity", RCTMGLStyleValue.InterpolationModeIdentity);
+ interpolationModes.put("Exponential", RCTMLNStyleValue.InterpolationModeExponential);
+ interpolationModes.put("Categorical", RCTMLNStyleValue.InterpolationModeCategorical);
+ interpolationModes.put("Interval", RCTMLNStyleValue.InterpolationModeInterval);
+ interpolationModes.put("Identity", RCTMLNStyleValue.InterpolationModeIdentity);
// line layer constants
Map lineJoin = new HashMap<>();
@@ -226,18 +226,18 @@ public Map getConstants() {
// offline region download states
Map offlinePackDownloadStates = new HashMap<>();
- offlinePackDownloadStates.put("Inactive", RCTMGLOfflineModule.INACTIVE_REGION_DOWNLOAD_STATE);
- offlinePackDownloadStates.put("Active", RCTMGLOfflineModule.ACTIVE_REGION_DOWNLOAD_STATE);
- offlinePackDownloadStates.put("Complete", RCTMGLOfflineModule.COMPLETE_REGION_DOWNLOAD_STATE);
+ offlinePackDownloadStates.put("Inactive", RCTMLNOfflineModule.INACTIVE_REGION_DOWNLOAD_STATE);
+ offlinePackDownloadStates.put("Active", RCTMLNOfflineModule.ACTIVE_REGION_DOWNLOAD_STATE);
+ offlinePackDownloadStates.put("Complete", RCTMLNOfflineModule.COMPLETE_REGION_DOWNLOAD_STATE);
// offline module callback names
Map offlineModuleCallbackNames = new HashMap<>();
- offlineModuleCallbackNames.put("Error", RCTMGLOfflineModule.OFFLINE_ERROR);
- offlineModuleCallbackNames.put("Progress", RCTMGLOfflineModule.OFFLINE_PROGRESS);
+ offlineModuleCallbackNames.put("Error", RCTMLNOfflineModule.OFFLINE_ERROR);
+ offlineModuleCallbackNames.put("Progress", RCTMLNOfflineModule.OFFLINE_PROGRESS);
// location module callback names
Map locationModuleCallbackNames = new HashMap<>();
- locationModuleCallbackNames.put("Update", RCTMGLLocationModule.LOCATION_UPDATE);
+ locationModuleCallbackNames.put("Update", RCTMLNLocationModule.LOCATION_UPDATE);
return MapBuilder.builder()
.put("StyleURL", styleURLS)
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java
index 80e714167..2154ad91a 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.modules;
+package com.maplibre.rctmln.modules;
import android.content.Context;
import android.os.Handler;
@@ -18,11 +18,11 @@
import com.mapbox.mapboxsdk.offline.OfflineRegionStatus;
import com.mapbox.mapboxsdk.offline.OfflineTilePyramidRegionDefinition;
import com.mapbox.mapboxsdk.storage.FileSource;
-import com.mapbox.rctmgl.events.IEvent;
-import com.mapbox.rctmgl.events.OfflineEvent;
-import com.mapbox.rctmgl.events.constants.EventTypes;
-import com.mapbox.rctmgl.utils.ConvertUtils;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.events.IEvent;
+import com.maplibre.rctmln.events.OfflineEvent;
+import com.maplibre.rctmln.events.constants.EventTypes;
+import com.maplibre.rctmln.utils.ConvertUtils;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
import com.mapbox.mapboxsdk.maps.Style;
import org.json.JSONException;
@@ -36,9 +36,9 @@
* Created by nickitaliano on 10/24/17.
*/
-@ReactModule(name = RCTMGLOfflineModule.REACT_CLASS)
-public class RCTMGLOfflineModule extends ReactContextBaseJavaModule {
- public static final String REACT_CLASS = "RCTMGLOfflineModule";
+@ReactModule(name = RCTMLNOfflineModule.REACT_CLASS)
+public class RCTMLNOfflineModule extends ReactContextBaseJavaModule {
+ public static final String REACT_CLASS = "RCTMLNOfflineModule";
public static final int INACTIVE_REGION_DOWNLOAD_STATE = OfflineRegion.STATE_INACTIVE;
public static final int ACTIVE_REGION_DOWNLOAD_STATE = OfflineRegion.STATE_ACTIVE;
@@ -55,7 +55,7 @@ public class RCTMGLOfflineModule extends ReactContextBaseJavaModule {
private final ReactContext mReactContext;
private Double mProgressEventThrottle = 300.0;
- public RCTMGLOfflineModule(ReactApplicationContext reactApplicationContext) {
+ public RCTMLNOfflineModule(ReactApplicationContext reactApplicationContext) {
super(reactApplicationContext);
mReactContext = reactApplicationContext;
mContext = reactApplicationContext.getApplicationContext();
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java
similarity index 92%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java
index 54bd8f668..70fa286a7 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.modules;
+package com.maplibre.rctmln.modules;
import android.content.Context;
import android.content.pm.PackageManager;
@@ -23,8 +23,8 @@
import com.mapbox.mapboxsdk.snapshotter.MapSnapshot;
import com.mapbox.mapboxsdk.snapshotter.MapSnapshotter;
import com.mapbox.mapboxsdk.storage.FileSource;
-import com.mapbox.rctmgl.utils.BitmapUtils;
-import com.mapbox.rctmgl.utils.GeoJSONUtils;
+import com.maplibre.rctmln.utils.BitmapUtils;
+import com.maplibre.rctmln.utils.GeoJSONUtils;
import java.io.IOException;
import java.io.OutputStream;
@@ -38,16 +38,16 @@
* Created by nickitaliano on 11/30/17.
*/
-@ReactModule(name = RCTMGLSnapshotModule.REACT_CLASS)
-public class RCTMGLSnapshotModule extends ReactContextBaseJavaModule {
- public static final String REACT_CLASS = "RCTMGLSnapshotModule";
+@ReactModule(name = RCTMLNSnapshotModule.REACT_CLASS)
+public class RCTMLNSnapshotModule extends ReactContextBaseJavaModule {
+ public static final String REACT_CLASS = "RCTMLNSnapshotModule";
private ReactApplicationContext mContext;
// prevents snapshotter from being GC'ed
private Map mSnapshotterMap;
- public RCTMGLSnapshotModule(ReactApplicationContext reactContext) {
+ public RCTMLNSnapshotModule(ReactApplicationContext reactContext) {
super(reactContext);
mContext = reactContext;
mSnapshotterMap = new HashMap<>();
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/BitmapUtils.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/BitmapUtils.java
similarity index 99%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/BitmapUtils.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/BitmapUtils.java
index 5551bd1e6..f8a93ab56 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/BitmapUtils.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/BitmapUtils.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import android.content.Context;
import android.content.res.Resources;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ClusterPropertyEntry.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ClusterPropertyEntry.java
similarity index 89%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ClusterPropertyEntry.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/ClusterPropertyEntry.java
index bf726f872..a94360d70 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ClusterPropertyEntry.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ClusterPropertyEntry.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import com.mapbox.mapboxsdk.style.expressions.Expression;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ConvertUtils.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ConvertUtils.java
similarity index 99%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ConvertUtils.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/ConvertUtils.java
index 3c739dd5c..7aa042aa8 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ConvertUtils.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ConvertUtils.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import android.graphics.PointF;
import android.graphics.RectF;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/DownloadMapImageTask.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/DownloadMapImageTask.java
similarity index 99%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/DownloadMapImageTask.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/DownloadMapImageTask.java
index c13fae5bc..507935ed8 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/DownloadMapImageTask.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/DownloadMapImageTask.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import android.content.Context;
import android.content.res.Resources;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ExpressionParser.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ExpressionParser.java
similarity index 98%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ExpressionParser.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/ExpressionParser.java
index d63aa5130..d15c5c5ce 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ExpressionParser.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ExpressionParser.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import com.facebook.react.bridge.Dynamic;
import com.facebook.react.bridge.ReadableArray;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/GeoJSONUtils.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoJSONUtils.java
similarity index 99%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/GeoJSONUtils.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoJSONUtils.java
index 69c917238..d113513dd 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/GeoJSONUtils.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoJSONUtils.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import com.facebook.react.bridge.Arguments;
import com.facebook.react.bridge.ReadableArray;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/GeoViewport.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoViewport.java
similarity index 97%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/GeoViewport.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoViewport.java
index 5580006d0..df4c6b592 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/GeoViewport.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoViewport.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import android.graphics.PointF;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ImageEntry.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ImageEntry.java
similarity index 93%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ImageEntry.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/ImageEntry.java
index 3f12e832c..917f81c0d 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ImageEntry.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ImageEntry.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
public class ImageEntry {
public String uri;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ResourceUtils.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ResourceUtils.java
similarity index 95%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ResourceUtils.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/ResourceUtils.java
index 6ba704bd7..d4bec0ce4 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/ResourceUtils.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ResourceUtils.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import android.content.Context;
import android.content.res.Resources;
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/SimpleEventCallback.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SimpleEventCallback.java
similarity index 80%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/SimpleEventCallback.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/SimpleEventCallback.java
index 8a9f3a413..6fabb91b4 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/SimpleEventCallback.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SimpleEventCallback.java
@@ -1,9 +1,9 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import com.mapbox.mapboxsdk.maps.MapboxMap;
-import com.mapbox.rctmgl.components.AbstractEventEmitter;
-import com.mapbox.rctmgl.events.IEvent;
+import com.maplibre.rctmln.components.AbstractEventEmitter;
+import com.maplibre.rctmln.events.IEvent;
/**
* Created by nickitaliano on 8/31/17.
diff --git a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/SphericalMercator.java b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SphericalMercator.java
similarity index 98%
rename from android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/SphericalMercator.java
rename to android/rctmln/src/main/java/com/maplibre/rctmln/utils/SphericalMercator.java
index 7fa665439..0eee5ff3d 100644
--- a/android/rctmgl/src/main/java/com/mapbox/rctmgl/utils/SphericalMercator.java
+++ b/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SphericalMercator.java
@@ -1,4 +1,4 @@
-package com.mapbox.rctmgl.utils;
+package com.maplibre.rctmln.utils;
import android.graphics.Point;
import android.graphics.PointF;
diff --git a/android/rctmgl/src/main/res/drawable-xxhdpi/red_marker.png b/android/rctmln/src/main/res/drawable-xxhdpi/red_marker.png
similarity index 100%
rename from android/rctmgl/src/main/res/drawable-xxhdpi/red_marker.png
rename to android/rctmln/src/main/res/drawable-xxhdpi/red_marker.png
diff --git a/android/rctmgl/src/main/res/drawable/empty.xml b/android/rctmln/src/main/res/drawable/empty.xml
similarity index 100%
rename from android/rctmgl/src/main/res/drawable/empty.xml
rename to android/rctmln/src/main/res/drawable/empty.xml
diff --git a/android/rctmgl/src/main/res/drawable/empty_drawable.png b/android/rctmln/src/main/res/drawable/empty_drawable.png
similarity index 100%
rename from android/rctmgl/src/main/res/drawable/empty_drawable.png
rename to android/rctmln/src/main/res/drawable/empty_drawable.png
diff --git a/android/rctmgl/src/main/res/layout/annotation.xml b/android/rctmln/src/main/res/layout/annotation.xml
similarity index 100%
rename from android/rctmgl/src/main/res/layout/annotation.xml
rename to android/rctmln/src/main/res/layout/annotation.xml
diff --git a/android/rctmln/src/main/res/values/strings.xml b/android/rctmln/src/main/res/values/strings.xml
new file mode 100644
index 000000000..43880429c
--- /dev/null
+++ b/android/rctmln/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ RCTMLN
+
diff --git a/android/settings.gradle b/android/settings.gradle
index f08cd5202..87270ab06 100644
--- a/android/settings.gradle
+++ b/android/settings.gradle
@@ -1 +1 @@
-include ':rctmgl'
+include ':rctmln'
diff --git a/docs/Annotations.md b/docs/Annotations.md
index 1c214fa27..0b37063e5 100644
--- a/docs/Annotations.md
+++ b/docs/Annotations.md
@@ -8,5 +8,5 @@ Comparsion of various annotations available in MapLibre React Native:
|Control Z-index | ✓ |iOS: always on top, android: n/a |always on top | ✓ |
|Clustering | ✓ | | | ✓ |
|Style with expressions | ✓ | | | ✓ |
-|iOS implementation | [MGLSymbolStyleLayer](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MGLSymbolStyleLayer.html) |[MGLAnnotationView](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MGLAnnotationView.html) |[MGLAnnotationView](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MGLAnnotationView.html) |[MGLCircleStyleLayer](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MGLCircleStyleLayer.html) |
+|iOS implementation | [MLNSymbolStyleLayer](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MLNSymbolStyleLayer.html) |[MLNAnnotationView](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MLNAnnotationView.html) |[MLNAnnotationView](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MLNAnnotationView.html) |[MLNCircleStyleLayer](https://maplibre.org/maplibre-gl-native/ios/api/Classes/MLNCircleStyleLayer.html) |
|android implementation | [SymbolLayer](https://maplibre.org/maplibre-gl-native/android/api/com/mapbox/mapboxsdk/style/layers/SymbolLayer.html)|[annotation.Symbol](https://docs.mapbox.com/android/api/plugins/annotation/0.8.0/com/mapbox/mapboxsdk/plugins/annotation/Symbol.html)|[annotation.Marker](https://docs.mapbox.com/android/api/plugins/markerview/0.4.0/com/mapbox/mapboxsdk/plugins/markerview/MarkerView.html) |[CircleLayer](https://maplibre.org/maplibre-gl-native/android/api/com/mapbox/mapboxsdk/style/layers/CircleLayer.html)|
diff --git a/docs/Callout.md b/docs/Callout.md
index e815f2254..290463ece 100644
--- a/docs/Callout.md
+++ b/docs/Callout.md
@@ -7,7 +7,7 @@
| ---- | :--: | :-----: | :------: | :----------: |
| title | `string` | `none` | `false` | String that get's displayed in the default callout. |
| style | `ViewStyle` | `none` | `false` | Style property for the Animated.View wrapper, apply animations to this |
-| containerStyle | `ViewStyle` | `none` | `false` | Style property for the native RCTMGLCallout container, set at your own risk. |
+| containerStyle | `ViewStyle` | `none` | `false` | Style property for the native RCTMLNCallout container, set at your own risk. |
| contentStyle | `ViewStyle` | `none` | `false` | Style property for the content bubble. |
| tipStyle | `ViewStyle` | `none` | `false` | Style property for the triangle tip under the content. |
| textStyle | `ViewStyle` | `none` | `false` | Style property for the title in the content bubble. |
diff --git a/docs/CustomHttpHeaders.md b/docs/CustomHttpHeaders.md
index 6286cd756..71379cbe0 100644
--- a/docs/CustomHttpHeaders.md
+++ b/docs/CustomHttpHeaders.md
@@ -14,14 +14,14 @@ None
#### IOS
-To enable this on iOS you need to call `[[MGLCustomHeaders sharedInstance] initHeaders]` pretty early in the lifecycle of the application. This will swizzle the custom method.
+To enable this on iOS you need to call `[[MLNCustomHeaders sharedInstance] initHeaders]` pretty early in the lifecycle of the application. This will swizzle the custom method.
Suggested location is `[AppDelegate application: didFinishLaunchingWithOptions:]`
#### Working example (AppDelegate.m)
```obj-c
// (1) Include the header file
-#import "MGLCustomHeaders.h"
+#import "MLNCustomHeaders.h"
@implementation AppDelegate
@@ -32,9 +32,9 @@ Suggested location is `[AppDelegate application: didFinishLaunchingWithOptions:]
moduleName:@"SampleApp"
initialProperties:nil];
// (2) Init headers, add swizzle method
- [[MGLCustomHeaders sharedInstance] initHeaders];
+ [[MLNCustomHeaders sharedInstance] initHeaders];
// (3*) Optionally you can add some global headers here
- [[MGLCustomHeaders sharedInstance] addHeader:@"IP" forHeaderName:@"X-For-Real"];
+ [[MLNCustomHeaders sharedInstance] addHeader:@"IP" forHeaderName:@"X-For-Real"];
...
return YES;
diff --git a/docs/MapView.md b/docs/MapView.md
index 506ba65b4..cc342d072 100644
--- a/docs/MapView.md
+++ b/docs/MapView.md
@@ -9,7 +9,7 @@
| style | `ViewProps['style']` | `none` | `false` | Style for wrapping React Native View |
| styleURL | `string` | `none` | `false` | Style URL for map - notice, if non is set it _will_ default to `MapLibreGL.StyleURL.Default` |
| styleJSON | `string` | `none` | `false` | StyleJSON for map - according to TileJSON specs: https://github.com/mapbox/tilejson-spec |
-| preferredFramesPerSecond | `number` | `none` | `false` | iOS: The preferred frame rate at which the map view is rendered.
The default value for this property is MGLMapViewPreferredFramesPerSecondDefault,
which will adaptively set the preferred frame rate based on the capability of
the user’s device to maintain a smooth experience. This property can be set to arbitrary integer values.
Android: The maximum frame rate at which the map view is rendered, but it can't excess the ability of device hardware.
This property can be set to arbitrary integer values. |
+| preferredFramesPerSecond | `number` | `none` | `false` | iOS: The preferred frame rate at which the map view is rendered.
The default value for this property is MLNMapViewPreferredFramesPerSecondDefault,
which will adaptively set the preferred frame rate based on the capability of
the user’s device to maintain a smooth experience. This property can be set to arbitrary integer values.
Android: The maximum frame rate at which the map view is rendered, but it can't excess the ability of device hardware.
This property can be set to arbitrary integer values. |
| localizeLabels | `boolean` | `false` | `false` | Automatically change the language of the map labels to the system’s preferred language,
this is not something that can be toggled on/off |
| zoomEnabled | `boolean` | `none` | `false` | Enable/Disable zoom on the map |
| scrollEnabled | `boolean` | `true` | `false` | Enable/Disable scroll on the map |
diff --git a/docs/docs.json b/docs/docs.json
index c9017988c..3719c0b13 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -232,7 +232,7 @@
"required": false,
"type": "ViewStyle",
"default": "none",
- "description": "Style property for the native RCTMGLCallout container, set at your own risk."
+ "description": "Style property for the native RCTMLNCallout container, set at your own risk."
},
{
"name": "contentStyle",
@@ -2444,7 +2444,7 @@
"required": false,
"type": "number",
"default": "none",
- "description": "iOS: The preferred frame rate at which the map view is rendered.\nThe default value for this property is MGLMapViewPreferredFramesPerSecondDefault,\nwhich will adaptively set the preferred frame rate based on the capability of\nthe user’s device to maintain a smooth experience. This property can be set to arbitrary integer values.\n\nAndroid: The maximum frame rate at which the map view is rendered, but it can't excess the ability of device hardware.\nThis property can be set to arbitrary integer values."
+ "description": "iOS: The preferred frame rate at which the map view is rendered.\nThe default value for this property is MLNMapViewPreferredFramesPerSecondDefault,\nwhich will adaptively set the preferred frame rate based on the capability of\nthe user’s device to maintain a smooth experience. This property can be set to arbitrary integer values.\n\nAndroid: The maximum frame rate at which the map view is rendered, but it can't excess the ability of device hardware.\nThis property can be set to arbitrary integer values."
},
{
"name": "localizeLabels",
diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle
index 36ed79d1c..86a748c1f 100644
--- a/example/android/app/build.gradle
+++ b/example/android/app/build.gradle
@@ -106,7 +106,7 @@ android {
}
dependencies {
- implementation project(':rctmgl')
+ implementation project(':rctmln')
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
diff --git a/example/android/app/src/main/java/com/rnmaplibreexample/MainApplication.java b/example/android/app/src/main/java/com/rnmaplibreexample/MainApplication.java
index 269001ae9..b1d90ce8d 100644
--- a/example/android/app/src/main/java/com/rnmaplibreexample/MainApplication.java
+++ b/example/android/app/src/main/java/com/rnmaplibreexample/MainApplication.java
@@ -10,7 +10,7 @@
import com.facebook.soloader.SoLoader;
import java.util.List;
-import com.mapbox.rctmgl.RCTMGLPackage;
+import com.maplibre.rctmln.RCTMLNPackage;
public class MainApplication extends Application implements ReactApplication {
@@ -27,7 +27,7 @@ protected List getPackages() {
List packages = new PackageList(this).getPackages();
// Packages that cannot be autolinked yet can be added manually here, for example:
// packages.add(new MyReactNativePackage());
- packages.add(new RCTMGLPackage());
+ packages.add(new RCTMLNPackage());
return packages;
}
diff --git a/example/android/settings.gradle b/example/android/settings.gradle
index 5e275aec0..acc6a92f2 100644
--- a/example/android/settings.gradle
+++ b/example/android/settings.gradle
@@ -1,7 +1,7 @@
rootProject.name = 'RNMaplibreExample'
-include ':rctmgl'
-project(':rctmgl').projectDir = new File(rootProject.projectDir, '../../android/rctmgl')
+include ':rctmln'
+project(':rctmln').projectDir = new File(rootProject.projectDir, '../../android/rctmln')
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
includeBuild('../node_modules/@react-native/gradle-plugin')
diff --git a/example/ios/Podfile b/example/ios/Podfile
index 4c8c3727b..6259698e4 100644
--- a/example/ios/Podfile
+++ b/example/ios/Podfile
@@ -13,9 +13,9 @@ $RNMBGL_SPM_Spec = {
url: "https://github.com/maplibre/maplibre-gl-native-distribution",
requirement: {
kind: "upToNextMajorVersion",
- minimumVersion: "5.11.0"
+ minimumVersion: "6.4.0"
},
- product_name: "Mapbox"
+ product_name: "MapLibre"
}
# We ingore warning except for RNMBGL
@@ -84,7 +84,8 @@ target 'RNMaplibreExample' do
config[:reactNativePath],
:mac_catalyst_enabled => false
)
- __apply_Xcode_12_5_M1_post_install_workaround(installer)
+ # This method has been removed in react native 0.73
+ # __apply_Xcode_12_5_M1_post_install_workaround(installer)
$RNMBGL.post_install(installer)
end
else
diff --git a/example/ios/RNMaplibreExample.xcodeproj/project.pbxproj b/example/ios/RNMaplibreExample.xcodeproj/project.pbxproj
index 7d5451919..531e612f8 100644
--- a/example/ios/RNMaplibreExample.xcodeproj/project.pbxproj
+++ b/example/ios/RNMaplibreExample.xcodeproj/project.pbxproj
@@ -3,16 +3,16 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 52;
+ objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
+ 1DC0AFC22BE58DCE00FBCA80 /* MapLibre in Frameworks */ = {isa = PBXBuildFile; productRef = 1DC0AFC12BE58DCE00FBCA80 /* MapLibre */; };
51C0260825301F99008C5283 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 51C0260725301F99008C5283 /* LaunchScreen.storyboard */; };
AD8CDE4F410D2E699BE7E99D /* libPods-RNMaplibreExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A98F897FA1ECD18EB0F1C4DC /* libPods-RNMaplibreExample.a */; };
- E9DD059E29705D4C0010A116 /* Mapbox in Frameworks */ = {isa = PBXBuildFile; productRef = 80AC8CF095DA4835C83255C8 /* Mapbox */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -63,7 +63,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
- E9DD059E29705D4C0010A116 /* Mapbox in Frameworks */,
+ 1DC0AFC22BE58DCE00FBCA80 /* MapLibre in Frameworks */,
AD8CDE4F410D2E699BE7E99D /* libPods-RNMaplibreExample.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
@@ -197,7 +197,6 @@
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
- E8948F16DF738C997C01FB08 /* [CP] Embed Pods Frameworks */,
7BC27FFD4688D6914F2322C7 /* [CP] Copy Pods Resources */,
);
buildRules = (
@@ -206,7 +205,7 @@
);
name = RNMaplibreExample;
packageProductDependencies = (
- 80AC8CF095DA4835C83255C8 /* Mapbox */,
+ 1DC0AFC12BE58DCE00FBCA80 /* MapLibre */,
);
productName = RNMaplibreExample;
productReference = 13B07F961A680F5B00A75B9A /* RNMaplibreExample.app */;
@@ -268,7 +267,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
+ shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
7BC27FFD4688D6914F2322C7 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
@@ -285,6 +284,9 @@
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Brands.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Regular.ttf",
+ "${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/FontAwesome6_Solid.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Foundation.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf",
@@ -293,7 +295,7 @@
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Octicons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf",
"${PODS_ROOT}/../../node_modules/react-native-vector-icons/Fonts/Zocial.ttf",
- "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/AccessibilityResources.bundle",
+ "${PODS_CONFIGURATION_BUILD_DIR}/React-Core/RCTI18nStrings.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
@@ -305,6 +307,9 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Brands.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Regular.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome5_Solid.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome6_Brands.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome6_Regular.ttf",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/FontAwesome6_Solid.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Fontisto.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Foundation.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Ionicons.ttf",
@@ -313,7 +318,7 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Octicons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/SimpleLineIcons.ttf",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Zocial.ttf",
- "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/AccessibilityResources.bundle",
+ "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RCTI18nStrings.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
@@ -342,28 +347,6 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
- E8948F16DF738C997C01FB08 /* [CP] Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-RNMaplibreExample/Pods-RNMaplibreExample-frameworks.sh",
- "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-DoubleConversion/double-conversion.framework/double-conversion",
- "${PODS_XCFRAMEWORKS_BUILD_DIR}/Flipper-Glog/glog.framework/glog",
- "${PODS_XCFRAMEWORKS_BUILD_DIR}/OpenSSL-Universal/OpenSSL.framework/OpenSSL",
- );
- name = "[CP] Embed Pods Frameworks";
- outputPaths = (
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/double-conversion.framework",
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/glog.framework",
- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OpenSSL.framework",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RNMaplibreExample/Pods-RNMaplibreExample-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
FD10A7F022414F080027D42C /* Start Packager */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -408,7 +391,7 @@
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
- "FB_SONARKIT_ENABLED=1",
+ "FB_SONARKIT_ENABLED=0",
);
INFOPLIST_FILE = RNMaplibreExample/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
@@ -457,7 +440,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "c++17";
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
@@ -514,8 +497,13 @@
ONLY_ACTIVE_ARCH = YES;
OTHER_CFLAGS = "$(inherited)";
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ " ",
+ );
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
+ USE_HERMES = false;
};
name = Debug;
};
@@ -524,7 +512,7 @@
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "c++17";
+ CLANG_CXX_LANGUAGE_STANDARD = "c++20";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_MODULES = YES;
CLANG_ENABLE_OBJC_ARC = YES;
@@ -573,8 +561,13 @@
MTL_ENABLE_DEBUG_INFO = NO;
OTHER_CFLAGS = "$(inherited)";
OTHER_CPLUSPLUSFLAGS = "$(inherited)";
+ OTHER_LDFLAGS = (
+ "$(inherited)",
+ " ",
+ );
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
+ USE_HERMES = false;
VALIDATE_PRODUCT = YES;
};
name = Release;
@@ -608,16 +601,16 @@
repositoryURL = "https://github.com/maplibre/maplibre-gl-native-distribution";
requirement = {
kind = upToNextMajorVersion;
- minimumVersion = 5.11.0;
+ minimumVersion = 6.4.0;
};
};
/* End XCRemoteSwiftPackageReference section */
/* Begin XCSwiftPackageProductDependency section */
- 80AC8CF095DA4835C83255C8 /* Mapbox */ = {
+ 1DC0AFC12BE58DCE00FBCA80 /* MapLibre */ = {
isa = XCSwiftPackageProductDependency;
package = DB11E3B9346BB8DFEB4101D5 /* XCRemoteSwiftPackageReference "maplibre-gl-native-distribution" */;
- productName = Mapbox;
+ productName = MapLibre;
};
/* End XCSwiftPackageProductDependency section */
};
diff --git a/example/ios/RNMaplibreExample.xcworkspace/xcshareddata/swiftpm/Package.resolved b/example/ios/RNMaplibreExample.xcworkspace/xcshareddata/swiftpm/Package.resolved
index 0911f5292..c38e00cec 100644
--- a/example/ios/RNMaplibreExample.xcworkspace/xcshareddata/swiftpm/Package.resolved
+++ b/example/ios/RNMaplibreExample.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -1,12 +1,13 @@
{
+ "originHash" : "e70d3525c8e2819a8b34f22909815dab5c700c25a06c32388f3930f7b3627768",
"pins" : [
{
"identity" : "maplibre-gl-native-distribution",
"kind" : "remoteSourceControl",
"location" : "https://github.com/maplibre/maplibre-gl-native-distribution",
"state" : {
- "revision" : "ffda61e298c1490d4860d5184e80d618aaadc089",
- "version" : "5.13.0"
+ "revision" : "6d0071977ed1f2380c739715f82ac650f99b0824",
+ "version" : "6.4.0"
}
}
],
diff --git a/example/ios/RNMaplibreExample/AppDelegate.m b/example/ios/RNMaplibreExample/AppDelegate.m
index 8440c03ab..703cf11c8 100644
--- a/example/ios/RNMaplibreExample/AppDelegate.m
+++ b/example/ios/RNMaplibreExample/AppDelegate.m
@@ -9,7 +9,7 @@
#import
-#ifdef FB_SONARKIT_ENABLED
+#if FB_SONARKIT_ENABLED
#import
#import
#import
@@ -32,7 +32,7 @@ @implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
- #ifdef FB_SONARKIT_ENABLED
+ #if FB_SONARKIT_ENABLED
InitializeFlipper(application);
#endif
diff --git a/ios/RCTMGL.xcodeproj/project.pbxproj b/ios/RCTMGL.xcodeproj/project.pbxproj
deleted file mode 100644
index 8a9ad1b5b..000000000
--- a/ios/RCTMGL.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,775 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 46;
- objects = {
-
-/* Begin PBXBuildFile section */
- 431CDACE229D61A6008BE92D /* RCTMGLUserLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = 431CDACC229D61A6008BE92D /* RCTMGLUserLocation.m */; };
- 641DE8A8231019E8003B792D /* MGLCustomHeaders.m in Sources */ = {isa = PBXBuildFile; fileRef = 641DE8A7231019E8003B792D /* MGLCustomHeaders.m */; };
- C410D5D51F7AD0B300CF822A /* RCTMGLLight.m in Sources */ = {isa = PBXBuildFile; fileRef = C410D5D41F7AD0B300CF822A /* RCTMGLLight.m */; };
- C410D5D81F7AD0C100CF822A /* RCTMGLLightManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C410D5D71F7AD0C100CF822A /* RCTMGLLightManager.m */; };
- C416015020112B5200006116 /* RNMBImageUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = C416014F20112B5200006116 /* RNMBImageUtils.m */; };
- C42236A41F6B012000FA9C1C /* RCTMGLStyle.m in Sources */ = {isa = PBXBuildFile; fileRef = C42236A31F6B012000FA9C1C /* RCTMGLStyle.m */; };
- C42236A71F6C7F4E00FA9C1C /* RCTMGLFillExtrusionLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C42236A61F6C7F4E00FA9C1C /* RCTMGLFillExtrusionLayer.m */; };
- C42236AA1F6C7F6200FA9C1C /* RCTMGLFillExtrusionLayerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C42236A91F6C7F6200FA9C1C /* RCTMGLFillExtrusionLayerManager.m */; };
- C435A5F71F587D9100824A30 /* ViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C435A5F61F587D9100824A30 /* ViewManager.m */; };
- C43CA5061F507BCC000B9CB7 /* RCTMGLMapTouchEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = C43CA5051F507BCC000B9CB7 /* RCTMGLMapTouchEvent.m */; };
- C43CA50A1F50C145000B9CB7 /* RCTMGLEvent.m in Sources */ = {isa = PBXBuildFile; fileRef = C43CA5091F50C145000B9CB7 /* RCTMGLEvent.m */; };
- C43CA50D1F53A4EF000B9CB7 /* RCTMGLEventTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = C43CA50C1F53A4EF000B9CB7 /* RCTMGLEventTypes.m */; };
- C45339CD204780EB00888553 /* RCTMGLImageQueueOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = C45339CC204780EB00888553 /* RCTMGLImageQueueOperation.m */; };
- C470F5B81F9E79D400614A69 /* RCTMGLImageQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = C470F5B71F9E79D400614A69 /* RCTMGLImageQueue.m */; };
- C470F6AC1FA11C9500614A69 /* MGLOfflineModule.m in Sources */ = {isa = PBXBuildFile; fileRef = C470F6AB1FA11C9500614A69 /* MGLOfflineModule.m */; };
- C490EE0220DC565000CB2E57 /* RCTMGLLocationModule.m in Sources */ = {isa = PBXBuildFile; fileRef = C490EE0120DC565000CB2E57 /* RCTMGLLocationModule.m */; };
- C490EE0520DC575100CB2E57 /* RCTMGLLocationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C490EE0420DC575100CB2E57 /* RCTMGLLocationManager.m */; };
- C490EE0B20DC6B7C00CB2E57 /* RCTMGLLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = C490EE0A20DC6B7C00CB2E57 /* RCTMGLLocation.m */; };
- C490EE0E20DD70AD00CB2E57 /* RCTMGLCamera.m in Sources */ = {isa = PBXBuildFile; fileRef = C490EE0D20DD70AD00CB2E57 /* RCTMGLCamera.m */; };
- C490EE1120DD710000CB2E57 /* RCTMGLCameraManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C490EE1020DD710000CB2E57 /* RCTMGLCameraManager.m */; };
- C4C87A601F844C820064AE95 /* FilterParser.m in Sources */ = {isa = PBXBuildFile; fileRef = C4C87A5F1F844C820064AE95 /* FilterParser.m */; };
- C4C87B7B1F8FEBF50064AE95 /* RCTMGLPointAnnotationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4C87B7A1F8FEBF40064AE95 /* RCTMGLPointAnnotationManager.m */; };
- C4C87B7E1F8FEC090064AE95 /* RCTMGLPointAnnotation.m in Sources */ = {isa = PBXBuildFile; fileRef = C4C87B7D1F8FEC090064AE95 /* RCTMGLPointAnnotation.m */; };
- C4C87B911F9142FB0064AE95 /* RCTMGLCallout.m in Sources */ = {isa = PBXBuildFile; fileRef = C4C87B901F9142FB0064AE95 /* RCTMGLCallout.m */; };
- C4C87B941F9143DA0064AE95 /* RCTMGLCalloutManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4C87B931F9143DA0064AE95 /* RCTMGLCalloutManager.m */; };
- C4D144421F4E16F600396F26 /* RCTMGL.m in Sources */ = {isa = PBXBuildFile; fileRef = C4D144411F4E16F600396F26 /* RCTMGL.m */; };
- C4D144431F4E16F600396F26 /* RCTMGL.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = C4D144401F4E16F600396F26 /* RCTMGL.h */; };
- C4D1444C1F4E178100396F26 /* RCTMGLMapView.m in Sources */ = {isa = PBXBuildFile; fileRef = C4D1444B1F4E178100396F26 /* RCTMGLMapView.m */; };
- C4D1444F1F4E181100396F26 /* RCTMGLMapViewManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4D1444E1F4E181100396F26 /* RCTMGLMapViewManager.m */; };
- C4D144531F4E190C00396F26 /* MGLModule.m in Sources */ = {isa = PBXBuildFile; fileRef = C4D144521F4E190C00396F26 /* MGLModule.m */; };
- C4D144971F4E2F1100396F26 /* RCTMGLUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = C4D144961F4E2F1100396F26 /* RCTMGLUtils.m */; };
- C4EA22191F675ACE00EF2500 /* RCTMGLStyleValue.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EA22181F675ACE00EF2500 /* RCTMGLStyleValue.m */; };
- C4EAF1201F5FC07E0016DEE8 /* CameraStop.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF11F1F5FC07E0016DEE8 /* CameraStop.m */; };
- C4EAF1241F606F7C0016DEE8 /* CameraMode.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF1231F606F7C0016DEE8 /* CameraMode.m */; };
- C4EAF1271F6083C70016DEE8 /* CameraUpdateItem.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF1261F6083C70016DEE8 /* CameraUpdateItem.m */; };
- C4EAF12A1F6084920016DEE8 /* CameraUpdateQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF1291F6084920016DEE8 /* CameraUpdateQueue.m */; };
- C4EAF17D1F6324970016DEE8 /* RCTMGLSource.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF17C1F6324970016DEE8 /* RCTMGLSource.m */; };
- C4EAF1801F6324A80016DEE8 /* RCTMGLLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF17F1F6324A80016DEE8 /* RCTMGLLayer.m */; };
- C4EAF1831F6336E20016DEE8 /* RCTMGLVectorSource.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF1821F6336E20016DEE8 /* RCTMGLVectorSource.m */; };
- C4EAF1891F633C010016DEE8 /* RCTMGLVectorSourceManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF1881F633C010016DEE8 /* RCTMGLVectorSourceManager.m */; };
- C4EAF18F1F633E020016DEE8 /* RCTMGLFillLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF18E1F633E020016DEE8 /* RCTMGLFillLayer.m */; };
- C4EAF1921F6341520016DEE8 /* RCTMGLFillLayerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4EAF1911F6341520016DEE8 /* RCTMGLFillLayerManager.m */; };
- C4FB10FE1F707A140055AE1F /* RCTMGLLineLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB10FD1F707A140055AE1F /* RCTMGLLineLayer.m */; };
- C4FB11011F707A280055AE1F /* RCTMGLLineLayerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB11001F707A280055AE1F /* RCTMGLLineLayerManager.m */; };
- C4FB11041F709CDC0055AE1F /* RCTMGLCircleLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB11031F709CDC0055AE1F /* RCTMGLCircleLayer.m */; };
- C4FB11071F709CEF0055AE1F /* RCTMGLCircleLayerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB11061F709CEF0055AE1F /* RCTMGLCircleLayerManager.m */; };
- C4FB110A1F71D09E0055AE1F /* RCTMGLShapeSource.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB11091F71D09E0055AE1F /* RCTMGLShapeSource.m */; };
- C4FB110D1F71D0B10055AE1F /* RCTMGLShapeSourceManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB110C1F71D0B10055AE1F /* RCTMGLShapeSourceManager.m */; };
- C4FB11101F71EC8D0055AE1F /* RCTMGLSymbolLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB110F1F71EC8D0055AE1F /* RCTMGLSymbolLayer.m */; };
- C4FB11131F71EC9F0055AE1F /* RCTMGLSymbolLayerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB11121F71EC9F0055AE1F /* RCTMGLSymbolLayerManager.m */; };
- C4FB122D1F7972A00055AE1F /* RCTMGLRasterSource.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB122C1F7972A00055AE1F /* RCTMGLRasterSource.m */; };
- C4FB12301F7972B40055AE1F /* RCTMGLRasterSourceManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB122F1F7972B40055AE1F /* RCTMGLRasterSourceManager.m */; };
- C4FB12331F799F190055AE1F /* RCTMGLRasterLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB12321F799F190055AE1F /* RCTMGLRasterLayer.m */; };
- C4FB12361F799F280055AE1F /* RCTMGLRasterLayerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB12351F799F280055AE1F /* RCTMGLRasterLayerManager.m */; };
- C4FB12581F79C0270055AE1F /* RCTMGLBackgroundLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB12571F79C0270055AE1F /* RCTMGLBackgroundLayer.m */; };
- C4FB125B1F79C03E0055AE1F /* RCTMGLBackgroundLayerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FB125A1F79C03E0055AE1F /* RCTMGLBackgroundLayerManager.m */; };
- C4FD1DBF1FCF54FB00213AF2 /* RCTMGLImageSource.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FD1DBE1FCF54FB00213AF2 /* RCTMGLImageSource.m */; };
- C4FD1DC21FCF550E00213AF2 /* RCTMGLImageSourceManager.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FD1DC11FCF550E00213AF2 /* RCTMGLImageSourceManager.m */; };
- C4FD1DC51FD1F04300213AF2 /* MGLSnapshotModule.m in Sources */ = {isa = PBXBuildFile; fileRef = C4FD1DC41FD1F04200213AF2 /* MGLSnapshotModule.m */; };
- D8C1903323F5382C00223486 /* RCTMGLImages.m in Sources */ = {isa = PBXBuildFile; fileRef = D8C1903223F5382C00223486 /* RCTMGLImages.m */; };
- D8C1903523F53B0F00223486 /* RCTMGLImagesManager.m in Sources */ = {isa = PBXBuildFile; fileRef = D8C1903423F53B0F00223486 /* RCTMGLImagesManager.m */; };
- DF16042F233BFDD100A4231D /* RCTMGLTileSource.m in Sources */ = {isa = PBXBuildFile; fileRef = DF16042E233BFDD000A4231D /* RCTMGLTileSource.m */; };
- DF3CFC0622CFCE0500A83174 /* RCTMGLNativeUserLocation.m in Sources */ = {isa = PBXBuildFile; fileRef = DF3CFC0222CFCE0500A83174 /* RCTMGLNativeUserLocation.m */; };
- DF3CFC0722CFCE0500A83174 /* RCTMGLNativeUserLocationManager.m in Sources */ = {isa = PBXBuildFile; fileRef = DF3CFC0322CFCE0500A83174 /* RCTMGLNativeUserLocationManager.m */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- C4D1443B1F4E16F600396F26 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "include/$(PRODUCT_NAME)";
- dstSubfolderSpec = 16;
- files = (
- C4D144431F4E16F600396F26 /* RCTMGL.h in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 431CDACC229D61A6008BE92D /* RCTMGLUserLocation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLUserLocation.m; sourceTree = ""; };
- 431CDACD229D61A6008BE92D /* RCTMGLUserLocation.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLUserLocation.h; sourceTree = ""; };
- 641DE8A6231019E8003B792D /* MGLCustomHeaders.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLCustomHeaders.h; sourceTree = ""; };
- 641DE8A7231019E8003B792D /* MGLCustomHeaders.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLCustomHeaders.m; sourceTree = ""; };
- C410D5D31F7AD0B300CF822A /* RCTMGLLight.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLight.h; sourceTree = ""; };
- C410D5D41F7AD0B300CF822A /* RCTMGLLight.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLight.m; sourceTree = ""; };
- C410D5D61F7AD0C100CF822A /* RCTMGLLightManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLightManager.h; sourceTree = ""; };
- C410D5D71F7AD0C100CF822A /* RCTMGLLightManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLightManager.m; sourceTree = ""; };
- C416014E20112B5200006116 /* RNMBImageUtils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNMBImageUtils.h; sourceTree = ""; };
- C416014F20112B5200006116 /* RNMBImageUtils.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNMBImageUtils.m; sourceTree = ""; };
- C42236A21F6B012000FA9C1C /* RCTMGLStyle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLStyle.h; sourceTree = ""; };
- C42236A31F6B012000FA9C1C /* RCTMGLStyle.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLStyle.m; sourceTree = ""; };
- C42236A51F6C7F4E00FA9C1C /* RCTMGLFillExtrusionLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLFillExtrusionLayer.h; sourceTree = ""; };
- C42236A61F6C7F4E00FA9C1C /* RCTMGLFillExtrusionLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLFillExtrusionLayer.m; sourceTree = ""; };
- C42236A81F6C7F6200FA9C1C /* RCTMGLFillExtrusionLayerManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLFillExtrusionLayerManager.h; sourceTree = ""; };
- C42236A91F6C7F6200FA9C1C /* RCTMGLFillExtrusionLayerManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLFillExtrusionLayerManager.m; sourceTree = ""; };
- C435A5F51F587D9100824A30 /* ViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewManager.h; sourceTree = ""; };
- C435A5F61F587D9100824A30 /* ViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewManager.m; sourceTree = ""; };
- C43CA5041F507BCC000B9CB7 /* RCTMGLMapTouchEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLMapTouchEvent.h; sourceTree = ""; };
- C43CA5051F507BCC000B9CB7 /* RCTMGLMapTouchEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLMapTouchEvent.m; sourceTree = ""; };
- C43CA5071F507D88000B9CB7 /* RCTMGLEventProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLEventProtocol.h; sourceTree = ""; };
- C43CA5081F50C145000B9CB7 /* RCTMGLEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLEvent.h; sourceTree = ""; };
- C43CA5091F50C145000B9CB7 /* RCTMGLEvent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLEvent.m; sourceTree = ""; };
- C43CA50B1F53A4EF000B9CB7 /* RCTMGLEventTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLEventTypes.h; sourceTree = ""; };
- C43CA50C1F53A4EF000B9CB7 /* RCTMGLEventTypes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLEventTypes.m; sourceTree = ""; };
- C45339CB204780EB00888553 /* RCTMGLImageQueueOperation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLImageQueueOperation.h; sourceTree = ""; };
- C45339CC204780EB00888553 /* RCTMGLImageQueueOperation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLImageQueueOperation.m; sourceTree = ""; };
- C470F5B61F9E79D400614A69 /* RCTMGLImageQueue.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLImageQueue.h; sourceTree = ""; };
- C470F5B71F9E79D400614A69 /* RCTMGLImageQueue.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLImageQueue.m; sourceTree = ""; };
- C470F6AA1FA11C9500614A69 /* MGLOfflineModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MGLOfflineModule.h; sourceTree = ""; };
- C470F6AB1FA11C9500614A69 /* MGLOfflineModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MGLOfflineModule.m; sourceTree = ""; };
- C490EE0020DC565000CB2E57 /* RCTMGLLocationModule.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLocationModule.h; sourceTree = ""; };
- C490EE0120DC565000CB2E57 /* RCTMGLLocationModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLocationModule.m; sourceTree = ""; };
- C490EE0320DC575100CB2E57 /* RCTMGLLocationManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLocationManager.h; sourceTree = ""; };
- C490EE0420DC575100CB2E57 /* RCTMGLLocationManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLocationManager.m; sourceTree = ""; };
- C490EE0620DC5CDB00CB2E57 /* RCTMGLLocationManagerDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLocationManagerDelegate.h; sourceTree = ""; };
- C490EE0720DC66DD00CB2E57 /* RCTMGLLocation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLocation.h; sourceTree = ""; };
- C490EE0A20DC6B7C00CB2E57 /* RCTMGLLocation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLocation.m; sourceTree = ""; };
- C490EE0C20DD70AD00CB2E57 /* RCTMGLCamera.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLCamera.h; sourceTree = ""; };
- C490EE0D20DD70AD00CB2E57 /* RCTMGLCamera.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLCamera.m; sourceTree = ""; };
- C490EE0F20DD710000CB2E57 /* RCTMGLCameraManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLCameraManager.h; sourceTree = ""; };
- C490EE1020DD710000CB2E57 /* RCTMGLCameraManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLCameraManager.m; sourceTree = ""; };
- C4C87A5E1F844C820064AE95 /* FilterParser.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FilterParser.h; sourceTree = ""; };
- C4C87A5F1F844C820064AE95 /* FilterParser.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = FilterParser.m; sourceTree = ""; };
- C4C87B791F8FEBF40064AE95 /* RCTMGLPointAnnotationManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLPointAnnotationManager.h; sourceTree = ""; };
- C4C87B7A1F8FEBF40064AE95 /* RCTMGLPointAnnotationManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLPointAnnotationManager.m; sourceTree = ""; };
- C4C87B7C1F8FEC080064AE95 /* RCTMGLPointAnnotation.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLPointAnnotation.h; sourceTree = ""; };
- C4C87B7D1F8FEC090064AE95 /* RCTMGLPointAnnotation.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLPointAnnotation.m; sourceTree = ""; };
- C4C87B8F1F9142FB0064AE95 /* RCTMGLCallout.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLCallout.h; sourceTree = ""; };
- C4C87B901F9142FB0064AE95 /* RCTMGLCallout.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLCallout.m; sourceTree = ""; };
- C4C87B921F9143DA0064AE95 /* RCTMGLCalloutManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLCalloutManager.h; sourceTree = ""; };
- C4C87B931F9143DA0064AE95 /* RCTMGLCalloutManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLCalloutManager.m; sourceTree = ""; };
- C4D1443D1F4E16F600396F26 /* libRCTMGL.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTMGL.a; sourceTree = BUILT_PRODUCTS_DIR; };
- C4D144401F4E16F600396F26 /* RCTMGL.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGL.h; sourceTree = ""; };
- C4D144411F4E16F600396F26 /* RCTMGL.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGL.m; sourceTree = ""; };
- C4D1444A1F4E178100396F26 /* RCTMGLMapView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLMapView.h; sourceTree = ""; };
- C4D1444B1F4E178100396F26 /* RCTMGLMapView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLMapView.m; sourceTree = ""; };
- C4D1444D1F4E181100396F26 /* RCTMGLMapViewManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLMapViewManager.h; sourceTree = ""; };
- C4D1444E1F4E181100396F26 /* RCTMGLMapViewManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLMapViewManager.m; sourceTree = ""; };
- C4D144511F4E190C00396F26 /* MGLModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGLModule.h; sourceTree = ""; };
- C4D144521F4E190C00396F26 /* MGLModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGLModule.m; sourceTree = ""; };
- C4D144951F4E2F1100396F26 /* RCTMGLUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLUtils.h; sourceTree = ""; };
- C4D144961F4E2F1100396F26 /* RCTMGLUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLUtils.m; sourceTree = ""; };
- C4EA22171F675ACE00EF2500 /* RCTMGLStyleValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLStyleValue.h; sourceTree = ""; };
- C4EA22181F675ACE00EF2500 /* RCTMGLStyleValue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLStyleValue.m; sourceTree = ""; };
- C4EAF11E1F5FC07E0016DEE8 /* CameraStop.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CameraStop.h; sourceTree = ""; };
- C4EAF11F1F5FC07E0016DEE8 /* CameraStop.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CameraStop.m; sourceTree = ""; };
- C4EAF1221F606F7C0016DEE8 /* CameraMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CameraMode.h; sourceTree = ""; };
- C4EAF1231F606F7C0016DEE8 /* CameraMode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CameraMode.m; sourceTree = ""; };
- C4EAF1251F6083C70016DEE8 /* CameraUpdateItem.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CameraUpdateItem.h; sourceTree = ""; };
- C4EAF1261F6083C70016DEE8 /* CameraUpdateItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CameraUpdateItem.m; sourceTree = ""; };
- C4EAF1281F6084920016DEE8 /* CameraUpdateQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CameraUpdateQueue.h; sourceTree = ""; };
- C4EAF1291F6084920016DEE8 /* CameraUpdateQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CameraUpdateQueue.m; sourceTree = ""; };
- C4EAF17B1F6324970016DEE8 /* RCTMGLSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLSource.h; sourceTree = ""; };
- C4EAF17C1F6324970016DEE8 /* RCTMGLSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLSource.m; sourceTree = ""; };
- C4EAF17E1F6324A80016DEE8 /* RCTMGLLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLLayer.h; sourceTree = ""; };
- C4EAF17F1F6324A80016DEE8 /* RCTMGLLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLayer.m; sourceTree = ""; };
- C4EAF1811F6336E20016DEE8 /* RCTMGLVectorSource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLVectorSource.h; sourceTree = ""; };
- C4EAF1821F6336E20016DEE8 /* RCTMGLVectorSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLVectorSource.m; sourceTree = ""; };
- C4EAF1871F633C010016DEE8 /* RCTMGLVectorSourceManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLVectorSourceManager.h; sourceTree = ""; };
- C4EAF1881F633C010016DEE8 /* RCTMGLVectorSourceManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLVectorSourceManager.m; sourceTree = ""; };
- C4EAF18D1F633E020016DEE8 /* RCTMGLFillLayer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLFillLayer.h; sourceTree = ""; };
- C4EAF18E1F633E020016DEE8 /* RCTMGLFillLayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLFillLayer.m; sourceTree = ""; };
- C4EAF1901F6341520016DEE8 /* RCTMGLFillLayerManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTMGLFillLayerManager.h; sourceTree = ""; };
- C4EAF1911F6341520016DEE8 /* RCTMGLFillLayerManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTMGLFillLayerManager.m; sourceTree = ""; };
- C4FB10FC1F707A140055AE1F /* RCTMGLLineLayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLineLayer.h; sourceTree = ""; };
- C4FB10FD1F707A140055AE1F /* RCTMGLLineLayer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLineLayer.m; sourceTree = ""; };
- C4FB10FF1F707A280055AE1F /* RCTMGLLineLayerManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLLineLayerManager.h; sourceTree = ""; };
- C4FB11001F707A280055AE1F /* RCTMGLLineLayerManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLLineLayerManager.m; sourceTree = ""; };
- C4FB11021F709CDC0055AE1F /* RCTMGLCircleLayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLCircleLayer.h; sourceTree = ""; };
- C4FB11031F709CDC0055AE1F /* RCTMGLCircleLayer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLCircleLayer.m; sourceTree = ""; };
- C4FB11051F709CEF0055AE1F /* RCTMGLCircleLayerManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLCircleLayerManager.h; sourceTree = ""; };
- C4FB11061F709CEF0055AE1F /* RCTMGLCircleLayerManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLCircleLayerManager.m; sourceTree = ""; };
- C4FB11081F71D09E0055AE1F /* RCTMGLShapeSource.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLShapeSource.h; sourceTree = ""; };
- C4FB11091F71D09E0055AE1F /* RCTMGLShapeSource.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLShapeSource.m; sourceTree = ""; };
- C4FB110B1F71D0B10055AE1F /* RCTMGLShapeSourceManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLShapeSourceManager.h; sourceTree = ""; };
- C4FB110C1F71D0B10055AE1F /* RCTMGLShapeSourceManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLShapeSourceManager.m; sourceTree = ""; };
- C4FB110E1F71EC8D0055AE1F /* RCTMGLSymbolLayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLSymbolLayer.h; sourceTree = ""; };
- C4FB110F1F71EC8D0055AE1F /* RCTMGLSymbolLayer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLSymbolLayer.m; sourceTree = ""; };
- C4FB11111F71EC9F0055AE1F /* RCTMGLSymbolLayerManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLSymbolLayerManager.h; sourceTree = ""; };
- C4FB11121F71EC9F0055AE1F /* RCTMGLSymbolLayerManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLSymbolLayerManager.m; sourceTree = ""; };
- C4FB122B1F7972A00055AE1F /* RCTMGLRasterSource.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLRasterSource.h; sourceTree = ""; };
- C4FB122C1F7972A00055AE1F /* RCTMGLRasterSource.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLRasterSource.m; sourceTree = ""; };
- C4FB122E1F7972B40055AE1F /* RCTMGLRasterSourceManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLRasterSourceManager.h; sourceTree = ""; };
- C4FB122F1F7972B40055AE1F /* RCTMGLRasterSourceManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLRasterSourceManager.m; sourceTree = ""; };
- C4FB12311F799F190055AE1F /* RCTMGLRasterLayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLRasterLayer.h; sourceTree = ""; };
- C4FB12321F799F190055AE1F /* RCTMGLRasterLayer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLRasterLayer.m; sourceTree = ""; };
- C4FB12341F799F280055AE1F /* RCTMGLRasterLayerManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLRasterLayerManager.h; sourceTree = ""; };
- C4FB12351F799F280055AE1F /* RCTMGLRasterLayerManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLRasterLayerManager.m; sourceTree = ""; };
- C4FB12561F79C0270055AE1F /* RCTMGLBackgroundLayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RCTMGLBackgroundLayer.h; sourceTree = ""; };
- C4FB12571F79C0270055AE1F /* RCTMGLBackgroundLayer.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RCTMGLBackgroundLayer.m; sourceTree = "