Pulled colours out into variables, woo sass
Updated readme
Switched position of google maps client load request, in order to avoid unnessary script requests on pages without google maps
Changed routes to allow for leaflet map page
Created leaflet view and map_leaflet partial, in order to allow the display of a leaflet version of the map
Added controller action, finishing off the 'server-side' stuff that I need to implement before sorting out the leaflet map itself
Bundle updated to tweak rspec and ensure that shoulda matchers were working.

Added conditional statements to the various map javascripts to ensure they would not run if the appropriate selector was not present on the page.

Added basic leaflet map to the leaflet page
Placed the conditional statements for selector existence WITHIN the document ready calls, so that they actually worked as intended.

Created overlayLeaflet file
Added map-leaflet selector to CSS for map selector. Created leaflet styles css in case that is needed
Attempted to modularise the JS but was having problems with the ordering of when variables were declared and defined. As such, all the Leaflet code is now plugged into the same anonymous function, which is sad.

Displaying the unstyled data on the map, woo.
Added url and thumbnail to the response object, so that the client has that information to use.
Added two icon constructors and manually tested them out

Set minZoom to 8.

Expanded create marker layer function to cover two use cases. Conditional statement needs some work

Added test-case for data. So API is working as expected.

Added event listener for zoomend event on the map and created a function that displayed different layers depending on zoom level
Added wave of scripts/stylesheets in order to get markerCluster up and running
Changed the thumbnail marker layer to cluster. Preeetty simple really. Customising might prove tricky.

Shifted script calls to ensure leaflet rocked up before markerCluster.

Slight logic change to createMarkerLayer to dry it up
Implemented ugly basic heatmap. Styling required.

Deleted example thumbnail

Added leaflet-heat plugin to html
Messed around with gradient and blur options for heatmap. Still ugly.

Removed console.logs
Updated readme

Thought really hard about autocomplete and cried a little because I couldn't abstract it away easily.

Continued to mess with the gradient of the heatmap (blurgh) and tweaked the random image collector.
Switched back to production url
Merge pull request #26 from thomasgwatson/leaflet

Leaflet