riku
2025-02-24 d83a3ab6e99e364d45cf85a5c00367c583ef4e31
src/views/satellitetelemetry/SatelliteProxy.js
@@ -51,8 +51,19 @@
}
function clearText(mapViews) {
  if (mapViews && typeof mapViews.textViews === 'object') {
    map.remove(mapViews.textViews);
  if (mapViews) {
    if (typeof mapViews.dataTxt === 'object') {
      map.remove(mapViews.dataTxt);
    }
    if (typeof mapViews.dataLayer === 'object') {
      map.remove(mapViews.dataLayer);
    }
    if (typeof mapViews.rankTxt === 'object') {
      map.remove(mapViews.rankTxt);
    }
    if (typeof mapViews.rankLayer === 'object') {
      map.remove(mapViews.rankLayer);
    }
  }
}