Svelte component

In addition to using the component as MapTiler SDK control or any other map library control, it is also possible to use it stand-alone in Svelte projects with or without MapTiler SDK, MapLibre GL JS, Leaflet, etc. integration.

Component API matches API Reference where options and events are exposed as component properties and methods are callable on the component reference.

Examples

MapTiler SDK JS geocoding control how to search places using Svelte

MapLibre GL JS geocoding control how to search places using Svelte