Browse Source

laanc 상세맵 거리표출 텍스트 수정

pull/2/head
junh_eee(이준희) 12 months ago
parent
commit
3603c71fab
  1. 4
      src/utility/DrawUtil.js

4
src/utility/DrawUtil.js

@ -50,7 +50,9 @@ export const handlerGetMidPoint = (dis1, dis2) => {
// html Content 반환
export const handlerGetHtmlContent = distance => {
const text =
typeof distance === 'number' ? fromMetersToText(distance) : distance;
typeof distance === 'number'
? '거리 ' + fromMetersToText(distance)
: distance;
return (
'<div style="display:inline-block;padding:5px;text-align:center;background-color:#fff;border:1px solid #000;font-size:13px;color:#ff0000;"><span>' +

Loading…
Cancel
Save