IvanSanchez / Leaflet.Marker.Stack

A client-side implementation of CartoDB's "stacked chips" symbolizer
43 stars 5 forks source link

bindPopup does not work #6

Open nekromoff opened 2 years ago

nekromoff commented 2 years ago

It does not seem to work: L.marker.stack([48.1452853,17.0980958], { icons: [L.icon.chip({ color: "#ffffbf", iconSize: 10 }), L.icon.chip({ color: "#ffffbf", iconSize: 10 }), L.icon.chip({ color: "#a2a27b", iconSize: 10 }), ], stackOffset: [0, -5] }).addTo(map).bindPopup("<h2>231/7491</h2>CO2:0<br>CO2H:0<br>CO2T:0<br>P1:31<br>P10:37<br>P25:35<br>P4:36<br>PAX:0<br>alt:0<br>dsl:SENSIRION<br>hum:61.799999237061<br>lat:48.1452853<br>lon:17.0980958<br>main:0<br>pdist:1857<br>pre:0<br>spd:3<br>timestamp:1646380298<br>tmp:0.20000000298023<br>type:air<br>file_id:231<br>");

IvanSanchez commented 2 years ago

Please write this as a bug report rather than as a question.