Skip to content

Commit 2318b04

Browse files
arnabsenrborn
authored andcommitted
Update repo paths (react-native-maps#2675)
Replace airbnb with react-native-community
1 parent 8f4867c commit 2318b04

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ import MapView, { PROVIDER_GOOGLE } from 'react-native-maps'
271271

272272
Then add the AirGoogleMaps directory:
273273

274-
https://github.com/airbnb/react-native-maps/blob/1e71a21f39e7b88554852951f773c731c94680c9/docs/installation.md#ios
274+
https://github.com/react-native-community/react-native-maps/blob/1e71a21f39e7b88554852951f773c731c94680c9/docs/installation.md#ios
275275

276276
An unofficial step-by-step guide is also available at https://gist.github.com/heron2014/e60fa003e9b117ce80d56bb1d5bfe9e0
277277

docs/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ project from the URLs below:
288288
- [Google Maps SDK Android](https://console.developers.google.com/apis/library/maps-android-backend.googleapis.com/)
289289
- [Google Maps SDK iOS (if required)](https://console.developers.google.com/apis/library/maps-ios-backend.googleapis.com)
290290

291-
For reference, you may read the relevant issue reports: ([#118](https://github.com/airbnb/react-native-maps/issues/118), [#176](https://github.com/airbnb/react-native-maps/issues/176), [#684](https://github.com/airbnb/react-native-maps/issues/684)).
291+
For reference, you may read the relevant issue reports: ([#118](https://github.com/react-native-community/react-native-maps/issues/118), [#176](https://github.com/react-native-community/react-native-maps/issues/176), [#684](https://github.com/react-native-community/react-native-maps/issues/684)).
292292

293293
### No map whatsoever
294294

docs/mapview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| `paddingAdjustmentBehavior` | 'always'\|'automatic'\|'never' | 'never' | Indicates how/when to affect padding with safe area insets (`GoogleMaps` in iOS only)
1414
| `liteMode` | `Boolean` | `false` | Enable lite mode. **Note**: Android only.
1515
| `mapType` | `String` | `"standard"` | The map type to be displayed. <br/><br/> - standard: standard road map (default)<br/> - none: no map<br/> - satellite: satellite view<br/> - hybrid: satellite view with roads and points of interest overlayed<br/> - terrain: (Android only) topographic view<br/> - mutedStandard: more subtle, makes markers/lines pop more (iOS 11.0+ only)
16-
| `customMapStyle` | `Array` | | Adds custom styling to the map component. See [README](https://github.com/airbnb/react-native-maps#customizing-the-map-style) for more information.
16+
| `customMapStyle` | `Array` | | Adds custom styling to the map component. See [README](https://github.com/react-native-community/react-native-maps#customizing-the-map-style) for more information.
1717
| `showsUserLocation` | `Boolean` | `false` | If `true` the app will ask for the user's location. **NOTE**: You need to add `NSLocationWhenInUseUsageDescription` key in Info.plist to enable geolocation, otherwise it is going to *fail silently*! You will also need to add an explanation for why you need the users location against `NSLocationWhenInUseUsageDescription` in Info.plist. Otherwise Apple may reject your app submission.
1818
| `userLocationAnnotationTitle` | `String` | | The title of the annotation for current user location. This only works if `showsUserLocation` is true. There is a default value `My Location` set by MapView. **Note**: iOS only.
1919
| `followsUserLocation` | `Boolean` | `false` | If `true` the map will focus on the user's location. This only works if `showsUserLocation` is true and the user has shared their location. **Note**: iOS only.

lib/android/src/main/java/com/airbnb/android/react/maps/AirMapView.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,10 @@ private static boolean contextHasBug(Context context) {
117117
}
118118

119119
// We do this to fix this bug:
120-
// https://github.com/airbnb/react-native-maps/issues/271
120+
// https://github.com/react-native-community/react-native-maps/issues/271
121121
//
122122
// which conflicts with another bug regarding the passed in context:
123-
// https://github.com/airbnb/react-native-maps/issues/1147
123+
// https://github.com/react-native-community/react-native-maps/issues/1147
124124
//
125125
// Doing this allows us to avoid both bugs.
126126
private static Context getNonBuggyContext(ThemedReactContext reactContext,
@@ -678,7 +678,7 @@ public void updateExtraData(Object extraData) {
678678
int width = data.get("width") == null ? 0 : data.get("width").intValue();
679679
int height = data.get("height") == null ? 0 : data.get("height").intValue();
680680

681-
//fix for https://github.com/airbnb/react-native-maps/issues/245,
681+
//fix for https://github.com/react-native-community/react-native-maps/issues/245,
682682
//it's not guaranteed the passed-in height and width would be greater than 0.
683683
if (width <= 0 || height <= 0) {
684684
map.moveCamera(CameraUpdateFactory.newLatLngBounds(boundsToMove, 0));

lib/ios/AirGoogleMaps/AIRGoogleMapMarker.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ - (void)setImageSrc:(NSString *)imageSrc
225225
}
226226

227227
if (!_iconImageView) {
228-
// prevent glitch with marker (cf. https://github.com/airbnb/react-native-maps/issues/738)
228+
// prevent glitch with marker (cf. https://github.com/react-native-community/react-native-maps/issues/738)
229229
UIImageView *empyImageView = [[UIImageView alloc] init];
230230
_iconImageView = empyImageView;
231231
[self iconViewInsertSubview:_iconImageView atIndex:0];

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"repository": {
2222
"type": "git",
23-
"url": "https://github.com/airbnb/react-native-maps"
23+
"url": "https://github.com/react-native-community/react-native-maps"
2424
},
2525
"keywords": [
2626
"react",

react-native-google-maps.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Pod::Spec.new do |s|
88
s.summary = "React Native Mapview component for iOS + Android"
99

1010
s.authors = { "intelligibabble" => "leland.m.richardson@gmail.com" }
11-
s.homepage = "https://github.com/airbnb/react-native-maps#readme"
11+
s.homepage = "https://github.com/react-native-community/react-native-maps#readme"
1212
s.license = "MIT"
1313
s.platform = :ios, "8.0"
1414

15-
s.source = { :git => "https://github.com/airbnb/react-native-maps.git" }
15+
s.source = { :git => "https://github.com/react-native-community/react-native-maps.git" }
1616
s.source_files = "lib/ios/AirGoogleMaps/**/*.{h,m}"
1717
s.compiler_flags = '-DHAVE_GOOGLE_MAPS=1', '-DHAVE_GOOGLE_MAPS_UTILS=1', '-fno-modules'
1818

react-native-maps.podspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ Pod::Spec.new do |s|
88
s.summary = "React Native Mapview component for iOS + Android"
99

1010
s.authors = { "intelligibabble" => "leland.m.richardson@gmail.com" }
11-
s.homepage = "https://github.com/airbnb/react-native-maps#readme"
11+
s.homepage = "https://github.com/react-native-community/react-native-maps#readme"
1212
s.license = "MIT"
1313
s.platform = :ios, "8.0"
1414

15-
s.source = { :git => "https://github.com/airbnb/react-native-maps.git" }
15+
s.source = { :git => "https://github.com/react-native-community/react-native-maps.git" }
1616
s.source_files = "lib/ios/AirMaps/**/*.{h,m}"
1717

1818
s.dependency 'React'

0 commit comments

Comments
 (0)