mirror of
https://forge.chapril.org/tykayn/libre-charge-map
synced 2025-06-20 01:34:43 +02:00
show icons in popup
This commit is contained in:
parent
614fd9b6ac
commit
48ec1f554a
4 changed files with 28 additions and 5 deletions
|
@ -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>'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue