The map does not center properly when the reset() is called multiple times quickly
Expected behavior
The map should always center to show all the visible markers
What's happening?
When I filter a map where the markers are grouped in n
categories, the renderDOM
function is called n
times. After each one, a reset
is called to center the map. It seems that the last call is not always taken into account.
Steps to reproduce
Go here: https://preview.faabrick-cherdet.happy-dev.fr/ . The map is centered on the world
- Change FAA filter to "Coopérative d'activité et d'emploi"
- Change FAA filter back to "-". The map centers to France, it should be on the world
- Library version: 0.10