Skip to content

Commit 29975a4

Browse files
committed
Updated react-leaflet v4 usage
1 parent 896abef commit 29975a4

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
[![Coverage Status](https://coveralls.io/repos/github/aviklai/react-leaflet-google-layer/badge.svg?branch=master)](https://coveralls.io/github/aviklai/react-leaflet-google-layer?branch=master)
33
[![npm version](https://img.shields.io/npm/v/react-leaflet-google-layer.svg)](https://www.npmjs.com/package/react-leaflet-google-layer)
44

5-
Google layer for React Leaflet v3 using leaflet.gridlayer.googlemutant, implemented with typescript.
5+
Google layer for React Leaflet v3 and v4 using leaflet.gridlayer.googlemutant, implemented with typescript.
66

77
## Requirements
8-
The current version of this library supports React Leaflet v3. <br/>
8+
The current version of this library supports React Leaflet v3 and v4. <br/>
99
If you are using React Leaflet v2, please use the previous version of this library. Please see the documentation here: <br/>
1010
https://github.com/aviklai/react-leaflet-google-layer/tree/v1
1111

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
"google",
3434
"googlemutant",
3535
"typescript",
36-
"react-leaflet-v3"
36+
"react-leaflet-v3",
37+
"react-leaflet-v4"
3738
],
3839
"author": "",
3940
"license": "MIT",

0 commit comments

Comments
 (0)