Hello,
I have used react-simple-maps in the past with great results and little pain.
This time I am adapting some older code to a newer version of a site, where a dynamic, zoomable choropleth map is present. It uses a geojson of ~4MB. It seems that whenever I add a projection to the ComposableMap component (I have tried geoTimes, geoMercator from d3-geo-projection) the performances of the map sensibly drop. Is this normal?
Consider that in the earlier code, where the projection was added in the Geography component rather than in ComposableMap, the performances seem to be fine.
Hello, I have used react-simple-maps in the past with great results and little pain.
This time I am adapting some older code to a newer version of a site, where a dynamic, zoomable choropleth map is present. It uses a geojson of ~4MB. It seems that whenever I add a projection to the ComposableMap component (I have tried geoTimes, geoMercator from d3-geo-projection) the performances of the map sensibly drop. Is this normal?
Consider that in the earlier code, where the projection was added in the Geography component rather than in ComposableMap, the performances seem to be fine.