You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// /!\ black magic warning : dynamic leaflet import// to avoid importing it twice in the pagevarL:typeofimport("leaflet/index");varmarkerIcon;if(window.L==undefined){import("leaflet").then((theLeaflet)=>{L=theLeaflet;window.L=L;import('leaflet.markercluster');markerIcon=L.icon({iconUrl:require("leaflet/dist/images/marker-icon.png"),shadowUrl: require("leaflet/dist/images/marker-shadow.png")});});}else{L=window.L;import('leaflet.markercluster');markerIcon=L.icon({iconUrl:require("leaflet/dist/images/marker-icon.png"),shadowUrl: require("leaflet/dist/images/marker-shadow.png")});}// /!\ end blackmagic
The text was updated successfully, but these errors were encountered:
This kind of thing:
The text was updated successfully, but these errors were encountered: