Vizzuality/gfw — pull request #619 by pdgago (2014-07-08 11:47:46+00:00)
Title: Refactor/layers

- All layers added except the forestChange layers and stories layer.

- CartoDB layers are added to the map as the others (with mapoverlay), so we can go back to have the add/remove layer on MapView.

- All layer class have a getLayer() method which return a deferred object with the layer (this works nice with cartodb layers).

- No tests here, i just changed some views.