diff --git a/js/main.js b/js/main.js index 428ed51..caa0f2f 100644 --- a/js/main.js +++ b/js/main.js @@ -17,33 +17,33 @@ fetch('data/classified.geojson') if (feature.properties.Class_name === 'Tree/Leaves') { popupContent = `

Leaves

- +
`; } else if (feature.properties.Class_name === 'Pumpkins') { popupContent = `

Pumpkin

- +
`; } else if (feature.properties.Class_name === 'Grass Block') { popupContent = `

Grass Block

- +
`; } else if (feature.properties.Class_name === 'Sand') { popupContent = `

Sand

- +
`; } else if (feature.properties.Class_name === 'Stone/Gravel') { popupContent = ``; } else if (feature.properties.Class_name === 'Water') { popupContent = `

Water

- +
`; } currentLayer = layer; @@ -71,4 +71,4 @@ fetch('data/classified.geojson') return { color: 'transparent', fillColor: 'transparent' }; } }).addTo(map); -}); \ No newline at end of file +});