Vanilla solution to styling CARTO data application. The map library behind is Leaflet. Due to performance purposes, the Leaflet plugin Leaflet.markercluster is also included, optionally selected by the user.
The big problem here was to render all the data from the SQL query, as contains a lot of information useless for this exercise. So, a simplified query brings the following fields:
- the_geom: Latlng values (mandatory).
- name: Marker name.