체류중 배지 기존 체류 도형 재사용
This commit is contained in:
+1
-19
@@ -2244,26 +2244,8 @@ function createCurrentStayIcon(text) {
|
||||
'pointer-events:none',
|
||||
'transform:translate(-50%,-82px)'
|
||||
].join(';');
|
||||
const badgeStyle = [
|
||||
'display:inline-flex',
|
||||
'align-items:center',
|
||||
'justify-content:center',
|
||||
'min-width:120px',
|
||||
'height:30px',
|
||||
'padding:0 10px',
|
||||
'border:2px solid #fff',
|
||||
'border-radius:999px',
|
||||
'background:rgba(28,28,30,.9)',
|
||||
'color:#fff',
|
||||
'box-shadow:0 4px 14px rgba(0,0,0,.28)',
|
||||
'box-sizing:border-box',
|
||||
'font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif',
|
||||
'font-size:12px',
|
||||
'font-weight:800',
|
||||
'white-space:nowrap'
|
||||
].join(';');
|
||||
return {
|
||||
content: `<div class="current-stay-badge-wrap" style="${wrapStyle}"><div class="current-stay-badge" style="${badgeStyle}">${text}</div></div>`,
|
||||
content: `<div class="current-stay-badge-wrap" style="${wrapStyle}"><div class="history-marker history-marker-stay current-stay-badge">${text}</div></div>`,
|
||||
anchor: new naver.maps.Point(0, 0)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user