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.
Files changed (2) hide show
  1. package/README.md +4 -3
  2. 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
  [![NPM](https://img.shields.io/npm/v/google-maps-react-markers.svg)](https://www.npmjs.com/package/google-maps-react-markers) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
9
9
 
10
- **If you like this library, please consider to support me ❤️**
10
+ **If you like this library, please consider supporting me ❤️**
11
11
 
12
- [![Buy me a 🍺](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](https://www.paypal.me/giorgiabosello)
12
+ [![Buy me a Coffee](https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge&logo=buy-me-a-coffee&logoColor=black)](https://www.buymeacoffee.com/giorgiabosello)
13
+ [![PayPal](https://img.shields.io/badge/PayPal-00457C?style=for-the-badge&logo=paypal&logoColor=white)](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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "google-maps-react-markers",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Google Maps library with markers as react components",
5
5
  "author": "Giorgia Bosello",
6
6
  "license": "MIT",