Map styling app project

As mentioned in one of my other posts Carto’s careers page has a number of coding tests, and I have been working through a few of them.

Recently I have had a go at create a small application for stying data.

The most important rules were:

  • For the application itself, you CAN’T use any JS framework. Use vanilla JavaScript.
  • For rendering the map you CAN use any map library out there (Leaflet, D3, Google Maps,…)

My solution is built using vanilla JavaScript and Leaflet and you can check it out at: https://colinrossiv.github.io/stylingapp.

I kept the controls relatively simple and few, I think it demonstrates the principles, and these could be applied to any number of the feature appearance attributes.

For fun I took on one of the bonus points suggestions and made an implementation of a kind of chloropleth map.

I plan to add some more to this post about some of the choices and decisions I made in my code, but I was keen to get this post up so I can share it first.