Browse Source

남원 드론마커 표출

pull/2/head
이준희 1 year ago
parent
commit
0bd71b7062
  1. 3
      src/components/map/naver/dron/DronMarker.js

3
src/components/map/naver/dron/DronMarker.js

@ -177,7 +177,7 @@ export const DronMarker = props => {
const pal = controlGroupAuthInfo?.find( const pal = controlGroupAuthInfo?.find(
prev => prev.idntfNum === gps.objectId prev => prev.idntfNum === gps.objectId
); );
if (pal) { if (pal || id.includs('NAMWON')) {
markerOption.url = DronUamIcon; markerOption.url = DronUamIcon;
markerOption.type = 'DRONE'; markerOption.type = 'DRONE';
gpsCnt.type = 'drone'; gpsCnt.type = 'drone';
@ -588,7 +588,6 @@ export const DronMarker = props => {
if (arrInfos.filter(i => i._controlId === marker.controlId).length > 0) { if (arrInfos.filter(i => i._controlId === marker.controlId).length > 0) {
return; return;
} }
console.log(controlGpList[idx]);
infoInit(marker, controlGpList[idx], idx); infoInit(marker, controlGpList[idx], idx);
if (controlGpList.length != 0) { if (controlGpList.length != 0) {

Loading…
Cancel
Save