Browse Source

맵타입 변경시 거리측정 초기화

master
김장현 2 months ago
parent
commit
105a9153ae
  1. 4
      src/containers/flight/OperationApprovalsContainer.js

4
src/containers/flight/OperationApprovalsContainer.js

@ -490,7 +490,7 @@ export default function OperationApprovalsContainer({ mode }) {
const handlerMapTypeChange = val => {
// dispatch(clientChangeDrawType(''));
drawObj.changeMode('simple_select');
handlerDistanceClose();
setMapType(val);
};
@ -575,7 +575,7 @@ export default function OperationApprovalsContainer({ mode }) {
})
.setLngLat([i.coord[0][0].toFixed(6), i.coord[0][1].toFixed(6)])
.setHTML(
`<div style="color:#000000;font-weight:400;">${i.text}</div>`
`<div style="color:#000000;font-weight:400;padding:2.5px;user-select:none">${i.text}</div>`
)
.addTo(mapInstance);

Loading…
Cancel
Save