Skip to content

Commit

Permalink
feat: update version of osm-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
enieber committed Apr 22, 2022
1 parent 0c35239 commit 96a50b7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ dependencies {
provided "com.facebook.react:react-native:+"
compile "com.google.android.gms:play-services-base:10.2.4"
compile "com.google.android.gms:play-services-maps:10.2.4"
compile 'org.osmdroid:osmdroid-android:5.6.5'
compile 'org.osmdroid:osmdroid-android:6.1.11'
testCompile 'junit:junit:4.12'
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import com.google.android.gms.maps.model.LatLngBounds;

public class LatLngBoundsUtils {

public static boolean BoundsAreDifferent(LatLngBounds a, LatLngBounds b) {
LatLng centerA = a.getCenter();
double latA = centerA.latitude;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package com.airbnb.android.react.maps.open;

import android.content.Context;

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

import org.osmdroid.views.MapView;

public abstract class OpenAirMapFeature extends ReactViewGroup {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.osmdroid.views.MapView;

import java.util.Map;

import javax.annotation.Nullable;

public class OpenAirMapManager extends ViewGroupManager<OpenAirMapView> {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "React Native Mapview component for Android",
"main": "index.js",
"author": "Enieber Cunha <eniebercunha@gmail.com>",
"version": "0.0.2",
"version": "0.1.0",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
Expand Down

0 comments on commit 96a50b7

Please sign in to comment.