absolute path martin

dev
gman 10 months ago
parent 2add6f4d24
commit 36bd0c2790

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/index.html vendored

@ -5,7 +5,7 @@
<link href="/favicon.ico" rel="icon"/> <link href="/favicon.ico" rel="icon"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PostNet by Spatial</title> <title>PostNet by Spatial</title>
<script type="module" crossorigin src="/assets/index.b030c1fc.js"></script> <script type="module" crossorigin src="/assets/index.3a8d818d.js"></script>
<link rel="stylesheet" href="/assets/index.c34137ad.css"> <link rel="stylesheet" href="/assets/index.c34137ad.css">
</head> </head>
<body> <body>

@ -1,12 +1,12 @@
import { useEffect } from "react";
import { Source } from "react-map-gl"; import { Source } from "react-map-gl";
import { BASE_URL, useSourceLayerName } from "../../api"; import { useSourceLayerName } from "../../api";
import { useUpdateLayerCounter } from "../../stores/useUpdateLayerCounter"; import { useUpdateLayerCounter } from "../../stores/useUpdateLayerCounter";
import { PendingPoints } from "./PendingPoints"; import { CancelledPoints } from "./CancelledPoints";
import { FilteredWorkingPoints } from "./FilteredWorkingPoints";
import { OnApprovalPoints } from "./OnApprovalPoints"; import { OnApprovalPoints } from "./OnApprovalPoints";
import { PendingPoints } from "./PendingPoints";
import { WorkingPoints } from "./WorkingPoints"; import { WorkingPoints } from "./WorkingPoints";
import { FilteredWorkingPoints } from "./FilteredWorkingPoints";
import { CancelledPoints } from "./CancelledPoints";
import { useEffect } from "react";
export const Points = () => { export const Points = () => {
const { updateCounter, toggleUpdateCounter, updatePVZLayer } = useUpdateLayerCounter(); const { updateCounter, toggleUpdateCounter, updatePVZLayer } = useUpdateLayerCounter();
@ -22,7 +22,7 @@ export const Points = () => {
type="vector" type="vector"
key={`points-${updateCounter}-${updatePVZLayer}`} key={`points-${updateCounter}-${updatePVZLayer}`}
tiles={[ tiles={[
`${BASE_URL}/martin/${layer}/{z}/{x}/{y}.pbf`, `https://postamates.spatialsystems.ru/martin/${layer}/{z}/{x}/{y}.pbf`,
]} ]}
> >
<PendingPoints /> <PendingPoints />

Loading…
Cancel
Save