diff --git a/public/data/pins.csv b/public/data/pins.csv index 3a59ba6917c2654a5f20a458cf25cd8f6cc37be7..430fa6dfc2b5af6524a757ccdab33ba5a0e01cf4 100644 --- a/public/data/pins.csv +++ b/public/data/pins.csv @@ -1,2 +1,3 @@ -lat,lng,name,color -48.773330,9.181970,Muhammad's first study area,#0000ff +lat,lng,name,color,marker_type +48.773330,9.181970,Muhammad's first study area,#0000ff,type1 +48.780000,9.175000,Another study area,#ff0000,type2 \ No newline at end of file diff --git a/public/index2.html b/public/index2.html index 9e9005495ad744bb1a016af6fa2a424bfd3f1dc7..26bfd4e795d505cad197e2a58ca8445f82a26048 100644 --- a/public/index2.html +++ b/public/index2.html @@ -42,7 +42,7 @@ // Function to load pins from CSV and add them to the map function loadPins() { console.log("Attempting to load CSV file..."); - Papa.parse('pins.csv', { + Papa.parse('https://transfer.hft-stuttgart.de/gitlab/hire-promotionskolleg-team/study-areas-maps/-/raw/master/public/data/pins.csv', { download: true, header: true, complete: function(results) {