diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..91eda10 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +#ディレクトリを問わず.DS_Storeは含めない +.DS_Store +#ディレクトリを問わず._で始まるファイルは含めない +._* +#ディレクトリを問わず~で終わるファイルは含めない +*\~ + +\#*\# +*.dvi +*.aux +*.log +*.toc +*.blg +*.bbl diff --git a/unus.js b/unus.js index 2f1a3a9..9b5740f 100644 --- a/unus.js +++ b/unus.js @@ -54,6 +54,9 @@ return feature.properties; }, icon: toriIcon, + pointToLayer: function(feature, latlng) { + return L.marker(latlng, {icon: toriIcon}); + }, onEachFeature: function(j, layer) { let p = j.properties; if (p) {