show icons in popup

This commit is contained in:
Tykayn 2024-12-16 12:20:00 +01:00 committed by tykayn
parent 614fd9b6ac
commit 48ec1f554a
4 changed files with 28 additions and 5 deletions

View file

@ -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+=' <img class="icon-img" src="img/socket_type2.svg" alt="prise de type 2">'
popupContent+=' <img class="icon-img" src="img/Type2_socket.svg" alt="prise de type 2">'
if(type2!=='yes'){
popupContent+= '<span class="socket-counter">x '+type2+'</span>'
}