diff --git a/src/components/MapIcons.tsx b/src/components/MapIcons.tsx
index 4faefb1..e7d1602 100644
--- a/src/components/MapIcons.tsx
+++ b/src/components/MapIcons.tsx
@@ -1,6 +1,7 @@
import React from 'react';
import moment from "moment";
import { formatPublicKey } from '../lib/meshcore';
+import { getNameIconLabel } from '../lib/meshcore-map-nodeutils';
type NodePosition = {
node_id: string;
@@ -40,7 +41,9 @@ export function NodeMarker({ node, showNodeNames = true }: NodeMarkerProps) {
return (
{showNodeNames && node.short_name && (
-
{node.short_name}
+
+ {node.type === "meshcore" ? getNameIconLabel(node.name || node.short_name) : node.short_name}
+
)}
@@ -147,7 +150,7 @@ export function PopupContent({ node }: PopupContentProps) {
ID: {node.type === "meshcore" ? formatPublicKey(node.node_id) : node.node_id}
Full Name: {node.name ?? "-"}
-
Short Name: {node.short_name ?? "-"}
+
Short Name: {node.type === "meshcore" && node.short_name ? getNameIconLabel(node.name || node.short_name) : (node.short_name ?? "-")}
Type: {node.type ?? "-"}
Lat: {node.latitude}
Lng: {node.longitude}