fix(security): upgrade Node and MapLibre runtimes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import "maplibre-gl/dist/maplibre-gl.css";
|
||||
|
||||
import maplibregl, { type Map as MapLibreMap, type MapSourceDataEvent } from "maplibre-gl";
|
||||
import * as maplibregl from "maplibre-gl";
|
||||
import type { Map as MapLibreMap, MapSourceDataEvent } from "maplibre-gl";
|
||||
import { useEffect, useRef, useState, type RefObject } from "react";
|
||||
import { env } from "@/shared/config/env";
|
||||
import type { DetailFeature } from "../types";
|
||||
@@ -128,7 +129,7 @@ export function useWorkbenchMap({
|
||||
pitch: 0,
|
||||
bearing: 0,
|
||||
maxZoom: MAP_MAX_ZOOM,
|
||||
preserveDrawingBuffer: true,
|
||||
canvasContextAttributes: { preserveDrawingBuffer: true },
|
||||
attributionControl: false
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user