Added space to vehicle info pin
This commit is contained in:
@ -147,7 +147,7 @@
|
|||||||
if (!markers[takR]) {
|
if (!markers[takR]) {
|
||||||
markers[takR] = L.marker(markerPosition, {
|
markers[takR] = L.marker(markerPosition, {
|
||||||
icon: L.icon({ iconUrl: iconUrl })
|
icon: L.icon({ iconUrl: iconUrl })
|
||||||
}).bindPopup(`<b>Line:</b> ${lineR}<br><b>TAK:</b> ${takR}<br><b>Vehicle info:</b>${vehicleTypeR}`)
|
}).bindPopup(`<b>Line:</b> ${lineR}<br><b>TAK:</b> ${takR}<br><b>Vehicle info:</b> ${vehicleTypeR}`)
|
||||||
.addTo(map);
|
.addTo(map);
|
||||||
} else {
|
} else {
|
||||||
markers[takR].setLatLng(markerPosition);
|
markers[takR].setLatLng(markerPosition);
|
||||||
|
Reference in New Issue
Block a user