I am very new to Leaflet and coding and I am having some problems creating a map.
I have been able to create a map showing all my points but I would like to be to be able to distinguish between all different types of cheese via toggleable layers.
I have tried to use the solution shown in Leaflet: How to create toggleable overlays from a single GeoJSON FeatureCollection?, with no success.
This is my test JSFiddle, could you tel me what I am doing wrong?
Also I have all the Geodata saved in a cheese_map.geojson, that I would like to refer to in the javaScript rather than having 1000 lines of it.
I have managed to progress on this creating individual layers for each cheese type and using different icons as markers.