diff --git a/dist/recline.js b/dist/recline.js
index f8636498..238ab5a4 100644
--- a/dist/recline.js
+++ b/dist/recline.js
@@ -2779,7 +2779,7 @@ my.Map = Backbone.View.extend({
var mapUrl = "http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png";
var osmAttribution = 'Map data © 2011 OpenStreetMap contributors, Tiles Courtesy of MapQuest
';
- var bg = new L.TileLayer(mapUrl, {maxZoom: 18, attribution: osmAttribution ,subdomains: '1234'});
+ var bg = new L.TileLayer(mapUrl, {maxZoom: 18, attribution: osmAttribution, subdomains: '1234'});
this.map.addLayer(bg);
this.features = new L.GeoJSON();
@@ -2790,7 +2790,6 @@ my.Map = Backbone.View.extend({
if (e.properties && e.properties.cid){
e.layer.cid = e.properties.cid;
}
-
});
// This will be available in the next Leaflet stable release.
diff --git a/src/view.map.js b/src/view.map.js
index 21e44a50..e3ce4ef2 100644
--- a/src/view.map.js
+++ b/src/view.map.js
@@ -163,9 +163,11 @@ my.Map = Backbone.View.extend({
if (!(docs instanceof Array)) docs = [docs];
+ //var markerCluster = new L.MarkerClusterGroup();
+
var count = 0;
var wrongSoFar = 0;
- _.every(docs,function(doc){
+ _.every(docs, function(doc){
count += 1;
var feature = self._getGeometryFromRecord(doc);
if (typeof feature === 'undefined' || feature === null){
@@ -174,7 +176,7 @@ my.Map = Backbone.View.extend({
} else if (feature instanceof Object){
// Build popup contents
// TODO: mustache?
- html = ''
+ html = '';
for (key in doc.attributes){
if (!(self.state.get('geomField') && key == self.state.get('geomField'))){
html += '