From f3a46ab7c9bdd8f831956b9c18fac7886f62ee22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=BDdila?= Date: Tue, 22 Aug 2023 18:36:34 +0200 Subject: [PATCH] updated dependencies and fixed bundling svelte resources --- .gitignore | 1 + README.md | 10 ++- package-lock.json | 204 +++++++++++++++++++++++----------------------- package.json | 33 ++++---- 4 files changed, 124 insertions(+), 124 deletions(-) diff --git a/.gitignore b/.gitignore index c3cc726..201f053 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ node_modules dist dist.svelte *.local +.svelte-kit # Editor directories and files .vscode/* diff --git a/README.md b/README.md index f8263fa..af53dcf 100644 --- a/README.md +++ b/README.md @@ -315,17 +315,19 @@ export function App() { ## Svelte component -In addition to using the component as MapLibre GL JS or Leaflet Control it is also possible to use it stand-alone in Svelte projects with or without MapLibre GL JS or Leaflet integration. +In addition to using the component as MapLibre GL JS, Leaflet or OpenLayers control it is also possible to use it stand-alone in Svelte projects with or without MapLibre GL JS, Leaflet or OpenLayers integration. Component API matches API described above where options and events are exposed as component properties and methods are callable on the component reference. +Remember to import files from `@maptiler/geocoding-control/svelte/...`. + ### Example for integration with MapLibre GL JS ```svelte