Commit 5186c756ce6971b5162e7286f43c4d08b79a84b5
1 parent
949d2837
UI: Fixed updated marker tooltip function in map widgets
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -581,10 +581,10 @@ export default abstract class LeafletMap { | @@ -581,10 +581,10 @@ export default abstract class LeafletMap { | ||
581 | const marker: Marker = this.markers.get(key); | 581 | const marker: Marker = this.markers.get(key); |
582 | const location = this.convertPosition(data); | 582 | const location = this.convertPosition(data); |
583 | marker.updateMarkerPosition(location); | 583 | marker.updateMarkerPosition(location); |
584 | + marker.setDataSources(data, dataSources); | ||
584 | if (settings.showTooltip) { | 585 | if (settings.showTooltip) { |
585 | marker.updateMarkerTooltip(data); | 586 | marker.updateMarkerTooltip(data); |
586 | } | 587 | } |
587 | - marker.setDataSources(data, dataSources); | ||
588 | marker.updateMarkerIcon(settings); | 588 | marker.updateMarkerIcon(settings); |
589 | return marker; | 589 | return marker; |
590 | } | 590 | } |