Adjust other points color and size

dev
Platon Yasev 3 years ago
parent e34a77c815
commit ac5b86f4d6

@ -17,7 +17,7 @@ export const CANCELLED_COLOR = "#CC2222";
export const APPROVE_COLOR = "#ff7d00"; export const APPROVE_COLOR = "#ff7d00";
export const WORKING_COLOR = "#006e01"; export const WORKING_COLOR = "#006e01";
export const UNMATCHED_COLOR = "#b4b4b4"; export const UNMATCHED_COLOR = "#b4b4b4";
export const PVZ_COLOR = "#da11b2"; export const PVZ_COLOR = "#3f5be8";
export const OTHER_POSTAMATES_COLOR = "#26a2a2"; export const OTHER_POSTAMATES_COLOR = "#26a2a2";
const DEFAULT_POINT_CONFIG = { const DEFAULT_POINT_CONFIG = {
@ -58,8 +58,8 @@ export const unmatchInitialPointLayer = getPointConfig(
export const approvePointLayer = getPointConfig(APPROVE_COLOR); export const approvePointLayer = getPointConfig(APPROVE_COLOR);
export const workingPointLayer = getPointConfig(WORKING_COLOR); export const workingPointLayer = getPointConfig(WORKING_COLOR);
export const cancelledPointLayer = getPointConfig(CANCELLED_COLOR); export const cancelledPointLayer = getPointConfig(CANCELLED_COLOR);
export const pvzPointLayer = getPointConfig(PVZ_COLOR, 4); export const pvzPointLayer = getPointConfig(PVZ_COLOR);
export const otherPostamatesLayer = getPointConfig(OTHER_POSTAMATES_COLOR, 4); export const otherPostamatesLayer = getPointConfig(OTHER_POSTAMATES_COLOR);
const regionColor = "#676767"; const regionColor = "#676767";

@ -10,8 +10,6 @@ import { Spin } from "antd";
export const WorkingPointsFilters = ({ fullRange, isFullRangeLoading }) => { export const WorkingPointsFilters = ({ fullRange, isFullRangeLoading }) => {
const { filters, setRegion, clear } = useWorkingPointsFilters(); const { filters, setRegion, clear } = useWorkingPointsFilters();
console.log(fullRange);
const activeDynamicFilters = getDynamicActiveFilters(filters, fullRange, [ const activeDynamicFilters = getDynamicActiveFilters(filters, fullRange, [
"deltaTraffic", "deltaTraffic",
"factTraffic", "factTraffic",

Loading…
Cancel
Save