Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove created-by headers and update LICENSE/Copyright #518

Merged
merged 18 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Please add unreleased changes in the following style:
- PR Title ([#___](https://github.com/maplibre/maplibre-react-native/pull/___))
```

- chore: remove created-by headers and update LICENSE/Copyright ([#518](https://github.com/maplibre/maplibre-react-native/pull/518))

## 10.0.0-alpha.29

- ci: fail on lint warning ([#522](https://github.com/maplibre/maplibre-react-native/pull/522))
Expand Down
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Copyright (c) 2022 MapLibre contributors

Copyright (c) 2015-2020 Mapbox

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

This project was originally forked from https://github.com/rnmapbox/maps, also under the MIT license, but without a copyright holder notice.
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@
import org.maplibre.reactnative.modules.MLRNOfflineModule;
import org.maplibre.reactnative.modules.MLRNSnapshotModule;

/**
* Created by nickitaliano on 8/18/17.
*/

public class MLRNPackage implements ReactPackage {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

/**
* Created by nickitaliano on 8/23/17.
*/

abstract public class AbstractEventEmitter<T extends ViewGroup> extends ViewGroupManager<T> {
private static final double BRIDGE_TIMEOUT_MS = 10;
private Map<String, Long> mRateLimitedEvents;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
import com.facebook.react.views.view.ReactViewGroup;
import org.maplibre.reactnative.components.mapview.MLRNMapView;

/**
* Created by nickitaliano on 9/6/17.
*/

public abstract class AbstractMapFeature extends ReactViewGroup {
public AbstractMapFeature(Context context) {
super(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@

import com.facebook.react.views.view.ReactViewGroup;

/**
* Created by nickitaliano on 10/11/17.
*/

public class MLRNCallout extends ReactViewGroup {
public MLRNCallout(Context context) {
super(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.ViewGroupManager;

/**
* Created by nickitaliano on 10/11/17.
*/

public class MLRNCalloutManager extends ViewGroupManager<MLRNCallout> {
public static final String REACT_CLASS = "MLRNCallout";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@

import java.util.Map;

/**
* Created by nickitaliano on 9/27/17.
*/

public class MLRNPointAnnotationManager extends AbstractEventEmitter<MLRNPointAnnotation> {
public static final String REACT_CLASS = "MLRNPointAnnotation";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@
import org.maplibre.android.geometry.LatLng;
import org.maplibre.android.geometry.LatLngBounds;
import org.maplibre.android.maps.MapLibreMap;

import org.maplibre.reactnative.components.camera.constants.CameraMode;
import org.maplibre.reactnative.utils.GeoJSONUtils;

import org.maplibre.reactnative.components.mapview.MLRNMapView;



/**
* Created by nickitaliano on 9/5/17.
*/

public class CameraStop {
private Double mBearing;
private Double mTilt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;

/**
* Created by nickitaliano on 9/5/17.
*/

public class CameraUpdateItem implements RunnableFuture<Void> {
private int mDuration;
private MapLibreMap.CancelableCallback mCallback;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
import java.util.concurrent.Executors;
import java.util.concurrent.FutureTask;


/**
* Created by nickitaliano on 9/5/17.
*/

public class CameraUpdateQueue {
private Queue<CameraStop> mQueue;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
* Created by nickitaliano on 9/6/17.
*/

public class CameraMode {

@IntDef({ FLIGHT, EASE, LINEAR, NONE })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@

import android.content.Context;
import org.maplibre.android.maps.MapLibreMapOptions;
/**
* Created by hernanmateo on 12/11/18.
*/

@SuppressWarnings({"MissingPermission"})
public class MLRNAndroidTextureMapView extends MLRNMapView {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager.annotations.ReactProp;

/**
* Created by hernanmateo on 12/11/18.
*/

public class MLRNAndroidTextureMapViewManager extends MLRNMapViewManager {
public static final String LOG_TAG = "MLRNAndroidTextureMapViewManager";
public static final String REACT_CLASS = "MLRNAndroidTextureMapView";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@
import static org.maplibre.android.style.layers.PropertyFactory.visibility;
import static org.maplibre.reactnative.modules.MLRNOfflineModule.DEFAULT_STYLE_URL;

/**
* Created by nickitaliano on 8/18/17.
*/

@SuppressWarnings({ "MissingPermission" })
public class MLRNMapView extends MapView implements OnMapReadyCallback, MapLibreMap.OnMapClickListener,
MapLibreMap.OnMapLongClickListener, MapView.OnCameraIsChangingListener, MapView.OnCameraDidChangeListener,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@

import static com.facebook.react.bridge.UiThreadUtil.runOnUiThread;

/**
* Created by nickitaliano on 8/18/17.
*/

public class MLRNMapViewManager extends AbstractEventEmitter<MLRNMapView> {
public static final String LOG_TAG = "MLRNMapViewManager";
public static final String REACT_CLASS = "MLRNMapView";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

import android.util.Log;

/**
* Created by nickitaliano on 12/12/17.
*/

public class CameraChangeTracker {
public static final int USER_GESTURE = 1;
public static final int DEVELOPER_ANIMATION = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
import java.util.List;
import java.util.Map;

/**
* Created by nickitaliano on 9/12/17.
*/

public class MLRNStyle {
private Context mContext;
private ReadableMap mReactStyle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
import java.util.List;
import java.util.Map;

/**
* Created by nickitaliano on 9/12/17.
*/

public abstract class MLRNStyleFunctionParser<T, V> {
private MLRNStyleValue mStyleValue;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
import org.maplibre.reactnative.utils.ExpressionParser;
import org.maplibre.reactnative.utils.ImageEntry;

/**
* Created by nickitaliano on 9/12/17.
*/

public class MLRNStyleValue {

private String mType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
import org.maplibre.reactnative.components.styles.MLRNStyle;
import org.maplibre.reactnative.components.styles.MLRNStyleFactory;

/**
* Created by nickitaliano on 9/25/17.
*/

public class MLRNBackgroundLayer extends MLRNLayer<BackgroundLayer> {
public MLRNBackgroundLayer(Context context) {
super(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.annotations.ReactProp;

/**
* Created by nickitaliano on 9/25/17.
*/

public class MLRNBackgroundLayerManager extends ViewGroupManager<MLRNBackgroundLayer> {
public static final String REACT_CLASS = "MLRNBackgroundLayer";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
import org.maplibre.reactnative.components.styles.MLRNStyle;
import org.maplibre.reactnative.components.styles.MLRNStyleFactory;

/**
* Created by nickitaliano on 9/18/17.
*/

public class MLRNCircleLayer extends MLRNLayer<CircleLayer> {
private String mSourceLayerID;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@

import java.util.ArrayList;

/**
* Created by nickitaliano on 9/18/17.
*/

public class MLRNCircleLayerManager extends ViewGroupManager<MLRNCircleLayer> {
public static final String REACT_CLASS = "MLRNCircleLayer";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
import org.maplibre.reactnative.components.styles.MLRNStyle;
import org.maplibre.reactnative.components.styles.MLRNStyleFactory;

/**
* Created by nickitaliano on 9/15/17.
*/

public class MLRNFillExtrusionLayer extends MLRNLayer<FillExtrusionLayer> {
private String mSourceLayerID;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
import java.util.HashMap;
import java.util.Map;

/**
* Created by nickitaliano on 9/15/17.
*/

public class MLRNFillExtrusionLayerManager extends ViewGroupManager<MLRNFillExtrusionLayer> {
public static final String REACT_CLASS = "MLRNFillExtrusionLayer";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
import org.maplibre.reactnative.components.styles.MLRNStyle;
import org.maplibre.reactnative.components.styles.MLRNStyleFactory;

/**
* Created by nickitaliano on 9/8/17.
*/

public class MLRNFillLayer extends MLRNLayer<FillLayer> {
private String mSourceLayerID;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
import java.util.HashMap;
import java.util.Map;

/**
* Created by nickitaliano on 9/8/17.
*/

public class MLRNFillLayerManager extends ViewGroupManager<MLRNFillLayer> {
public static final String REACT_CLASS = "MLRNFillLayer";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
import org.maplibre.reactnative.components.styles.MLRNStyle;
import org.maplibre.reactnative.components.styles.MLRNStyleFactory;

/**
* Created by dhee9000 on 6/8/2019
*/

public class MLRNHeatmapLayer extends MLRNLayer<HeatmapLayer> {
private String mSourceLayerID;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@

import java.util.ArrayList;

/**
* Created by dhee9000 on 6/8/2019
*/

public class MLRNHeatmapLayerManager extends ViewGroupManager<MLRNHeatmapLayer>{
public static final String REACT_CLASS = "MLRNHeatmapLayer";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
import java.util.HashSet;
import java.util.Set;

/**
* Created by nickitaliano on 9/7/17.
*/

public abstract class MLRNLayer<T extends Layer> extends AbstractMapFeature {
public static final String LOG_TAG = "MLRNLayer";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
import org.maplibre.reactnative.components.styles.MLRNStyle;
import org.maplibre.reactnative.components.styles.MLRNStyleFactory;

/**
* Created by nickitaliano on 9/18/17.
*/

public class MLRNLineLayer extends MLRNLayer<LineLayer> {
private String mSourceLayerID;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@

import java.util.Map;

/**
* Created by nickitaliano on 9/18/17.
*/

public class MLRNLineLayerManager extends ViewGroupManager<MLRNLineLayer> {
public static final String REACT_CLASS = "MLRNLineLayer";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
import org.maplibre.reactnative.components.styles.MLRNStyle;
import org.maplibre.reactnative.components.styles.MLRNStyleFactory;

/**
* Created by nickitaliano on 9/25/17.
*/

public class MLRNRasterLayer extends MLRNLayer<RasterLayer> {
public MLRNRasterLayer(Context context) {
super(context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
import com.facebook.react.uimanager.ViewGroupManager;
import com.facebook.react.uimanager.annotations.ReactProp;

/**
* Created by nickitaliano on 9/25/17.
*/

public class MLRNRasterLayerManager extends ViewGroupManager<MLRNRasterLayer> {
public static final String REACT_CLASS = "MLRNRasterLayer";

Expand Down
Loading