|
|
|
@ -61,13 +61,23 @@ export const workingPointSymbolLayer = {
|
|
|
|
type: "symbol",
|
|
|
|
type: "symbol",
|
|
|
|
layout: {
|
|
|
|
layout: {
|
|
|
|
"icon-image": "logo",
|
|
|
|
"icon-image": "logo",
|
|
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"], 3, 0, 9, 0.3, 13, 0.5],
|
|
|
|
"icon-size": ["interpolate", ["linear"], ["zoom"], 3, 0, 9, 0.1, 13, 0.7],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
paint: {
|
|
|
|
paint: {
|
|
|
|
"icon-color": "#E63941",
|
|
|
|
"icon-color": "#E63941",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
};
|
|
|
|
export const workingPointBackgroundLayer = { ...getPointConfig("#FFF", 10) };
|
|
|
|
|
|
|
|
|
|
|
|
const workingBgColor = "#ffffff";
|
|
|
|
|
|
|
|
const workingBgSize = 16;
|
|
|
|
|
|
|
|
export const workingPointBackgroundLayer = {
|
|
|
|
|
|
|
|
...getPointConfig(workingBgColor, workingBgSize),
|
|
|
|
|
|
|
|
paint: {
|
|
|
|
|
|
|
|
...getPointConfig(workingBgColor, workingBgSize).paint,
|
|
|
|
|
|
|
|
"circle-stroke-width": 0.4,
|
|
|
|
|
|
|
|
"circle-stroke-color": "#252525",
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|
|
|
|
export const cancelledPointLayer = getPointConfig(CANCELLED_COLOR);
|
|
|
|
export const cancelledPointLayer = getPointConfig(CANCELLED_COLOR);
|
|
|
|
export const pvzPointLayer = getPointConfig(PVZ_COLOR);
|
|
|
|
export const pvzPointLayer = getPointConfig(PVZ_COLOR);
|
|
|
|
export const otherPostamatesLayer = getPointConfig(OTHER_POSTAMATES_COLOR);
|
|
|
|
export const otherPostamatesLayer = getPointConfig(OTHER_POSTAMATES_COLOR);
|
|
|
|
|