function map(feature, layer) {
var name = feature.properties.name;
var desc = feature.properties.description;
var urla = desc.match(/\[\[(.+)\]\]/g);
var url;
if (urla !== null){
url = urla[0].substr(2, urla[0].length-4);
}
layer.bindPopup(`<h3>${name}</h3><p>${desc.replace(/\n/g, '<br>').replace(/\[\[(.+)\]\]/g, `<a href=\"${url}\">${url}</a>`)}</p>`);
var Layer = desc.split("\n")[0];
return L.divIcon({
html: '',
className:'marker',
iconSize: [10, 10]
}),
console.log(Layer);
}
Lumap.load("mymap", "sakata.umap", map);