ITDP / atlas

The frontend code for the Atlas of Urban Transport
MIT License
0 stars 0 forks source link

Keep selected object highlighted #8

Closed kauebraga closed 2 years ago

kauebraga commented 2 years ago

Right now, when you hover a object (a city, for example) it highlights the objects so the user knows they can click on it. It would nice to keep the object highlighted when the user clicks, but there is no native functionality to do that using the leaflet r package. May have to do a workaround using a observerEvent

kauebraga commented 2 years ago

Done at 53b2b5a12bd2e72c09ac4df60ffe4dac2b8ce2ba