I've got a large dataset comprised of about 10k points representing gas stations. Some of these gas stations sell diesel fuel, others do not.
In my web map, I want to let the user switch between viewing all gas stations and just the ones that sell diesel fuel. Moreover, I need the points to be interactive (i.e. popups with individual data).
I am trying to find a suitable technique for accomplishing this with Leaflet and Mapbox. But I can't seem to find a method with an acceptable loading time. I just need someone to point me in the right direction here. Any help is greatly appreciated!
This map from NPR is kind of what I'm striving for, but with the added ability to switch between states. That is, removing and adding points based on their attributes.