Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
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, …
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…
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
a6bdd6f
chore: remove unstable_reactLegacyComponentNames (#5208)
salah-ghanim Nov 9, 2024
33112be
fix: Remove unstable_reactLegacyComponentNames (#5209)
salah-ghanim Nov 10, 2024
314c3a0
chore(release): 1.19.1 [skip ci]
semantic-release-bot Nov 10, 2024
d92e283
feat(android): add support for disabling PoIClick (#5210)
salah-ghanim Nov 10, 2024
ac6e84d
chore(release): 1.20.0 [skip ci]
semantic-release-bot Nov 10, 2024
c276129
fix: custome marker size not update
spravinkumar9952 Jun 25, 2024
8c2c4fe
fix : Added Custom Marker image
spravinkumar9952 Jun 26, 2024
9bc5b5b
release: fix custom markers android
spravinkumar9952 Jun 26, 2024
a663f3b
release: fix custom markers android
spravinkumar9952 Jun 26, 2024
ef4b6c4
fix: removed isReady logic
spravinkumar9952 Aug 2, 2024
6f598f7
fix: add null checks in GoogleMap instance
spravinkumar9952 Aug 2, 2024
bd011fd
frontend-ix: compile issue fix
spravinkumar9952 Aug 5, 2024
75059b3
feat: add timer to manually trigger the onMapReady
spravinkumar9952 Aug 13, 2024
ea423db
Added scrollBy function for Google Maps
Oct 10, 2024
56eca0b
fitToCoordinate added paramenter
gopalchobey9 Oct 18, 2024
aac6344
Added polyline animation
Oct 21, 2024
41cd4a3
Ref/ Rebased with latest lib
Rohit4997 Nov 15, 2024
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
4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
root: true,
extends: '@react-native',
ignorePatterns: 'lib', // ts outdir
settings: {
react: {
version: '18.3.1',
},
},
};
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ yarn-error.log
.vscode

# ts outDir
lib/

example/vendor/bundle/

Expand Down
4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

7 changes: 0 additions & 7 deletions .husky/pre-commit

This file was deleted.

49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
# Changelog

# [1.20.0](https://github.com/react-native-maps/react-native-maps/compare/v1.19.1...v1.20.0) (2024-11-10)


### Features

* **android:** add support for disabling PoIClick ([#5210](https://github.com/react-native-maps/react-native-maps/issues/5210)) ([d92e283](https://github.com/react-native-maps/react-native-maps/commit/d92e28365ac42fda4b298f0a6b352cc297566660))

## [1.19.1](https://github.com/react-native-maps/react-native-maps/compare/v1.19.0...v1.19.1) (2024-11-10)


### Bug Fixes

* Remove unstable_reactLegacyComponentNames ([#5209](https://github.com/react-native-maps/react-native-maps/issues/5209)) ([33112be](https://github.com/react-native-maps/react-native-maps/commit/33112be8bd4d8c817df5875e08131f3286a10477))

# [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)


Expand Down
41 changes: 4 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,43 +302,10 @@ render() {
}
```

### Customizing the map style
### Customizing the map style (Google Maps Only)

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

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 @@ -485,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
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
44 changes: 31 additions & 13 deletions android/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 21 additions & 16 deletions android/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading