Add POI to layer toggles

This commit is contained in:
Pyro Nicampt committed 2024-12-28 22:12:02 -06:00
1 parent 62a1072a65
commit cd77240401
3 files changed
+28 -2

No files matched your search

+1 -1
View File
@@ -557,7 +557,7 @@ function addPoi(poi, level = 0){
poiIcon.setAttribute('href', '#mrk_landmark');
poiDisplay.setAttribute('fill', '#af5757');
poiTooltip.innerHTML = poi.name ?? 'Unknown Landmark';
poiLayers.service.prepend(poiElement);
poiLayers.landmarks.prepend(poiElement);
poiElement.classList.add('minZoomCull_1');
break;
case 'shop':