CartoDB / carto-react-template

CARTO for React. The best way to develop Location Intelligence (LI) Apps usign CARTO platform and React
https://sample-app-react.carto.com
MIT License
39 stars 26 forks source link

Use the GeoJsonLayer instead of the CartoLayer in sample-app-3 template #346

Closed borja-munoz closed 2 years ago

borja-munoz commented 2 years ago

The CartoLayer only works with dynamic tiles so feature dropping can happen at lower zoom levels. If feature dropping happens, the widgets linked to the same source are not going to work. If we want the widgets to work at all zoom levels, we need to fetch the data in GeoJSON format and then use the GeoJsonLayer intead of the CartoLayer.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
cra-template-carto ✅ Ready (Inspect) Visit Preview Jul 7, 2022 at 6:43PM (UTC)