Browse Source

UI: Fixed updated marker tooltip function in map widgets

pull/3935/head
Vladyslav_Prykhodko 6 years ago
parent
commit
5186c756ce
  1. 2
      ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts

2
ui-ngx/src/app/modules/home/components/widget/lib/maps/leaflet-map.ts

@ -581,10 +581,10 @@ export default abstract class LeafletMap {
const marker: Marker = this.markers.get(key);
const location = this.convertPosition(data);
marker.updateMarkerPosition(location);
marker.setDataSources(data, dataSources);
if (settings.showTooltip) {
marker.updateMarkerTooltip(data);
}
marker.setDataSources(data, dataSources);
marker.updateMarkerIcon(settings);
return marker;
}

Loading…
Cancel
Save