Skip to content

Commit

Permalink
debug for mible
Browse files Browse the repository at this point in the history
  • Loading branch information
bvandercar-vt committed Jun 20, 2024
1 parent d488d21 commit f2fabc6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ geoJsons.forEach((geoJson) => {
}
feature.on('mouseover', createPopover)
feature.on('click', createPopover)
feature.on('mouseout', function () {
if (layerPopup) {
map.closePopup(layerPopup)
layerPopup = null
}
feature.setStyle(lineStyle)
})
// feature.on('mouseout', function () {
// if (layerPopup) {
// map.closePopup(layerPopup)
// layerPopup = null
// }
// feature.setStyle(lineStyle)
// })
})

const numRoutes = geoJsons.length
Expand Down

0 comments on commit f2fabc6

Please sign in to comment.