Sha256: 3c79c54fe5da8931b048189faea2603de2907b52861b337331adcc48ac2e8e96
Contents?: true
Size: 451 Bytes
Versions: 22
Compression:
Stored size: 451 Bytes
Contents
import "leaflet" import "src/decidim/vendor/leaflet-tilelayer-here" /** * 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) => { L.tileLayer.here(mapConfig.tileLayer).addTo(map); }); });
Version data entries
22 entries across 22 versions & 1 rubygems