Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
02ed7c0
fix(android): remove dangling map marker views causing memory leak (#…
krakowski Mar 10, 2024
eaa4661
chore(release): 1.10.4 [skip ci]
semantic-release-bot Mar 10, 2024
3ad0265
feat(android): add bridgeless support (#4985)
lukmccall Mar 10, 2024
7b5c736
chore(release): 1.11.0 [skip ci]
semantic-release-bot Mar 10, 2024
f30c9d7
fix(android): custom maker performance improvements when view trackin…
jared-ca Mar 10, 2024
2eb4492
chore(release): 1.11.1 [skip ci]
semantic-release-bot Mar 10, 2024
6603060
fix(iOS): removing polylines on iOS with googleProvider (#4973)
mateki0 Mar 11, 2024
c12414f
chore(release): 1.11.2 [skip ci]
semantic-release-bot Mar 11, 2024
5fd9ca6
fix: AnimatedRegion types (#4909)
mateki0 Mar 11, 2024
fca4ad7
chore(release): 1.11.3 [skip ci]
semantic-release-bot Mar 11, 2024
b9fbe31
feat(google-maps): add onSelect/onDeselect support fo google maps (#4…
jan-kozinski Mar 29, 2024
76ae938
chore(release): 1.12.0 [skip ci]
semantic-release-bot Mar 29, 2024
537c181
chore(update-RN): update react-native to 0.73.6 for the example proje…
salah-ghanim Mar 29, 2024
a1be51b
feat(google-init): Improve Google Maps Initialisation on Android
salah-ghanim Apr 1, 2024
b461aa7
chore(release): 1.13.0 [skip ci]
semantic-release-bot Apr 1, 2024
39fd4e6
feat: add support for new React Native architecture
Apr 13, 2024
1310985
feat: add support for new React Native architecture
Apr 13, 2024
794c64f
feat: add support for new React Native architecture
Apr 13, 2024
b3ce3fc
fix(android): onSelect was crashing android (#5032)
salah-ghanim Apr 13, 2024
0a4d7ab
chore(release): 1.13.1 [skip ci]
semantic-release-bot Apr 13, 2024
1481268
Merge branch 'master' into enable-new-arch
salah-ghanim Apr 13, 2024
be28937
fix(android): googleMapOptions / initialising multiple maps on androi…
salah-ghanim Apr 13, 2024
10c2bd2
chore(release): 1.13.2 [skip ci]
semantic-release-bot Apr 13, 2024
ff16e02
Merge branch 'master' into enable-new-arch
salah-ghanim Apr 13, 2024
6554793
fix(android): map initialization as expected
Apr 13, 2024
73640a6
fix(android): map initialization as expected
Apr 13, 2024
8886471
Merge branch 'master' into enable-new-arch
salah-ghanim Apr 13, 2024
7e1dd58
fix(android): map initialization as expected
Apr 13, 2024
8ba7608
fix(android): map initialization as expected
Apr 13, 2024
b57d22f
fix(android): map initialization as expected
Apr 13, 2024
48665da
feat: add support for new React Native architecture
Apr 14, 2024
630b72e
feat: add support for new React Native architecture
Apr 14, 2024
1a21f86
feat: Enable new arch for the example project
GETAWAY-Dev Apr 14, 2024
120c2a5
chore(release): 1.14.0 [skip ci]
semantic-release-bot Apr 14, 2024
6e4f49e
feat(ios): Add possibility to use both MKMarkerAnnotationView and MKP…
mateki0 May 4, 2024
3ba84a6
chore(release): 1.15.0 [skip ci]
semantic-release-bot May 4, 2024
29107d5
fix(android): fix non working tile update (#5041)
mateki0 May 5, 2024
93e0988
chore(release): 1.15.1 [skip ci]
semantic-release-bot May 5, 2024
7bd58a0
Chore: example app w/react-native to 0.74 (#5040)
mateki0 May 6, 2024
68b164c
Example with fabric working (#5055)
salah-ghanim May 19, 2024
4245757
Include Apple privacy manifest (#5057)
salah-ghanim May 20, 2024
524194f
fix: use initialProps to set zoomTapEnabled in google-maps-ios (#5059)
salah-ghanim May 20, 2024
e565159
chore(release): 1.15.2 [skip ci]
semantic-release-bot May 20, 2024
d4916bb
fix(android): move package namespace from Manifest to gradle
Trianglebucks May 24, 2024
c00bd81
chore(release): 1.15.3 [skip ci]
semantic-release-bot May 24, 2024
a3eff28
* fix(iOS): example working with react-native 0.74.1 (#5066)
salah-ghanim May 25, 2024
9992c36
fix(ios): resolve issue with Pods installation (#5065)
salah-ghanim May 25, 2024
9674584
chore(release): 1.15.4 [skip ci]
semantic-release-bot May 25, 2024
f194f99
fix(android): UIManagerModule fix for Bridgeless 0.74 (#5061)
arushikesarwani94 May 30, 2024
128dd07
chore(release): 1.15.5 [skip ci]
semantic-release-bot May 30, 2024
9f458d9
fix(iOS): iOS PrivacyInfo fix (#5078)
salah-ghanim May 30, 2024
da11dd6
chore(release): 1.15.6 [skip ci]
semantic-release-bot May 30, 2024
5dc9381
fix(ios): Implement dash options for geojson polygon (#5115)
perryfaro Jul 20, 2024
312babb
chore(release): 1.15.7 [skip ci]
semantic-release-bot Jul 20, 2024
ab3d791
Fixing a small grammar mistake in README.md (#5107)
InvitedToHell Jul 20, 2024
befb86e
feat(ios): allow use of light compass theme with satellite/hybrid map…
noquinn Jul 20, 2024
0bc328e
chore(release): 1.16.0 [skip ci]
semantic-release-bot Jul 20, 2024
4001ae8
feat(android): add dash pattern for Android Polygon (#5115) (#5121)
perryfaro Jul 21, 2024
a713fbf
chore(release): 1.17.0 [skip ci]
semantic-release-bot Jul 21, 2024
b2d2fd8
fix(iOS): ensure onPress(Marker) returns nativeEvent.position #4996 (…
abdullahbayram Jul 21, 2024
de4021e
chore(release): 1.17.1 [skip ci]
semantic-release-bot Jul 21, 2024
f8e585d
docs: clarify that react-native 0.74 is required for V1.4.0 and above…
salah-ghanim Jul 21, 2024
7146048
docs: react-native requirements clarification
salah-ghanim Jul 27, 2024
27fec3a
fix: export PolylinePressEvent (#5125)
geovanecoc Jul 27, 2024
55ea9ce
chore(release): 1.17.2 [skip ci]
semantic-release-bot Jul 27, 2024
f3f5a4e
fix(Android): Added A11y for Map and Marker (#5091)
zaferatli Jul 27, 2024
8209fe0
chore(release): 1.17.3 [skip ci]
semantic-release-bot Jul 27, 2024
266be79
feat: add anchor and centerOffset prop to GeoJson component to be pas…
JacobGalati Aug 18, 2024
a169d3e
chore(release): 1.18.0 [skip ci]
semantic-release-bot Aug 18, 2024
b853f3a
fix: documentation on README.md (#5174)
elencho Oct 12, 2024
9c865a6
chore(release): 1.18.1 [skip ci]
semantic-release-bot Oct 12, 2024
c7853e3
Fix(ios): fix polyline memory leak on coordinate update (#5167)
calebmackdavenport Oct 13, 2024
a92b939
chore(map): update GoogleMaps SDK to 8.4.0 and Google-Map-Utils to v5…
salah-ghanim Oct 14, 2024
37ca931
feat(iOS) GoogleMaps iOS: google maps loading background colour (#5184)
salah-ghanim Oct 14, 2024
4efd881
fix: correctly check for iOS OS version before using cameraZoomRange …
salah-ghanim Oct 14, 2024
5c9c58e
chore(release): 1.18.2 [skip ci]
semantic-release-bot Oct 14, 2024
cbc2ff3
docs(google): updating docs regarding styling and googleMapIds (#5188)
salah-ghanim Oct 15, 2024
956783f
fix(iOS): Refactor onPress(Marker) to return nativeEvent.position for…
abdullahbayram Nov 9, 2024
118f0fc
chore(release): 1.18.3 [skip ci]
semantic-release-bot Nov 9, 2024
0009170
fix(Android): fix multiple padding related issues on Android (#5150, …
shoamano83 Nov 9, 2024
98f3c82
chore(release): 1.18.4 [skip ci]
semantic-release-bot Nov 9, 2024
a9380af
Fix(ios): setCamera calls before layoutSubviews are ignored on Google…
shoamano83 Nov 9, 2024
eeb56f9
feat: add onRegionChangeStart event to MapView (#5144)
lxr-mwhite Nov 9, 2024
9709d6c
chore(release): 1.19.0 [skip ci]
semantic-release-bot Nov 9, 2024
5d1e81d
Merge tag 'v1.18.2' into MGW-956-update-to-1.18.2
yousrasd Jan 20, 2025
6a04abd
Merge tag 'v1.19.0' into MGW-956-update-to-1.19.0
yousrasd Jan 21, 2025
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
3 changes: 3 additions & 0 deletions .github/workflows/androidBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3

- name: Clear Gradle Cache
run: rm -rf $HOME/.gradle/caches/

- name: Setup node
uses: actions/setup-node@v3
with:
Expand Down
12 changes: 10 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ DerivedData
project.xcworkspace
Pods/
AirMapsExplorer.xcworkspace/
ios/.xcode.env.local
**/.xcode.env.local

# Android/IntelliJ
#
Expand Down Expand Up @@ -69,11 +69,19 @@ example/vendor/bundle/
example/ios/Config.xcconfig

# Ruby / CocoaPods
/ios/Pods/
**/Pods/
/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# testing
/coverage

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
217 changes: 217 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,222 @@
# Changelog

# [1.19.0](https://github.com/react-native-maps/react-native-maps/compare/v1.18.4...v1.19.0) (2024-11-09)


### Features

* add onRegionChangeStart event to MapView ([#5144](https://github.com/react-native-maps/react-native-maps/issues/5144)) ([eeb56f9](https://github.com/react-native-maps/react-native-maps/commit/eeb56f9f08c636eea928f383ce63d3ed1521ff8b))

## [1.18.4](https://github.com/react-native-maps/react-native-maps/compare/v1.18.3...v1.18.4) (2024-11-09)


### Bug Fixes

* **Android:** fix multiple padding related issues on Android ([#5150](https://github.com/react-native-maps/react-native-maps/issues/5150), [#5152](https://github.com/react-native-maps/react-native-maps/issues/5152), [#5153](https://github.com/react-native-maps/react-native-maps/issues/5153), [#5154](https://github.com/react-native-maps/react-native-maps/issues/5154)) ([#5151](https://github.com/react-native-maps/react-native-maps/issues/5151)) ([0009170](https://github.com/react-native-maps/react-native-maps/commit/0009170f26735eda47f1d7316a0642de3c9a952c))

## [1.18.3](https://github.com/react-native-maps/react-native-maps/compare/v1.18.2...v1.18.3) (2024-11-09)


### Bug Fixes

* **iOS:** Refactor onPress(Marker) to return nativeEvent.position for consistency with Android ([#5196](https://github.com/react-native-maps/react-native-maps/issues/5196)) ([956783f](https://github.com/react-native-maps/react-native-maps/commit/956783f90df7053536240a2f0bc51fee094a4b1e)), closes [#4996](https://github.com/react-native-maps/react-native-maps/issues/4996)

## [1.18.2](https://github.com/react-native-maps/react-native-maps/compare/v1.18.1...v1.18.2) (2024-10-14)


### Bug Fixes

* correctly check for iOS OS version before using cameraZoomRange ([#5185](https://github.com/react-native-maps/react-native-maps/issues/5185)) ([4efd881](https://github.com/react-native-maps/react-native-maps/commit/4efd881ffb4995f77d7f325455053d30c50cd429))

## [1.18.1](https://github.com/react-native-maps/react-native-maps/compare/v1.18.0...v1.18.1) (2024-10-12)


### Bug Fixes

* documentation on README.md ([#5174](https://github.com/react-native-maps/react-native-maps/issues/5174)) ([b853f3a](https://github.com/react-native-maps/react-native-maps/commit/b853f3ae28e72aa107eb61db79a90adb00f03492))

# [1.18.0](https://github.com/react-native-maps/react-native-maps/compare/v1.17.3...v1.18.0) (2024-08-18)


### Features

* add anchor and centerOffset prop to GeoJson component to be passed to Marker ([#5140](https://github.com/react-native-maps/react-native-maps/issues/5140)) ([266be79](https://github.com/react-native-maps/react-native-maps/commit/266be79e924298633e60aed5c0b86d077fa479cc)), closes [#5139](https://github.com/react-native-maps/react-native-maps/issues/5139)

## [1.17.3](https://github.com/react-native-maps/react-native-maps/compare/v1.17.2...v1.17.3) (2024-07-27)


### Bug Fixes

* **Android:** Added A11y for Map and Marker ([#5091](https://github.com/react-native-maps/react-native-maps/issues/5091)) ([f3f5a4e](https://github.com/react-native-maps/react-native-maps/commit/f3f5a4e45cb4a27624c87999d366710c17d4daee))

## [1.17.2](https://github.com/react-native-maps/react-native-maps/compare/v1.17.1...v1.17.2) (2024-07-27)


### Bug Fixes

* export PolylinePressEvent ([#5125](https://github.com/react-native-maps/react-native-maps/issues/5125)) ([27fec3a](https://github.com/react-native-maps/react-native-maps/commit/27fec3a993af8fc5a21b9a303b34d73bc34f1914))

## [1.17.1](https://github.com/react-native-maps/react-native-maps/compare/v1.17.0...v1.17.1) (2024-07-21)


### Bug Fixes

* **iOS:** ensure onPress(Marker) returns nativeEvent.position [#4996](https://github.com/react-native-maps/react-native-maps/issues/4996) ([#5092](https://github.com/react-native-maps/react-native-maps/issues/5092)) ([b2d2fd8](https://github.com/react-native-maps/react-native-maps/commit/b2d2fd8cddb8808a41ae881f87a7295ac78f5b06))

# [1.17.0](https://github.com/react-native-maps/react-native-maps/compare/v1.16.0...v1.17.0) (2024-07-21)


### Features

* **android:** add dash pattern for Android Polygon ([#5115](https://github.com/react-native-maps/react-native-maps/issues/5115)) ([#5121](https://github.com/react-native-maps/react-native-maps/issues/5121)) ([4001ae8](https://github.com/react-native-maps/react-native-maps/commit/4001ae89dd82e6f0a247d3255f3cdaba253a0fcd))

# [1.16.0](https://github.com/react-native-maps/react-native-maps/compare/v1.15.7...v1.16.0) (2024-07-20)


### Features

* **ios:** allow use of light compass theme with satellite/hybrid map… ([#5099](https://github.com/react-native-maps/react-native-maps/issues/5099)) ([befb86e](https://github.com/react-native-maps/react-native-maps/commit/befb86e0aa4e8f517301d01bc084246e21c08c0b))

## [1.15.7](https://github.com/react-native-maps/react-native-maps/compare/v1.15.6...v1.15.7) (2024-07-20)


### Bug Fixes

* **ios:** Implement dash options for geojson polygon ([#5115](https://github.com/react-native-maps/react-native-maps/issues/5115)) ([5dc9381](https://github.com/react-native-maps/react-native-maps/commit/5dc9381ae600e239b5aa8a818f94a88dc161d8fb))

## [1.15.6](https://github.com/react-native-maps/react-native-maps/compare/v1.15.5...v1.15.6) (2024-05-30)


### Bug Fixes

* **iOS:** iOS PrivacyInfo fix ([#5078](https://github.com/react-native-maps/react-native-maps/issues/5078)) ([9f458d9](https://github.com/react-native-maps/react-native-maps/commit/9f458d956ba2c16ee3f2a9e8849d9330dcefdda2))

## [1.15.5](https://github.com/react-native-maps/react-native-maps/compare/v1.15.4...v1.15.5) (2024-05-30)


### Bug Fixes

* **android:** UIManagerModule fix for Bridgeless 0.74 ([#5061](https://github.com/react-native-maps/react-native-maps/issues/5061)) ([f194f99](https://github.com/react-native-maps/react-native-maps/commit/f194f9977ea7c6ab547b53e15b4d9a3480c8baa7))

## [1.15.4](https://github.com/react-native-maps/react-native-maps/compare/v1.15.3...v1.15.4) (2024-05-25)


### Bug Fixes

* **ios:** resolve issue with Pods installation ([#5065](https://github.com/react-native-maps/react-native-maps/issues/5065)) ([9992c36](https://github.com/react-native-maps/react-native-maps/commit/9992c36054b0a8a056f0ce97d4687fcdf18c2ca5))

## [1.15.3](https://github.com/react-native-maps/react-native-maps/compare/v1.15.2...v1.15.3) (2024-05-24)


### Bug Fixes

* **android:** move package namespace from Manifest to gradle ([d4916bb](https://github.com/react-native-maps/react-native-maps/commit/d4916bb6fff96f811d40c4d3b3bff8840442929d))

## [1.15.2](https://github.com/react-native-maps/react-native-maps/compare/v1.15.1...v1.15.2) (2024-05-20)


### Bug Fixes

* use initialProps to set zoomTapEnabled in google-maps-ios ([#5059](https://github.com/react-native-maps/react-native-maps/issues/5059)) ([524194f](https://github.com/react-native-maps/react-native-maps/commit/524194ff62859cd82d78cbcca53c6f8e2da29bb7))

## [1.15.1](https://github.com/react-native-maps/react-native-maps/compare/v1.15.0...v1.15.1) (2024-05-05)


### Bug Fixes

* **android:** fix non working tile update ([#5041](https://github.com/react-native-maps/react-native-maps/issues/5041)) ([29107d5](https://github.com/react-native-maps/react-native-maps/commit/29107d516ac6f6cb0ecbd604a5ebe43dfae339a2))

# [1.15.0](https://github.com/react-native-maps/react-native-maps/compare/v1.14.0...v1.15.0) (2024-05-04)


### Features

* **ios:** Add possibility to use both MKMarkerAnnotationView and MKPinAnnotationView ([#5005](https://github.com/react-native-maps/react-native-maps/issues/5005)) ([6e4f49e](https://github.com/react-native-maps/react-native-maps/commit/6e4f49ead61557ca0eed6fd764317a848981e353))

# [1.14.0](https://github.com/react-native-maps/react-native-maps/compare/v1.13.2...v1.14.0) (2024-04-14)


### Bug Fixes

* **android:** map initialization as expected ([b57d22f](https://github.com/react-native-maps/react-native-maps/commit/b57d22f887f352d7be636b3cc9b60be8254ab850))
* **android:** map initialization as expected ([8ba7608](https://github.com/react-native-maps/react-native-maps/commit/8ba7608e90d188ee8bad50392968c60c5a2f15be))
* **android:** map initialization as expected ([7e1dd58](https://github.com/react-native-maps/react-native-maps/commit/7e1dd58e3bf3ea174e0a526926b14ef38340a195))
* **android:** map initialization as expected ([73640a6](https://github.com/react-native-maps/react-native-maps/commit/73640a6232f7e523c8962f6ab315bc9772ae154c))
* **android:** map initialization as expected ([6554793](https://github.com/react-native-maps/react-native-maps/commit/6554793a0287060dd946edae0a92de3482c2b14d))


### Features

* add support for new React Native architecture ([630b72e](https://github.com/react-native-maps/react-native-maps/commit/630b72ef90c2bcb8611ce907c4f359eefe40c555))
* add support for new React Native architecture ([48665da](https://github.com/react-native-maps/react-native-maps/commit/48665da2a581d300557d40fe740b8a28bb1cdc43))
* add support for new React Native architecture ([794c64f](https://github.com/react-native-maps/react-native-maps/commit/794c64f9288310a8da0bb5450011a8ef6236b952))
* add support for new React Native architecture ([1310985](https://github.com/react-native-maps/react-native-maps/commit/1310985e6e2c0d5b915d7364cf52a99cca43ec8f))
* add support for new React Native architecture ([39fd4e6](https://github.com/react-native-maps/react-native-maps/commit/39fd4e6e57cad141e640e4baf4ed3f60eccd6db4))
* Enable new arch for the example project ([1a21f86](https://github.com/react-native-maps/react-native-maps/commit/1a21f862b3b781707ae88e44db501f7453e95ac1))

## [1.13.2](https://github.com/react-native-maps/react-native-maps/compare/v1.13.1...v1.13.2) (2024-04-13)


### Bug Fixes

* **android:** googleMapOptions / initialising multiple maps on android is buggy ([#5034](https://github.com/react-native-maps/react-native-maps/issues/5034)) ([be28937](https://github.com/react-native-maps/react-native-maps/commit/be2893701f4d92e6e7d1b3917626c74352f75303))

## [1.13.1](https://github.com/react-native-maps/react-native-maps/compare/v1.13.0...v1.13.1) (2024-04-13)


### Bug Fixes

* **android:** onSelect was crashing android ([#5032](https://github.com/react-native-maps/react-native-maps/issues/5032)) ([b3ce3fc](https://github.com/react-native-maps/react-native-maps/commit/b3ce3fc4731b86107ea205d9ddb4743443c9523b))

# [1.13.0](https://github.com/react-native-maps/react-native-maps/compare/v1.12.0...v1.13.0) (2024-04-01)


### Features

* **google-init:** Improve Google Maps Initialisation on Android ([a1be51b](https://github.com/react-native-maps/react-native-maps/commit/a1be51bd882933da93dc50fcc7ae2219a1df58b4))

# [1.12.0](https://github.com/react-native-maps/react-native-maps/compare/v1.11.3...v1.12.0) (2024-03-29)


### Features

* **google-maps:** add onSelect/onDeselect support fo google maps ([#4990](https://github.com/react-native-maps/react-native-maps/issues/4990)) ([b9fbe31](https://github.com/react-native-maps/react-native-maps/commit/b9fbe31bb1feca4281a3131cc2a78dd64cca96d3))

## [1.11.3](https://github.com/react-native-maps/react-native-maps/compare/v1.11.2...v1.11.3) (2024-03-11)


### Bug Fixes

* AnimatedRegion types ([#4909](https://github.com/react-native-maps/react-native-maps/issues/4909)) ([5fd9ca6](https://github.com/react-native-maps/react-native-maps/commit/5fd9ca6dfb655145cfbf41f7f977855d8265b1f1))

## [1.11.2](https://github.com/react-native-maps/react-native-maps/compare/v1.11.1...v1.11.2) (2024-03-11)


### Bug Fixes

* **iOS:** removing polylines on iOS with googleProvider ([#4973](https://github.com/react-native-maps/react-native-maps/issues/4973)) ([6603060](https://github.com/react-native-maps/react-native-maps/commit/66030603a1808ef2c055f0abe2ab02f5e47cdf4c))

## [1.11.1](https://github.com/react-native-maps/react-native-maps/compare/v1.11.0...v1.11.1) (2024-03-10)


### Bug Fixes

* **android:** custom maker performance improvements when view tracking ([#4969](https://github.com/react-native-maps/react-native-maps/issues/4969)) ([f30c9d7](https://github.com/react-native-maps/react-native-maps/commit/f30c9d7624aa2f50afb7da97b6749fc45eb3125c))

# [1.11.0](https://github.com/react-native-maps/react-native-maps/compare/v1.10.4...v1.11.0) (2024-03-10)


### Features

* **android:** add bridgeless support ([#4985](https://github.com/react-native-maps/react-native-maps/issues/4985)) ([3ad0265](https://github.com/react-native-maps/react-native-maps/commit/3ad0265cd2e1fc357713ae2b8de71249c8425b50))

## [1.10.4](https://github.com/react-native-maps/react-native-maps/compare/v1.10.3...v1.10.4) (2024-03-10)


### Bug Fixes

* **android:** remove dangling map marker views causing memory leak ([#4992](https://github.com/react-native-maps/react-native-maps/issues/4992)) ([02ed7c0](https://github.com/react-native-maps/react-native-maps/commit/02ed7c04ec51789462a234cbddf0483d2c8116cd))

## [1.10.3](https://github.com/react-native-maps/react-native-maps/compare/v1.10.2...v1.10.3) (2024-02-18)


Expand Down
101 changes: 62 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ See [Setup Instructions for the Included Example Project](docs/examples-setup.md

## Compatibility

`react-native-maps` requires `react-native >= 0.64.3`.
## React-Native Requirements

- **Version 1.14.0 and above**: Requires `react-native >= 0.74`.
- **Versions below 1.14.0**: Require `react-native >= 0.64.3`.

## Component API

Expand Down Expand Up @@ -129,7 +132,7 @@ Note: You can also pass the image binary data like `image={require('custom_pin.p

### Rendering a Marker with a custom view

Note: This has performance implications, if you wish for a simpler solution go with a custom image (save your self the head ache)
Note: This has performance implications, if you wish for a simpler solution go with a custom image (save your self the headache)

```jsx
<Marker coordinate={{latitude: latitude, longitude: longitude}}>
Expand Down Expand Up @@ -197,6 +200,59 @@ For Android: add the following line in your AndroidManifest.xml

For IOS: configure [App Transport Security](https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW33) in your app

## React Native Configuration for Fabric / New Architecture

This library works with Fabric using the [New Renderer Interop Layer](https://github.com/reactwg/react-native-new-architecture/discussions/135)

There is a warning message that those steps are not necessary; but we couldn't get the example working without them so far.

### Configuration Steps

1. **Open your configuration file**: Locate the `react-native-config` file in your project directory.

2. **Add the following configuration**: Include the `unstable_reactLegacyComponentNames` array for both Android and iOS platforms as shown below:

```javascript
module.exports = {
project: {
android: {
unstable_reactLegacyComponentNames: [
'AIRMap',
'AIRMapCallout',
'AIRMapCalloutSubview',
'AIRMapCircle',
'AIRMapHeatmap',
'AIRMapLocalTile',
'AIRMapMarker',
'AIRMapOverlay',
'AIRMapPolygon',
'AIRMapPolyline',
'AIRMapUrlTile',
'AIRMapWMSTile',
],
},
ios: {
unstable_reactLegacyComponentNames: [
'AIRMap',
'AIRMapCallout',
'AIRMapCalloutSubview',
'AIRMapCircle',
'AIRMapHeatmap',
'AIRMapLocalTile',
'AIRMapMarker',
'AIRMapOverlay',
'AIRMapPolygon',
'AIRMapPolyline',
'AIRMapUrlTile',
'AIRMapWMSTile',
],
},
},
};
```

checkout the example project to see it in action.

#### Tile Overlay using local tiles

Tiles can be stored locally within device using xyz tiling scheme and displayed as tile overlay as well. This is usefull especially for offline map usage when tiles are available for selected map region within device storage.
Expand Down Expand Up @@ -246,43 +302,10 @@ render() {
}
```

### Customizing the map style

Create the json object, or download a generated one from the [google style generator](https://mapstyle.withgoogle.com/).

```jsx
// The generated json object
mapStyle = [ ... ]

render() {
return (
<MapView
region={this.state.region}
onRegionChange={this.onRegionChange}
customMapStyle={mapStyle}
/>
);
}
```

For iOS, in addition to providing the `mapStyle` you will need to do the following

```jsx
import MapView, { PROVIDER_GOOGLE } from 'react-native-maps'

// ...

<MapView
provider={PROVIDER_GOOGLE}
customMapStyle={MapStyle}
>
```

Then add the AirGoogleMaps directory:

https://github.com/react-native-maps/react-native-maps/blob/1e71a21f39e7b88554852951f773c731c94680c9/docs/installation.md#ios
### Customizing the map style (Google Maps Only)

An unofficial step-by-step guide is also available at https://gist.github.com/heron2014/e60fa003e9b117ce80d56bb1d5bfe9e0
The `<MapView provider="google" googleMapId="yourStyledMapId" />` Google Maps on iOS and Android supports styling via google cloud platform, the styled maps are published under a googleMapId, by simply setting the property googleMapId to the MapView you can use that styled map
more info here: [google map id](https://developers.google.com/maps/documentation/get-map-id)

### MapView Events

Expand Down Expand Up @@ -429,7 +452,7 @@ render() {
Markers can also accept an `AnimatedRegion` value as a coordinate.

```jsx
import Mapview, { AnimatedRegion, MarkerAnimated } from 'react-native-maps';
import MapView, { AnimatedRegion, MarkerAnimated } from 'react-native-maps';

getInitialState() {
return {
Expand Down
Loading
Loading