diff --git a/src/map.js b/src/map.js index b11ec40da9..46ad82c1b3 100644 --- a/src/map.js +++ b/src/map.js @@ -1704,6 +1704,7 @@ var map = function (arg) { * with other settings applied. */ function fix_zoom(zoom, ignoreDiscreteZoom) { + zoom = Math.round(zoom * 1e6) / 1e6; zoom = Math.max( Math.min( m_validZoomRange.max, diff --git a/src/pointFeature.js b/src/pointFeature.js index c065c59546..17a6dd2c56 100644 --- a/src/pointFeature.js +++ b/src/pointFeature.js @@ -143,7 +143,6 @@ var pointFeature = function (arg) { // prevent recomputing the clustering and set the new data array m_ignoreData = true; m_this.data(data); - m_this.draw(); }; ////////////////////////////////////////////////////////////////////////////