Skip to content

Commit ad92991

Browse files
format: fix typos
1 parent 5cf3ddf commit ad92991

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

content/docs/reactivesearch/v3/overview/reactivemaps-migration.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ sidebar: 'docs'
1212
nestedSidebar: 'web-reactivesearch'
1313
---
1414

15-
ReactiveMaps is rolled out with new features and easy to setup/ use setup. This guide talks about what's changed and how should a user be switching to the newest version without breaking things.
15+
ReactiveMaps 3.0.0 is published 🎉 with new features and is easier than ever to setup and use. This guide talks about what's changed and how should you as a user be switching to a 3.x stable version without breaking things.
1616

1717

18-
> Behind the scenes, we have switched from using the unmaintained `react-google-maps` to a maintained rewirte `@react-google-maps/api` library.
18+
> Behind the scenes, we have switched from using the unmaintained `react-google-maps` to a maintained rewrite in the `@react-google-maps/api` library.
1919
2020
## Script Loading
2121

@@ -27,7 +27,7 @@ Now, just pass the secret google key to the `ReactiveBase` wrapper component usi
2727
```html
2828
<html>
2929
<head>
30-
<script src="_GOOGLE_SCRIT_LINK"></script>
30+
<script src="_GOOGLE_SCRIPT_LINK"></script>
3131
</head>
3232
</html>
3333
```
@@ -40,8 +40,7 @@ Now, just pass the secret google key to the `ReactiveBase` wrapper component usi
4040
</ReactiveBase>
4141
```
4242

43-
Additionally, pass the `mapLibraries` prop to load additional google libraries like `places`, `visualization`, etc.
44-
The following are available according to [Google Docs](https://developers.google.com/maps/documentation/javascript/libraries):
43+
Additionally, pass the `mapLibraries` prop to load additional google libraries like `places`, `visualization`, and more. The following values can be set as per the [Google Maps API Docs](https://developers.google.com/maps/documentation/javascript/libraries):
4544
- `drawing`
4645
- `geometry`
4746
- `localContext`
@@ -56,7 +55,7 @@ The following are available according to [Google Docs](https://developers.google
5655
/>
5756
```
5857

59-
> Mandatorily pass ***`mapLibraries={['places']}`*** when using either or both of GeoDistanceDropdown/ GeoDistanceSlider components from [ReactiveMaps 🗺️ ](https://docs.appbase.io/docs/reactivesearch/v3/overview/reactivemaps/).
58+
> It's required to pass ***`mapLibraries={['places']}`*** when using either GeoDistanceDropdown or GeoDistanceSlider components from [ReactiveMaps 🗺️ ](https://docs.appbase.io/docs/reactivesearch/v3/overview/reactivemaps/).
6059
6160
## Component API changes
6261

@@ -83,7 +82,7 @@ The following are available according to [Google Docs](https://developers.google
8382
render={(props) => {
8483
const
8584
{
86-
data: hits, // parased hits
85+
data: hits, // parsed hits
8786
loading,
8887
error,
8988
promotedData,
@@ -113,7 +112,7 @@ The following are available according to [Google Docs](https://developers.google
113112
}
114113
```
115114
116-
2. `renderData` changes to `renderItem` prop.
115+
2. `renderData` changes to `renderItem` prop
117116
- before
118117
119118
```jsx
@@ -129,4 +128,4 @@ The following are available according to [Google Docs](https://developers.google
129128
renderItem={result => ({
130129
custom: (<div>{result.mag}</div>),
131130
})}
132-
```
131+
```

0 commit comments

Comments
 (0)