diff --git a/package-lock.json b/package-lock.json index 1fac276..fc015f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-leaflet-google-layer", - "version": "2.0.4", + "version": "2.0.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/index.ts b/src/index.ts index 382e37a..c60176d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,7 +1,7 @@ import * as React from 'react'; import * as L from 'leaflet'; import { createLayerComponent, updateGridLayer, LeafletContextInterface, LayerProps } from '@react-leaflet/core'; -import 'leaflet.gridlayer.googlemutant'; +import 'leaflet.gridlayer.googlemutant/dist/Leaflet.GoogleMutant'; import { Loader, LoaderOptions } from '@googlemaps/js-api-loader';