Closed cmkimber closed 3 months ago
This is now resolved. Map popups are now handled with a call to addPopups()
inside the observeEvent()
call which tracks changes in both map-click and dropdown inputs via district_input_filter()
, so the popup updates with any change in either input. The formatting of popup text is now handled by a global function that is executed with a change in input.
At present, the map popup is triggered in the
renderLeaflet()
call but is not linked to the reactive valuedistrict_input_filter()
. As a result, it appears when the map is clicked to select a district but not when a district is selected with theselectInput()
. The popup needs to be responsive toobserveEvent()
calls involvingdistrict_input_filter()
.