react-native-maps 0.31.0-beta.3 → 0.31.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{lib/android → android}/build.gradle +3 -12
- package/{lib/android → android}/src/main/AndroidManifest.xml +0 -0
- package/{lib/android → android}/src/main/assets/ula.kml +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapCallout.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapCalloutManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapCircle.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapCircleManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapFeature.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapGradientPolyline.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapGradientPolylineManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapHeatmap.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapHeatmapManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapLiteManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapLocalTile.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapLocalTileManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapMarker.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapMarkerManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapModule.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapOverlay.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapOverlayManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapPolygon.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapPolygonManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapPolyline.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapPolylineManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapTileProvider.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapTileWorker.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapUrlTile.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapUrlTileManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapView.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapWMSTile.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapWMSTileManager.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/FileUtil.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/FusedLocationSource.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ImageReadable.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ImageReader.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ImageUtil.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/LatLngBoundsUtils.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/MapsPackage.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/RegionChangeEvent.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/SizeReportingShadowNode.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ViewAttacherGroup.java +0 -0
- package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ViewChangesTracker.java +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRDummyView.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRDummyView.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGMSMarker.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGMSMarker.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGMSPolygon.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGMSPolygon.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGMSPolyline.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGMSPolyline.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMap.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMap.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCallout.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCallout.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCalloutManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCalloutManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCalloutSubview.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCalloutSubview.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCalloutSubviewManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCalloutSubviewManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCircle.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCircle.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCircleManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapCircleManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapHeatmap.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapHeatmap.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapHeatmapManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapHeatmapManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapMarker.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapMarker.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapMarkerManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapMarkerManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapOverlay.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapOverlay.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapOverlayManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapOverlayManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolygon.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolygon.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolygonManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolygonManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolyline.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolyline.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolylineManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapPolylineManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapURLTileManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapUrlTile.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapUrlTile.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapUrlTileManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapWMSTile.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapWMSTile.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapWMSTileManager.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/AIRGoogleMapWMSTileManager.m +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/RCTConvert+GMSMapViewType.h +0 -0
- package/{lib/ios → ios}/AirGoogleMaps/RCTConvert+GMSMapViewType.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMap.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMap.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCallout.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCallout.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCalloutManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCalloutManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCalloutSubview.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCalloutSubview.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCalloutSubviewManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCalloutSubviewManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCircle.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCircle.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCircleManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCircleManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCoordinate.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapCoordinate.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapLocalTile.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapLocalTile.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapLocalTileManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapLocalTileManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapLocalTileOverlay.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapLocalTileOverlay.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapMarker.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapMarker.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapMarkerManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapMarkerManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapOverlay.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapOverlay.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapOverlayManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapOverlayManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapOverlayRenderer.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapOverlayRenderer.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolygon.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolygon.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolygonManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolygonManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolyline.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolyline.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolylineManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolylineManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolylineRenderer.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapPolylineRenderer.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapSnapshot.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapUrlTile.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapUrlTile.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapUrlTileCachedOverlay.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapUrlTileCachedOverlay.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapUrlTileManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapUrlTileManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapWMSTile.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapWMSTile.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapWMSTileManager.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRMapWMSTileManager.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRWeakMapReference.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRWeakMapReference.m +0 -0
- package/{lib/ios → ios}/AirMaps/AIRWeakTimerReference.h +0 -0
- package/{lib/ios → ios}/AirMaps/AIRWeakTimerReference.m +0 -0
- package/{lib/ios → ios}/AirMaps/Callout/SMCalloutView.h +0 -0
- package/{lib/ios → ios}/AirMaps/Callout/SMCalloutView.m +0 -0
- package/{lib/ios → ios}/AirMaps/RCTConvert+AirMap.h +0 -0
- package/{lib/ios → ios}/AirMaps/RCTConvert+AirMap.m +0 -0
- package/{lib/ios → ios}/AirMaps.xcodeproj/project.pbxproj +0 -0
- package/{lib/ios → ios}/User.xcconfig +0 -0
- package/package.json +9 -7
- package/react-native-google-maps.podspec +1 -1
- package/react-native-maps.podspec +1 -1
- package/{lib/components → src}/AnimatedRegion.js +0 -0
- package/{lib/components → src}/Geojson.js +0 -0
- package/{lib/components → src}/MapCallout.js +0 -0
- package/{lib/components → src}/MapCalloutSubview.js +0 -0
- package/{lib/components → src}/MapCircle.js +0 -0
- package/{lib/components → src}/MapHeatmap.js +0 -0
- package/{lib/components → src}/MapLocalTile.js +0 -0
- package/{lib/components → src}/MapMarker.js +0 -0
- package/{lib/components → src}/MapOverlay.js +0 -0
- package/{lib/components → src}/MapPolygon.js +0 -0
- package/{lib/components → src}/MapPolyline.js +0 -0
- package/{lib/components → src}/MapUrlTile.js +0 -0
- package/{lib/components → src}/MapView.js +0 -0
- package/{lib/components → src}/MapView.web.js +0 -0
- package/{lib/components → src}/MapWMSTile.js +0 -0
- package/{lib/components → src}/ProviderConstants.js +0 -0
- package/{lib/components → src}/decorateMapComponent.js +0 -0
- package/src/index.js +31 -0
- package/index.js +0 -31
- package/lib/android/gradle-maven-push.gradle +0 -114
- package/react-native.config.js +0 -9
|
@@ -1,30 +1,21 @@
|
|
|
1
1
|
apply plugin: 'com.android.library'
|
|
2
|
-
if (project.hasProperty('POM_ARTIFACT_ID')) {
|
|
3
|
-
apply from: 'gradle-maven-push.gradle'
|
|
4
|
-
}
|
|
5
2
|
|
|
6
3
|
def safeExtGet(prop, fallback) {
|
|
7
4
|
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
8
5
|
}
|
|
9
6
|
|
|
10
7
|
android {
|
|
11
|
-
compileSdkVersion safeExtGet('compileSdkVersion',
|
|
8
|
+
compileSdkVersion safeExtGet('compileSdkVersion', 30)
|
|
12
9
|
|
|
13
10
|
defaultConfig {
|
|
14
11
|
minSdkVersion safeExtGet('minSdkVersion', 21)
|
|
15
|
-
targetSdkVersion safeExtGet('targetSdkVersion',
|
|
12
|
+
targetSdkVersion safeExtGet('targetSdkVersion', 30)
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
dependencies {
|
|
20
17
|
def work_version = safeExtGet('targetSdkVersion', 27) < 31 ? "2.5.0" : "2.7.1"
|
|
21
|
-
|
|
22
|
-
def supportLibMajorVersion = supportLibVersion.split('\\.')[0] as int
|
|
23
|
-
def appCompatLibName = (supportLibMajorVersion < 20) ? "androidx.appcompat:appcompat" : "com.android.support:appcompat-v7"
|
|
24
|
-
implementation "$appCompatLibName:$supportLibVersion"
|
|
25
|
-
implementation('com.facebook.react:react-native:+') {
|
|
26
|
-
exclude group: 'com.android.support'
|
|
27
|
-
}
|
|
18
|
+
implementation 'com.facebook.react:react-native:+'
|
|
28
19
|
implementation "com.google.android.gms:play-services-base:${safeExtGet('playServicesVersion', '18.0.1')}"
|
|
29
20
|
implementation "com.google.android.gms:play-services-maps:${safeExtGet('playServicesVersion', '18.0.2')}"
|
|
30
21
|
implementation "com.google.android.gms:play-services-location:19.0.1"
|
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapCallout.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapCircle.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapCircleManager.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapFeature.java
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapHeatmap.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapLiteManager.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapLocalTile.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapManager.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapMarker.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapMarkerManager.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapModule.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapOverlay.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapPolygon.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapPolyline.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapTileProvider.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapTileWorker.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapUrlTile.java
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/AirMapWMSTile.java
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/FusedLocationSource.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ImageReadable.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ImageReader.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/LatLngBoundsUtils.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/MapsPackage.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/RegionChangeEvent.java
RENAMED
|
File without changes
|
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ViewAttacherGroup.java
RENAMED
|
File without changes
|
package/{lib/android → android}/src/main/java/com/airbnb/android/react/maps/ViewChangesTracker.java
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-maps",
|
|
3
3
|
"description": "React Native Mapview component for iOS + Android",
|
|
4
|
-
"main": "index.js",
|
|
4
|
+
"main": "src/index.js",
|
|
5
|
+
"types": "index.d.ts",
|
|
5
6
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
6
|
-
"version": "0.31.0-beta.
|
|
7
|
+
"version": "0.31.0-beta.4",
|
|
7
8
|
"license": "MIT",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"lint": "eslint . --max-warnings 0",
|
|
@@ -13,12 +14,13 @@
|
|
|
13
14
|
},
|
|
14
15
|
"files": [
|
|
15
16
|
"index.d.ts",
|
|
16
|
-
"
|
|
17
|
+
"android",
|
|
18
|
+
"ios",
|
|
19
|
+
"src",
|
|
17
20
|
"react-native-google-maps.podspec",
|
|
18
21
|
"react-native-maps.podspec",
|
|
19
|
-
"
|
|
20
|
-
"!
|
|
21
|
-
"!lib/ios/build",
|
|
22
|
+
"!android/build",
|
|
23
|
+
"!ios/build",
|
|
22
24
|
"!**/__tests__",
|
|
23
25
|
"!**/__fixtures__",
|
|
24
26
|
"!**/__mocks__"
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
"mapkit"
|
|
38
40
|
],
|
|
39
41
|
"peerDependencies": {
|
|
40
|
-
"react": ">= 16.0
|
|
42
|
+
"react": ">= 16.0",
|
|
41
43
|
"react-native": ">= 0.51",
|
|
42
44
|
"react-native-web": ">= 0.11"
|
|
43
45
|
},
|
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.platform = :ios, "12.0"
|
|
14
14
|
|
|
15
15
|
s.source = { :git => "https://github.com/react-native-maps/react-native-maps.git", :tag=> "v#{s.version}" }
|
|
16
|
-
s.source_files = "
|
|
16
|
+
s.source_files = "ios/AirGoogleMaps/**/*.{h,m}"
|
|
17
17
|
s.compiler_flags = '-DHAVE_GOOGLE_MAPS=1', '-DHAVE_GOOGLE_MAPS_UTILS=1', '-fno-modules'
|
|
18
18
|
|
|
19
19
|
s.dependency 'React-Core'
|
|
@@ -13,7 +13,7 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.platform = :ios, "12.0"
|
|
14
14
|
|
|
15
15
|
s.source = { :git => "https://github.com/react-native-maps/react-native-maps.git", :tag=> "v#{s.version}" }
|
|
16
|
-
s.source_files = "
|
|
16
|
+
s.source_files = "ios/AirMaps/**/*.{h,m}"
|
|
17
17
|
|
|
18
18
|
s.dependency 'React-Core'
|
|
19
19
|
end
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/src/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import MapView, {
|
|
2
|
+
Animated,
|
|
3
|
+
MAP_TYPES,
|
|
4
|
+
ProviderPropType,
|
|
5
|
+
enableLatestRenderer,
|
|
6
|
+
} from './MapView';
|
|
7
|
+
import Marker from './MapMarker';
|
|
8
|
+
import Overlay from './MapOverlay';
|
|
9
|
+
|
|
10
|
+
export { default as Polyline } from './MapPolyline';
|
|
11
|
+
export { default as Heatmap } from './MapHeatmap';
|
|
12
|
+
export { default as Polygon } from './MapPolygon';
|
|
13
|
+
export { default as Circle } from './MapCircle';
|
|
14
|
+
export { default as UrlTile } from './MapUrlTile';
|
|
15
|
+
export { default as WMSTile } from './MapWMSTile';
|
|
16
|
+
export { default as LocalTile } from './MapLocalTile';
|
|
17
|
+
export { default as Callout } from './MapCallout';
|
|
18
|
+
export { default as CalloutSubview } from './MapCalloutSubview';
|
|
19
|
+
export { default as AnimatedRegion } from './AnimatedRegion';
|
|
20
|
+
export { default as Geojson } from './Geojson';
|
|
21
|
+
|
|
22
|
+
export { Marker, Overlay };
|
|
23
|
+
export { Animated, MAP_TYPES, ProviderPropType, enableLatestRenderer };
|
|
24
|
+
|
|
25
|
+
export const PROVIDER_GOOGLE = MapView.PROVIDER_GOOGLE;
|
|
26
|
+
export const PROVIDER_DEFAULT = MapView.PROVIDER_DEFAULT;
|
|
27
|
+
|
|
28
|
+
export const MarkerAnimated = Marker.Animated;
|
|
29
|
+
export const OverlayAnimated = Overlay.Animated;
|
|
30
|
+
|
|
31
|
+
export default MapView;
|
package/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import MapView, {
|
|
2
|
-
Animated,
|
|
3
|
-
MAP_TYPES,
|
|
4
|
-
ProviderPropType,
|
|
5
|
-
enableLatestRenderer,
|
|
6
|
-
} from './lib/components/MapView';
|
|
7
|
-
import Marker from './lib/components/MapMarker.js';
|
|
8
|
-
import Overlay from './lib/components/MapOverlay.js';
|
|
9
|
-
|
|
10
|
-
export { default as Polyline } from './lib/components/MapPolyline.js';
|
|
11
|
-
export { default as Heatmap } from './lib/components/MapHeatmap.js';
|
|
12
|
-
export { default as Polygon } from './lib/components/MapPolygon.js';
|
|
13
|
-
export { default as Circle } from './lib/components/MapCircle.js';
|
|
14
|
-
export { default as UrlTile } from './lib/components/MapUrlTile.js';
|
|
15
|
-
export { default as WMSTile } from './lib/components/MapWMSTile.js';
|
|
16
|
-
export { default as LocalTile } from './lib/components/MapLocalTile.js';
|
|
17
|
-
export { default as Callout } from './lib/components/MapCallout.js';
|
|
18
|
-
export { default as CalloutSubview } from './lib/components/MapCalloutSubview.js';
|
|
19
|
-
export { default as AnimatedRegion } from './lib/components/AnimatedRegion.js';
|
|
20
|
-
export { default as Geojson } from './lib/components/Geojson.js';
|
|
21
|
-
|
|
22
|
-
export { Marker, Overlay };
|
|
23
|
-
export { Animated, MAP_TYPES, ProviderPropType, enableLatestRenderer };
|
|
24
|
-
|
|
25
|
-
export const PROVIDER_GOOGLE = MapView.PROVIDER_GOOGLE;
|
|
26
|
-
export const PROVIDER_DEFAULT = MapView.PROVIDER_DEFAULT;
|
|
27
|
-
|
|
28
|
-
export const MarkerAnimated = Marker.Animated;
|
|
29
|
-
export const OverlayAnimated = Overlay.Animated;
|
|
30
|
-
|
|
31
|
-
export default MapView;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright 2013 Chris Banes
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
apply plugin: 'maven'
|
|
18
|
-
apply plugin: 'signing'
|
|
19
|
-
|
|
20
|
-
def isReleaseBuild() {
|
|
21
|
-
return VERSION_NAME.contains("SNAPSHOT") == false
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
def getReleaseRepositoryUrl() {
|
|
25
|
-
return hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL
|
|
26
|
-
: "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
def getSnapshotRepositoryUrl() {
|
|
30
|
-
return hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL
|
|
31
|
-
: "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
def getRepositoryUsername() {
|
|
35
|
-
return hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ""
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
def getRepositoryPassword() {
|
|
39
|
-
return hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
afterEvaluate { project ->
|
|
43
|
-
uploadArchives {
|
|
44
|
-
repositories {
|
|
45
|
-
mavenDeployer {
|
|
46
|
-
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
|
|
47
|
-
|
|
48
|
-
pom.groupId = GROUP
|
|
49
|
-
pom.artifactId = POM_ARTIFACT_ID
|
|
50
|
-
pom.version = VERSION_NAME
|
|
51
|
-
|
|
52
|
-
repository(url: getReleaseRepositoryUrl()) {
|
|
53
|
-
authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
|
|
54
|
-
}
|
|
55
|
-
snapshotRepository(url: getSnapshotRepositoryUrl()) {
|
|
56
|
-
authentication(userName: getRepositoryUsername(), password: getRepositoryPassword())
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
pom.project {
|
|
60
|
-
name POM_NAME
|
|
61
|
-
packaging POM_PACKAGING
|
|
62
|
-
description POM_DESCRIPTION
|
|
63
|
-
url POM_URL
|
|
64
|
-
|
|
65
|
-
scm {
|
|
66
|
-
url POM_SCM_URL
|
|
67
|
-
connection POM_SCM_CONNECTION
|
|
68
|
-
developerConnection POM_SCM_DEV_CONNECTION
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
licenses {
|
|
72
|
-
license {
|
|
73
|
-
name POM_LICENSE_NAME
|
|
74
|
-
url POM_LICENSE_URL
|
|
75
|
-
distribution POM_LICENSE_DIST
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
developers {
|
|
80
|
-
developer {
|
|
81
|
-
id POM_DEVELOPER_ID
|
|
82
|
-
name POM_DEVELOPER_NAME
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
signing {
|
|
91
|
-
required { isReleaseBuild() && gradle.taskGraph.hasTask("uploadArchives") }
|
|
92
|
-
sign configurations.archives
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
task androidJavadocs(type: Javadoc) {
|
|
96
|
-
source = android.sourceSets.main.java.srcDirs
|
|
97
|
-
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
|
|
101
|
-
classifier = 'javadoc'
|
|
102
|
-
from androidJavadocs.destinationDir
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
task androidSourcesJar(type: Jar) {
|
|
106
|
-
classifier = 'sources'
|
|
107
|
-
from android.sourceSets.main.java.sourceFiles
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
artifacts {
|
|
111
|
-
archives androidSourcesJar
|
|
112
|
-
archives androidJavadocsJar
|
|
113
|
-
}
|
|
114
|
-
}
|