diff --git a/bower.json b/bower.json index 08c7250..c4652f5 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "eon-map", - "version": "0.2.8", + "version": "0.2.9", "homepage": "https://github.com/pubnub/eon-map", "authors": [ "Ian Jennings " diff --git a/examples/custom_keys.html b/examples/custom_keys.html index eb7d60a..3cc1806 100644 --- a/examples/custom_keys.html +++ b/examples/custom_keys.html @@ -17,8 +17,8 @@ } - - + + diff --git a/examples/distributed.html b/examples/distributed.html index 634b948..516d4a1 100644 --- a/examples/distributed.html +++ b/examples/distributed.html @@ -17,8 +17,8 @@ } - - + + diff --git a/examples/simple.html b/examples/simple.html index 081e4d8..ad33673 100644 --- a/examples/simple.html +++ b/examples/simple.html @@ -17,8 +17,8 @@ } - - + + diff --git a/examples/transform.html b/examples/transform.html index f9baf1e..125d8d6 100644 --- a/examples/transform.html +++ b/examples/transform.html @@ -17,8 +17,8 @@ } - - + + diff --git a/pubnub-mapbox.js b/pubnub-mapbox.js index 3ed14d8..3c70359 100644 --- a/pubnub-mapbox.js +++ b/pubnub-mapbox.js @@ -87,10 +87,7 @@ eon.m = { clog('Markers:', 'Updating'); for(var key in seed) { - - seed[key].latlng[0] = parseFloat(seed[key].latlng[0].toFixed(5)); - seed[key].latlng[1] = parseFloat(seed[key].latlng[1].toFixed(5)); - + if(!self.markers.hasOwnProperty(key)) { var data = seed[key].data || {};