Sha256: c2abb91e3e6e03e17c92db1a922f7b5cfb9a71b5ee38bbcc87e401372f39ba21
Contents?: true
Size: 439 Bytes
Versions: 22
Compression:
Stored size: 439 Bytes
Contents
/** * NOTE: * This has to load before decidim/map in order for it to apply correctly when * the map is initialized. The document.ready handler set by this script has to * be registered before decidim/map registers its own. */ $(() => { $("[data-decidim-map]").on("configure.decidim", (_ev, map, mapConfig) => { const tilesConfig = mapConfig.tileLayer; L.tileLayer(tilesConfig.url, tilesConfig.options).addTo(map); }); });
Version data entries
22 entries across 22 versions & 1 rubygems