var Jsonmap = L.map("jsonmap").setView([38.891, 139.824], 16); L.tileLayer( '//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors' }).addTo(Jsonmap); var gj = L.geoJson(triangle, { style: function (feature) { return feature.properties; } }); L.control.layers(null, {"Triangle": gj}).addTo(Jsonmap);