Skip to content

Commit

Permalink
minor limit rendering fix (patch)
Browse files Browse the repository at this point in the history
  • Loading branch information
codeofsumit committed Mar 17, 2020
1 parent 18a31bb commit 7583c73
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/js/Mixins/MarkerLimits.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 7583c73

Please sign in to comment.