@maptiler/geocoding-control 2.1.6 → 2.1.7
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 +6 -0
- package/leaflet.js +1494 -1467
- package/leaflet.js.map +1 -1
- package/leaflet.umd.js +3 -3
- package/leaflet.umd.js.map +1 -1
- package/maplibregl.d.ts +1 -1
- package/maplibregl.js +1686 -1659
- package/maplibregl.js.map +1 -1
- package/maplibregl.umd.js +3 -3
- package/maplibregl.umd.js.map +1 -1
- package/maptilersdk.js +1687 -1660
- package/maptilersdk.js.map +1 -1
- package/maptilersdk.umd.js +3 -3
- package/maptilersdk.umd.js.map +1 -1
- package/openlayers.js +1584 -1557
- package/openlayers.js.map +1 -1
- package/openlayers.umd.js +3 -3
- package/openlayers.umd.js.map +1 -1
- package/package.json +5 -4
- package/react.js +900 -873
- package/react.js.map +1 -1
- package/react.umd.js +7 -7
- package/react.umd.js.map +1 -1
- package/style.css +1 -1
- package/svelte/GeocodingControl.svelte +15 -13
- package/svelte/GeocodingControl.svelte.d.ts +1 -1
- package/svelte/LoadingIcon.svelte +2 -2
- package/svelte/MapLibreBasedGeocodingControl.js +1 -1
- package/svelte/info.json +1 -1
- package/svelte/maplibregl.d.ts +1 -1
- package/svelte/types.d.ts +1 -1
- package/types.d.ts +1 -1
- package/vanilla.js +840 -813
- package/vanilla.js.map +1 -1
- package/vanilla.umd.js +5 -5
- package/vanilla.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -36,6 +36,12 @@ Geocoding control is also provided as [React component](https://docs.maptiler.co
|
|
|
36
36
|
|
|
37
37
|
Install the Geocoding control unsing `npm`:
|
|
38
38
|
|
|
39
|
+
**⚠️ Warning! ⚠️**
|
|
40
|
+
|
|
41
|
+
The current version of Geocoding Control is only compatible with Svelte v4, this will potentially cause peer dependency issues when installing with certain versions of npm in Svelte projects (eg if you're using Svelte v5), or if you intend to import the Svelte component directly.
|
|
42
|
+
|
|
43
|
+
If you are using a this library in a Svelte project you can npm install with `--force` or `--legacy-peer-deps` and use only the **pre-compiled `GeoLocatControl` vanilla module**, not the Svelte component.
|
|
44
|
+
|
|
39
45
|
```shell
|
|
40
46
|
npm install --save @maptiler/geocoding-control @maptiler/sdk
|
|
41
47
|
```
|