Closed eregnier closed 6 years ago
Hi there. I noticed that your markers are repainted many times when the map is under dragging. in fact, the following code:
this.div.innerHTML = this.get('text').toString(); div.style.zIndex = this.get('zIndex'); // Allow label to overlay marker div.style.position = 'absolute'; div.style.display = 'block';
in the labelDraw method in the map-icon.js file is very perf killer. It should be interesting for weaker devices to implement a kind of debounce method that would repaint markers lately.
deprecated project.
Hi there. I noticed that your markers are repainted many times when the map is under dragging. in fact, the following code:
in the labelDraw method in the map-icon.js file is very perf killer. It should be interesting for weaker devices to implement a kind of debounce method that would repaint markers lately.