Skip to content

Instantly share code, notes, and snippets.

View Crashillo's full-sized avatar

Hugoren Martinako Crashillo

View GitHub Profile
@Crashillo
Crashillo / README.md
Created April 17, 2017 18:44
Frontend CARTO test

Frontend CARTO test

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.

Issues found

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.