From 6a783667118fdc46772f704af2875cc9fb4b6e4f Mon Sep 17 00:00:00 2001 From: Alfakhori <muhammad.alfakhori@hft-stuttgart.de> Date: Thu, 29 Aug 2024 10:34:17 +0000 Subject: [PATCH] Update public/data/pins.csv, public/index2.html --- public/data/pins.csv | 5 +++-- public/index2.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/public/data/pins.csv b/public/data/pins.csv index 3a59ba6..430fa6d 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 9e90054..26bfd4e 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) { -- GitLab