From 7583c737fcb08adccf802c83d4d1319ce3b70428 Mon Sep 17 00:00:00 2001 From: Sumit Kumar Date: Tue, 17 Mar 2020 18:57:58 +0100 Subject: [PATCH] minor limit rendering fix (patch) --- src/js/Mixins/MarkerLimits.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/js/Mixins/MarkerLimits.js b/src/js/Mixins/MarkerLimits.js index a37d9461..8a54ffb2 100644 --- a/src/js/Mixins/MarkerLimits.js +++ b/src/js/Mixins/MarkerLimits.js @@ -53,11 +53,7 @@ const MarkerLimits = { // all markers that we want to show const markersToAdd = [...makersNearCursor]; - if (markersToAdd.length < this.markerCache.length) { - // render the limited markers - this.renderLimits(markersToAdd); - } - + this.renderLimits(markersToAdd); }, _filterClosestMarkers(latlng) { const markers = [...this.markerCache];