Right now the hover effect on the bus stops is done through the Mapbox api and the mouseMove event – could be replaced with CSS (:hover styling) and a custom marker for both performance and customization reasons. The cursors can also be changed to pointers via CSS instead of JS, over both the buses and the stops.
Right now the hover effect on the bus stops is done through the Mapbox api and the mouseMove event – could be replaced with CSS (:hover styling) and a custom marker for both performance and customization reasons. The cursors can also be changed to pointers via CSS instead of JS, over both the buses and the stops.