From e16759125306791abfa0dc9312d0965bd6ce491c Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Wed, 12 Sep 2012 00:50:20 +0100 Subject: [PATCH] Updated documentation and tutorials --- _includes/recline-deps.html | 6 ++++++ docs/tutorial-views.markdown | 6 ++++++ download.markdown | 1 + src/view.map.js | 2 -- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/_includes/recline-deps.html b/_includes/recline-deps.html index ad926765..1a72adb7 100644 --- a/_includes/recline-deps.html +++ b/_includes/recline-deps.html @@ -2,6 +2,11 @@ + + + @@ -22,6 +27,7 @@ + diff --git a/docs/tutorial-views.markdown b/docs/tutorial-views.markdown index 32865631..9fbdfe74 100644 --- a/docs/tutorial-views.markdown +++ b/docs/tutorial-views.markdown @@ -193,10 +193,16 @@ library and the Recline Map view: + + + + {% endhighlight %} diff --git a/download.markdown b/download.markdown index efcabc9e..db8a7e67 100644 --- a/download.markdown +++ b/download.markdown @@ -79,6 +79,7 @@ Optional dependencies: * [Mustache.js](https://github.com/janl/mustache.js/) >= 0.5.0-dev (required for all views) * [JQuery Flot](http://code.google.com/p/flot/) >= 0.7 (required for for graph view) * [Leaflet](http://leaflet.cloudmade.com/) >= 0.4.4 (required for map view) +* [Leaflet.markercluster](https://github.com/danzel/Leaflet.markercluster) as of 2012-09-12 (required for marker clustering) * [Verite Timeline](https://github.com/VeriteCo/Timeline/) as of 2012-05-02 (required for the timeline view) * [Bootstrap](http://twitter.github.com/bootstrap/) >= v2.0 (default option for CSS and UI JS but you can use your own) diff --git a/src/view.map.js b/src/view.map.js index c43aaaa8..97a25fea 100644 --- a/src/view.map.js +++ b/src/view.map.js @@ -404,8 +404,6 @@ my.Map = Backbone.View.extend({ return marker; } }); - //this.map.addLayer(this.features); - //this.map.addLayer(this.markers); this.map.setView([0, 0], 2);