- [MAP] 사용자 추가 표시 우선순위 하향. 클러스터 숫자 색깔도 변경.
This commit is contained in:
Hyojin Ahn 2026-06-09 09:15:21 -04:00
parent 9caa02c2b4
commit 70e7d288f7
1 changed files with 3 additions and 2 deletions

View File

@ -1776,7 +1776,7 @@ function popup(){
var clusterer = null;
var clusterInfoGlobal = null;
var typeOrder = { "#FF0000": 1, "#800080": 2, "#FF80FF": 3, "#7B7A7A": 4 }; // Request > Scheduled > Normal > Finished
var typeOrder = { "#FF0000": 1, "#800080": 2, "#FF80FF": 3, "#FFFDD5": 4, "#7B7A7A": 5 }; // Request > Scheduled > Normal > Normal(driver add) > Finished
var rstInqPoint = function(json) {
if (clusterInfoGlobal) {
@ -1945,6 +1945,7 @@ function popup(){
const topColor = markers[0]?.property?.color || "#4285f4";
const size = Math.min(50, 30 + Math.log(count) * 10);
const textColor = (String(topColor).toUpperCase() === "#FFFDD5") ? "#000" : "#fff";
return new google.maps.Marker({
position,
@ -1956,7 +1957,7 @@ function popup(){
<circle cx="15" cy="15" r="13"
fill="${topColor}" />
<text x="15" y="20" text-anchor="middle"
font-size="12" fill="#fff">${count}</text>
font-size="12" fill="${textColor}">${count}</text>
</svg>
`),
scaledSize: new google.maps.Size(30, 30),