google-maps-react-markers 1.0.5 → 1.0.6
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/README.md +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,9 +7,10 @@ The library implements [Google Maps Custom Overlays](https://developers.google.c
|
|
|
7
7
|
|
|
8
8
|
[](https://www.npmjs.com/package/google-maps-react-markers) [](https://standardjs.com)
|
|
9
9
|
|
|
10
|
-
**If you like this library, please consider
|
|
10
|
+
**If you like this library, please consider supporting me ❤️**
|
|
11
11
|
|
|
12
|
-
[](https://www.buymeacoffee.com/giorgiabosello)
|
|
13
|
+
[](https://www.paypal.me/giorgiabosello)
|
|
13
14
|
|
|
14
15
|
## Install
|
|
15
16
|
|
|
@@ -46,6 +47,7 @@ const App = () => {
|
|
|
46
47
|
|
|
47
48
|
return (
|
|
48
49
|
<>
|
|
50
|
+
{mapReady && <div>Map is ready. See for logs in developer console.</div>}
|
|
49
51
|
<GoogleMap
|
|
50
52
|
defaultCenter={{ lat: 45.4046987, lng: 12.2472504 }}
|
|
51
53
|
defaultZoom={5}
|
|
@@ -58,7 +60,6 @@ const App = () => {
|
|
|
58
60
|
<Marker key={index} lat={lat} lng={lng} markerId={name} onClick={onMarkerClick} />
|
|
59
61
|
))}
|
|
60
62
|
</GoogleMap>
|
|
61
|
-
{mapReady && alert("Map is ready")}
|
|
62
63
|
</>
|
|
63
64
|
);
|
|
64
65
|
};
|