From 48ec1f554a2bf5cd06ccd561ca21f9d8f86694a6 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 16 Dec 2024 12:20:00 +0100 Subject: [PATCH] show icons in popup --- img/Type2_socket.svg | 26 ++++++++++++++++++++++++++ img/socket_type2.svg | 3 --- index.html | 2 +- js/main.js | 2 +- 4 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 img/Type2_socket.svg delete mode 100644 img/socket_type2.svg diff --git a/img/Type2_socket.svg b/img/Type2_socket.svg new file mode 100644 index 0000000..1f2a8ec --- /dev/null +++ b/img/Type2_socket.svg @@ -0,0 +1,26 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/img/socket_type2.svg b/img/socket_type2.svg deleted file mode 100644 index cdf2eb9..0000000 --- a/img/socket_type2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/index.html b/index.html index 992d5ff..c43f097 100644 --- a/index.html +++ b/index.html @@ -98,7 +98,7 @@ type2 prise - prise + prise prise prise diff --git a/js/main.js b/js/main.js index e247927..bc4154f 100644 --- a/js/main.js +++ b/js/main.js @@ -396,7 +396,7 @@ function displayPointsFromApi (points) { let type2 = feature.properties.tags['socket:type2'] let type2_combo = feature.properties.tags['socket:type2_combo'] if(type2){ - popupContent+=' prise de type 2' + popupContent+=' prise de type 2' if(type2!=='yes'){ popupContent+= 'x '+type2+'' }