mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Maps] update to maplibre 3.1.0 (#161032)
maplibre change log https://github.com/maplibre/maplibre-gl-js/blob/main/CHANGELOG.md#310 Breaking changes that required fixes * 3.0.0 Remove "mapbox-gl-supported" package from API. If needed, please reference it directly instead of going through MapLibre. (https://github.com/maplibre/maplibre-gl-js/pull/2451) * 3.0.0 Resize map when container element is resized. The "resize"-related events now has different data associated with it (https://github.com/maplibre/maplibre-gl-js/pull/2157, https://github.com/maplibre/maplibre-gl-js/issues/2551). Previously the originalEvent field was the reason of this change, for example it could be a resize event from the browser. Now it is ResizeObserverEntry, see more [here](https://developer.mozilla.org/en-US/docs/web/api/resizeobserverentry). * 2.2.0 Improve filter specification typings (https://github.com/maplibre/maplibre-gl-js/pull/1390) --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
61590efbdc
commit
9509425349
11 changed files with 127 additions and 89 deletions
|
@ -756,6 +756,7 @@
|
|||
"@mapbox/geojson-rewind": "^0.5.0",
|
||||
"@mapbox/mapbox-gl-draw": "1.3.0",
|
||||
"@mapbox/mapbox-gl-rtl-text": "0.2.3",
|
||||
"@mapbox/mapbox-gl-supported": "2.0.1",
|
||||
"@mapbox/vector-tile": "1.3.1",
|
||||
"@opentelemetry/api": "^1.1.0",
|
||||
"@opentelemetry/api-metrics": "^0.31.0",
|
||||
|
@ -878,7 +879,7 @@
|
|||
"luxon": "^2.5.2",
|
||||
"lz-string": "^1.4.4",
|
||||
"mapbox-gl-draw-rectangle-mode": "1.0.4",
|
||||
"maplibre-gl": "2.1.9",
|
||||
"maplibre-gl": "3.1.0",
|
||||
"markdown-it": "^12.3.2",
|
||||
"md5": "^2.1.0",
|
||||
"mdast-util-to-hast": "10.0.1",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.vgaVis {
|
||||
.mapboxgl-canvas-container {
|
||||
.maplibregl-canvas-container {
|
||||
cursor: auto;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -336,7 +336,7 @@ export class MvtVectorLayer extends AbstractVectorLayer {
|
|||
// When there are no join results, return a filter that hides all features
|
||||
// work around for 'match' with empty array not filtering out features
|
||||
// This filter always returns false because features will never have `__kbn_never_prop__` property
|
||||
const hideAllFilter = ['has', '__kbn_never_prop__'];
|
||||
const hideAllFilter = ['has', '__kbn_never_prop__'] as FilterSpecification;
|
||||
|
||||
if (!joinPropertiesMap) {
|
||||
return hideAllFilter;
|
||||
|
|
|
@ -18,7 +18,6 @@ import {
|
|||
} from '@elastic/eui';
|
||||
import { maplibregl, Map as MapboxMap } from '@kbn/mapbox-gl';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { ResizeChecker } from '@kbn/kibana-utils-plugin/public';
|
||||
import { CUSTOM_ICON_PIXEL_RATIO, createSdfIcon } from '../../symbol_utils';
|
||||
|
||||
export interface Props {
|
||||
|
@ -35,7 +34,6 @@ interface State {
|
|||
|
||||
export class IconPreview extends Component<Props, State> {
|
||||
static iconId = `iconPreview`;
|
||||
private _checker?: ResizeChecker;
|
||||
private _isMounted = false;
|
||||
private _containerRef: HTMLDivElement | null = null;
|
||||
|
||||
|
@ -61,9 +59,6 @@ export class IconPreview extends Component<Props, State> {
|
|||
|
||||
componentWillUnmount() {
|
||||
this._isMounted = false;
|
||||
if (this._checker) {
|
||||
this._checker.destroy();
|
||||
}
|
||||
if (this.state.map) {
|
||||
this.state.map.remove();
|
||||
this.state.map = null;
|
||||
|
@ -115,15 +110,6 @@ export class IconPreview extends Component<Props, State> {
|
|||
map.setLayoutProperty('icon-layer', 'icon-size', 12);
|
||||
}
|
||||
|
||||
_initResizerChecker() {
|
||||
this._checker = new ResizeChecker(this._containerRef!);
|
||||
this._checker.on('resize', () => {
|
||||
if (this.state.map) {
|
||||
this.state.map.resize();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
_createMapInstance(): MapboxMap {
|
||||
const map = new maplibregl.Map({
|
||||
container: this._containerRef!,
|
||||
|
@ -171,9 +157,7 @@ export class IconPreview extends Component<Props, State> {
|
|||
_initializeMap() {
|
||||
const map: MapboxMap = this._createMapInstance();
|
||||
|
||||
this.setState({ map }, () => {
|
||||
this._initResizerChecker();
|
||||
});
|
||||
this.setState({ map });
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
|
@ -46,7 +46,7 @@ function getFilterExpression(
|
|||
]);
|
||||
}
|
||||
|
||||
return ['all', ...allFilters];
|
||||
return ['all', ...allFilters] as FilterSpecification;
|
||||
}
|
||||
|
||||
export function getFillFilterExpression(
|
||||
|
@ -91,7 +91,7 @@ const IS_POINT_FEATURE = [
|
|||
'any',
|
||||
['==', ['geometry-type'], GEO_JSON_TYPE.POINT],
|
||||
['==', ['geometry-type'], GEO_JSON_TYPE.MULTI_POINT],
|
||||
];
|
||||
] as FilterSpecification;
|
||||
|
||||
export function getPointFilterExpression(
|
||||
isSourceGeoJson: boolean,
|
||||
|
|
|
@ -12,7 +12,7 @@ import { Feature, Geometry, Position } from 'geojson';
|
|||
import { i18n } from '@kbn/i18n';
|
||||
// @ts-expect-error
|
||||
import * as jsts from 'jsts';
|
||||
import type { Map as MbMap, MapMouseEvent, PointLike } from '@kbn/mapbox-gl';
|
||||
import type { FilterSpecification, Map as MbMap, MapMouseEvent, PointLike } from '@kbn/mapbox-gl';
|
||||
import { getToasts } from '../../../../kibana_services';
|
||||
import { DrawControl } from '../draw_control';
|
||||
import { DRAW_MODE, DRAW_SHAPE } from '../../../../../common/constants';
|
||||
|
@ -105,7 +105,7 @@ export class DrawFeatureControl extends Component<Props, {}> {
|
|||
] as [PointLike, PointLike];
|
||||
const selectedFeatures = this.props.mbMap.queryRenderedFeatures(mbBbox, {
|
||||
layers: mbEditLayerIds,
|
||||
filter: ['all', EXCLUDE_CENTROID_FEATURES],
|
||||
filter: ['all', EXCLUDE_CENTROID_FEATURES] as FilterSpecification,
|
||||
});
|
||||
if (!selectedFeatures.length) {
|
||||
return;
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
|
||||
import _ from 'lodash';
|
||||
import React, { Component } from 'react';
|
||||
import { supported as maplibreglSupported } from '@mapbox/mapbox-gl-supported';
|
||||
import { Adapters } from '@kbn/inspector-plugin/public';
|
||||
import { Filter } from '@kbn/es-query';
|
||||
import { Action, ActionExecutionContext } from '@kbn/ui-actions-plugin/public';
|
||||
import { maplibregl } from '@kbn/mapbox-gl';
|
||||
import type { Map as MapboxMap, MapOptions, MapMouseEvent } from '@kbn/mapbox-gl';
|
||||
import { ResizeChecker } from '@kbn/kibana-utils-plugin/public';
|
||||
import { METRIC_TYPE } from '@kbn/analytics';
|
||||
import { DrawFilterControl } from './draw_control/draw_filter_control';
|
||||
import { ScaleControl } from './scale_control';
|
||||
|
@ -85,7 +85,6 @@ interface State {
|
|||
}
|
||||
|
||||
export class MbMap extends Component<Props, State> {
|
||||
private _checker?: ResizeChecker;
|
||||
private _isMounted: boolean = false;
|
||||
private _containerRef: HTMLDivElement | null = null;
|
||||
private _prevCustomIcons?: CustomIcon[];
|
||||
|
@ -110,9 +109,6 @@ export class MbMap extends Component<Props, State> {
|
|||
|
||||
componentWillUnmount() {
|
||||
this._isMounted = false;
|
||||
if (this._checker) {
|
||||
this._checker.destroy();
|
||||
}
|
||||
if (this.state.mbMap) {
|
||||
this.state.mbMap.remove();
|
||||
this.state.mbMap = undefined;
|
||||
|
@ -239,7 +235,6 @@ export class MbMap extends Component<Props, State> {
|
|||
|
||||
this.setState({ mbMap }, () => {
|
||||
this._loadMakiSprites(mbMap);
|
||||
this._initResizerChecker();
|
||||
this._registerMapEventListeners(mbMap);
|
||||
this.props.onMapReady(this._getMapExtentState());
|
||||
});
|
||||
|
@ -284,19 +279,11 @@ export class MbMap extends Component<Props, State> {
|
|||
}
|
||||
}
|
||||
|
||||
_initResizerChecker() {
|
||||
this.state.mbMap?.resize(); // ensure map is sized for container prior to monitoring
|
||||
this._checker = new ResizeChecker(this._containerRef!);
|
||||
this._checker.on('resize', () => {
|
||||
this.state.mbMap?.resize();
|
||||
});
|
||||
}
|
||||
|
||||
_reportUsage() {
|
||||
const usageCollector = getUsageCollection();
|
||||
if (!usageCollector) return;
|
||||
|
||||
const webglSupport = maplibregl.supported();
|
||||
const webglSupport = maplibreglSupported();
|
||||
|
||||
usageCollector.reportUiCounter(
|
||||
APP_ID,
|
||||
|
@ -305,7 +292,7 @@ export class MbMap extends Component<Props, State> {
|
|||
);
|
||||
|
||||
// Report low system performance or no hardware GPU
|
||||
if (webglSupport && !maplibregl.supported({ failIfMajorPerformanceCaveat: true })) {
|
||||
if (webglSupport && !maplibreglSupported({ failIfMajorPerformanceCaveat: true })) {
|
||||
usageCollector.reportUiCounter(APP_ID, METRIC_TYPE.LOADED, 'gl_majorPerformanceCaveat');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -237,7 +237,6 @@ export class TileStatusTracker extends Component<Props> {
|
|||
// Tile meta will never have duplicated features since by their nature, tile meta is a feature contained within a single tile
|
||||
const mbFeatures = this.props.mbMap.querySourceFeatures(layer.getMbSourceId(), {
|
||||
sourceLayer: ES_MVT_META_LAYER_NAME,
|
||||
filter: [],
|
||||
});
|
||||
|
||||
const features = mbFeatures
|
||||
|
|
|
@ -29,7 +29,7 @@ exports[`Embedded Map it renders 1`] = `
|
|||
min-height: 0;
|
||||
}
|
||||
|
||||
.c0.c0.c0 .mapboxgl-canvas {
|
||||
.c0.c0.c0 .maplibregl-canvas {
|
||||
-webkit-animation: none !important;
|
||||
animation: none !important;
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ const EmbeddedPanel = styled.div`
|
|||
z-index: 1;
|
||||
min-height: 0; // Absolute must for Firefox to scroll contents
|
||||
}
|
||||
&&& .mapboxgl-canvas {
|
||||
&&& .maplibregl-canvas {
|
||||
animation: none !important;
|
||||
}
|
||||
`;
|
||||
|
|
159
yarn.lock
159
yarn.lock
|
@ -5973,7 +5973,7 @@
|
|||
resolved "https://registry.yarnpkg.com/@mapbox/geojson-normalize/-/geojson-normalize-0.0.1.tgz#1da1e6b3a7add3ad29909b30f438f60581b7cd80"
|
||||
integrity sha1-HaHms6et060pkJsw9Dj2BYG3zYA=
|
||||
|
||||
"@mapbox/geojson-rewind@^0.5.0", "@mapbox/geojson-rewind@^0.5.1":
|
||||
"@mapbox/geojson-rewind@^0.5.0":
|
||||
version "0.5.1"
|
||||
resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.5.1.tgz#adbe16dc683eb40e90934c51a5e28c7bbf44f4e1"
|
||||
integrity sha512-eL7fMmfTBKjrb+VFHXCGv9Ot0zc3C0U+CwXo1IrP+EPwDczLoXv34Tgq3y+2mPSFNVUXgU42ILWJTC7145KPTA==
|
||||
|
@ -5981,6 +5981,14 @@
|
|||
get-stream "^6.0.1"
|
||||
minimist "^1.2.5"
|
||||
|
||||
"@mapbox/geojson-rewind@^0.5.2":
|
||||
version "0.5.2"
|
||||
resolved "https://registry.yarnpkg.com/@mapbox/geojson-rewind/-/geojson-rewind-0.5.2.tgz#591a5d71a9cd1da1a0bf3420b3bea31b0fc7946a"
|
||||
integrity sha512-tJaT+RbYGJYStt7wI3cq4Nl4SXxG8W7JDG5DMJu97V25RnbNg3QtQtf+KD+VLjNpWKYsRvXDNmNrBgEETr1ifA==
|
||||
dependencies:
|
||||
get-stream "^6.0.1"
|
||||
minimist "^1.2.6"
|
||||
|
||||
"@mapbox/hast-util-table-cell-style@^0.1.3":
|
||||
version "0.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@mapbox/hast-util-table-cell-style/-/hast-util-table-cell-style-0.1.3.tgz#5b7166ae01297d72216932b245e4b2f0b642dca6"
|
||||
|
@ -5988,7 +5996,7 @@
|
|||
dependencies:
|
||||
unist-util-visit "^1.3.0"
|
||||
|
||||
"@mapbox/jsonlint-lines-primitives@^2.0.2":
|
||||
"@mapbox/jsonlint-lines-primitives@^2.0.2", "@mapbox/jsonlint-lines-primitives@~2.0.2":
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@mapbox/jsonlint-lines-primitives/-/jsonlint-lines-primitives-2.0.2.tgz#ce56e539f83552b58d10d672ea4d6fc9adc7b234"
|
||||
integrity sha1-zlblOfg1UrWNENZy6k1vya3HsjQ=
|
||||
|
@ -6011,7 +6019,7 @@
|
|||
resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-rtl-text/-/mapbox-gl-rtl-text-0.2.3.tgz#a26ecfb3f0061456d93ee8570dd9587d226ea8bd"
|
||||
integrity sha512-RaCYfnxULUUUxNwcUimV9C/o2295ktTyLEUzD/+VWkqXqvaVfFcZ5slytGzb2Sd/Jj4MlbxD0DCZbfa6CzcmMw==
|
||||
|
||||
"@mapbox/mapbox-gl-supported@^2.0.1":
|
||||
"@mapbox/mapbox-gl-supported@2.0.1":
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-2.0.1.tgz#c15367178d8bfe4765e6b47b542fe821ce259c7b"
|
||||
integrity sha512-HP6XvfNIzfoMVfyGjBckjiAOQK9WfX0ywdLubuPMPv+Vqf5fj0uCbgBQYpiqcWZT6cbyyRnTSXDheT1ugvF6UQ==
|
||||
|
@ -6021,10 +6029,10 @@
|
|||
resolved "https://registry.yarnpkg.com/@mapbox/point-geometry/-/point-geometry-0.1.0.tgz#8a83f9335c7860effa2eeeca254332aa0aeed8f2"
|
||||
integrity sha1-ioP5M1x4YO/6Lu7KJUMyqgru2PI=
|
||||
|
||||
"@mapbox/tiny-sdf@^2.0.4":
|
||||
version "2.0.5"
|
||||
resolved "https://registry.yarnpkg.com/@mapbox/tiny-sdf/-/tiny-sdf-2.0.5.tgz#cdba698d3d65087643130f9af43a2b622ce0b372"
|
||||
integrity sha512-OhXt2lS//WpLdkqrzo/KwB7SRD8AiNTFFzuo9n14IBupzIMa67yGItcK7I2W9D8Ghpa4T04Sw9FWsKCJG50Bxw==
|
||||
"@mapbox/tiny-sdf@^2.0.6":
|
||||
version "2.0.6"
|
||||
resolved "https://registry.yarnpkg.com/@mapbox/tiny-sdf/-/tiny-sdf-2.0.6.tgz#9a1d33e5018093e88f6a4df2343e886056287282"
|
||||
integrity sha512-qMqa27TLw+ZQz5Jk+RcwZGH7BQf5G/TrutJhspsca/3SHwmgKQ1iq+d3Jxz5oysPVYTGP6aXxCo5Lk9Er6YBAA==
|
||||
|
||||
"@mapbox/unitbezier@^0.0.1":
|
||||
version "0.0.1"
|
||||
|
@ -6043,6 +6051,20 @@
|
|||
resolved "https://registry.yarnpkg.com/@mapbox/whoots-js/-/whoots-js-3.1.0.tgz#497c67a1cef50d1a2459ba60f315e448d2ad87fe"
|
||||
integrity sha512-Es6WcD0nO5l+2BOQS4uLfNPYQaNDfbot3X1XUoloz+x0mPDS3eeORZJl06HXjwBG1fOGwCRnzK88LMdxKRrd6Q==
|
||||
|
||||
"@maplibre/maplibre-gl-style-spec@^19.2.1":
|
||||
version "19.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@maplibre/maplibre-gl-style-spec/-/maplibre-gl-style-spec-19.2.1.tgz#eb78211151b93f4f9c0cf6cb908133dab7a438dd"
|
||||
integrity sha512-ZVT5QlkVhlxlPav+ca0NO3Moc7EzbHDO2FXW4ic3Q0Vm+TDUw9I8A2EBws7xUUQZf7HQB3kQ+3Jsh5mFLRD4GQ==
|
||||
dependencies:
|
||||
"@mapbox/jsonlint-lines-primitives" "~2.0.2"
|
||||
"@mapbox/point-geometry" "^0.1.0"
|
||||
"@mapbox/unitbezier" "^0.0.1"
|
||||
"@types/mapbox__point-geometry" "^0.1.2"
|
||||
json-stringify-pretty-compact "^3.0.0"
|
||||
minimist "^1.2.8"
|
||||
rw "^1.3.3"
|
||||
sort-object "^3.0.3"
|
||||
|
||||
"@math.gl/core@3.5.6":
|
||||
version "3.5.6"
|
||||
resolved "https://registry.yarnpkg.com/@math.gl/core/-/core-3.5.6.tgz#d849db978d7d4a4984bb63868adc693975d97ce7"
|
||||
|
@ -8471,7 +8493,7 @@
|
|||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/geojson@*", "@types/geojson@^7946.0.10", "@types/geojson@^7946.0.8":
|
||||
"@types/geojson@*", "@types/geojson@^7946.0.10":
|
||||
version "7946.0.10"
|
||||
resolved "https://registry.yarnpkg.com/@types/geojson/-/geojson-7946.0.10.tgz#6dfbf5ea17142f7f9a043809f1cd4c448cb68249"
|
||||
integrity sha512-Nmh0K3iWQJzniTuPRcJn5hxXkfB1T1pgB89SBig5PlJQU5yocazeu4jATJlaA0GYFKWMqDdvYemoSnF2pXgLVA==
|
||||
|
@ -11806,6 +11828,21 @@ bytesish@^0.4.1:
|
|||
resolved "https://registry.yarnpkg.com/bytesish/-/bytesish-0.4.4.tgz#f3b535a0f1153747427aee27256748cff92347e6"
|
||||
integrity sha512-i4uu6M4zuMUiyfZN4RU2+i9+peJh//pXhd9x1oSe1LBkZ3LEbCoygu8W0bXTukU1Jme2txKuotpCZRaC3FLxcQ==
|
||||
|
||||
bytewise-core@^1.2.2:
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/bytewise-core/-/bytewise-core-1.2.3.tgz#3fb410c7e91558eb1ab22a82834577aa6bd61d42"
|
||||
integrity sha512-nZD//kc78OOxeYtRlVk8/zXqTB4gf/nlguL1ggWA8FuchMyOxcyHR4QPQZMUmA7czC+YnaBrPUCubqAWe50DaA==
|
||||
dependencies:
|
||||
typewise-core "^1.2"
|
||||
|
||||
bytewise@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/bytewise/-/bytewise-1.1.0.tgz#1d13cbff717ae7158094aa881b35d081b387253e"
|
||||
integrity sha512-rHuuseJ9iQ0na6UDhnrRVDh8YnWVlU6xM3VH6q/+yHDeUH2zIhUzP+2/h3LIrhLDBtTqzWpE3p3tP/boefskKQ==
|
||||
dependencies:
|
||||
bytewise-core "^1.2.2"
|
||||
typewise "^1.0.3"
|
||||
|
||||
cacache@^12.0.2:
|
||||
version "12.0.4"
|
||||
resolved "https://registry.yarnpkg.com/cacache/-/cacache-12.0.4.tgz#668bcbd105aeb5f1d92fe25570ec9525c8faa40c"
|
||||
|
@ -13221,11 +13258,6 @@ css@2.X, css@^2.2.1, css@^2.2.4:
|
|||
source-map-resolve "^0.5.2"
|
||||
urix "^0.1.0"
|
||||
|
||||
csscolorparser@~1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/csscolorparser/-/csscolorparser-1.0.3.tgz#b34f391eea4da8f3e98231e2ccd8df9c041f171b"
|
||||
integrity sha1-s085HupNqPPpgjHizNjfnAQfFxs=
|
||||
|
||||
cssesc@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
|
||||
|
@ -14514,10 +14546,10 @@ duplexify@^3.4.2, duplexify@^3.5.3:
|
|||
readable-stream "^2.0.0"
|
||||
stream-shift "^1.0.0"
|
||||
|
||||
earcut@^2.2.3:
|
||||
version "2.2.3"
|
||||
resolved "https://registry.yarnpkg.com/earcut/-/earcut-2.2.3.tgz#d44ced2ff5a18859568e327dd9c7d46b16f55cf4"
|
||||
integrity sha512-iRDI1QeCQIhMCZk48DRDMVgQSSBDmbzzNhnxIo+pwx3swkfjMh6vh0nWLq1NdvGHLKH6wIrAM3vQWeTj6qeoug==
|
||||
earcut@^2.2.4:
|
||||
version "2.2.4"
|
||||
resolved "https://registry.yarnpkg.com/earcut/-/earcut-2.2.4.tgz#6d02fd4d68160c114825d06890a92ecaae60343a"
|
||||
integrity sha512-/pjZsA1b4RPHbeWZQn66SWS8nZZWLQQ23oE3Eam7aroEFGEvwKAsJfZ9ytiEMycfzXWpca4FA9QIOehf7PocBQ==
|
||||
|
||||
ecc-jsbn@~0.1.1:
|
||||
version "0.1.2"
|
||||
|
@ -16788,7 +16820,7 @@ get-symbol-description@^1.0.0:
|
|||
call-bind "^1.0.2"
|
||||
get-intrinsic "^1.1.1"
|
||||
|
||||
get-value@^2.0.3, get-value@^2.0.6:
|
||||
get-value@^2.0.2, get-value@^2.0.3, get-value@^2.0.6:
|
||||
version "2.0.6"
|
||||
resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
|
||||
integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=
|
||||
|
@ -19873,7 +19905,7 @@ json-stringify-pretty-compact@1.2.0:
|
|||
resolved "https://registry.yarnpkg.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.2.0.tgz#0bc316b5e6831c07041fc35612487fb4e9ab98b8"
|
||||
integrity sha512-/11Pj1OyX814QMKO7K8l85SHPTr/KsFxHp8GE2zVa0BtJgGimDjXHfM3FhC7keQdWDea7+nXf+f1de7ATZcZkQ==
|
||||
|
||||
json-stringify-pretty-compact@~3.0.0:
|
||||
json-stringify-pretty-compact@^3.0.0, json-stringify-pretty-compact@~3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz#f71ef9d82ef16483a407869556588e91b681d9ab"
|
||||
integrity sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==
|
||||
|
@ -20016,10 +20048,10 @@ jws@^3.2.2:
|
|||
jwa "^1.4.1"
|
||||
safe-buffer "^5.0.1"
|
||||
|
||||
kdbush@^3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/kdbush/-/kdbush-3.0.0.tgz#f8484794d47004cc2d85ed3a79353dbe0abc2bf0"
|
||||
integrity sha512-hRkd6/XW4HTsA9vjVpY9tuXJYLSlelnkTmVFu4M9/7MIYQtFcHpbugAU7UbOfjOiVSVYl2fqgBuJ32JUmRo5Ew==
|
||||
kdbush@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/kdbush/-/kdbush-4.0.2.tgz#2f7b7246328b4657dd122b6c7f025fbc2c868e39"
|
||||
integrity sha512-WbCVYJ27Sz8zi9Q7Q0xHC+05iwkm3Znipc2XTlrnJbsHMYktW4hPhXUE8Ys1engBrvffoSCqbil1JQAa7clRpA==
|
||||
|
||||
kea@^2.4.2:
|
||||
version "2.4.2"
|
||||
|
@ -20877,32 +20909,33 @@ mapcap@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/mapcap/-/mapcap-1.0.0.tgz#e8e29d04a160eaf8c92ec4bcbd2c5d07ed037e5a"
|
||||
integrity sha512-KcNlZSlFPx+r1jYZmxEbTVymG+dIctf10WmWkuhrhrblM+KMoF77HelwihL5cxYlORye79KoR4IlOOk99lUJ0g==
|
||||
|
||||
maplibre-gl@2.1.9:
|
||||
version "2.1.9"
|
||||
resolved "https://registry.yarnpkg.com/maplibre-gl/-/maplibre-gl-2.1.9.tgz#042f3ef4224fa890ecf7a410145243f1fc943dcd"
|
||||
integrity sha512-pnWJmILeZpgA5QSI7K7xFK3yrkyYTd9srw3fCi2Ca52Phm78hsznPwUErEQcZLfxXKn/1h9t8IPdj0TH0NBNbg==
|
||||
maplibre-gl@3.1.0:
|
||||
version "3.1.0"
|
||||
resolved "https://registry.yarnpkg.com/maplibre-gl/-/maplibre-gl-3.1.0.tgz#68e73461f994f0d44378b121e026688962b5492f"
|
||||
integrity sha512-KFarVUUszCEucPwnGsFJtPMQBg/F6lg+SPDmTztKUD/n0YShETjIOdNmm5jpxacEX3+dq50MzlqDr6VH+RtDDA==
|
||||
dependencies:
|
||||
"@mapbox/geojson-rewind" "^0.5.1"
|
||||
"@mapbox/geojson-rewind" "^0.5.2"
|
||||
"@mapbox/jsonlint-lines-primitives" "^2.0.2"
|
||||
"@mapbox/mapbox-gl-supported" "^2.0.1"
|
||||
"@mapbox/point-geometry" "^0.1.0"
|
||||
"@mapbox/tiny-sdf" "^2.0.4"
|
||||
"@mapbox/tiny-sdf" "^2.0.6"
|
||||
"@mapbox/unitbezier" "^0.0.1"
|
||||
"@mapbox/vector-tile" "^1.3.1"
|
||||
"@mapbox/whoots-js" "^3.1.0"
|
||||
"@types/geojson" "^7946.0.8"
|
||||
"@maplibre/maplibre-gl-style-spec" "^19.2.1"
|
||||
"@types/geojson" "^7946.0.10"
|
||||
"@types/mapbox__point-geometry" "^0.1.2"
|
||||
"@types/mapbox__vector-tile" "^1.3.0"
|
||||
"@types/pbf" "^3.0.2"
|
||||
csscolorparser "~1.0.3"
|
||||
earcut "^2.2.3"
|
||||
earcut "^2.2.4"
|
||||
geojson-vt "^3.2.1"
|
||||
gl-matrix "^3.4.3"
|
||||
global-prefix "^3.0.0"
|
||||
kdbush "^4.0.2"
|
||||
murmurhash-js "^1.0.0"
|
||||
pbf "^3.2.1"
|
||||
potpack "^1.0.2"
|
||||
potpack "^2.0.0"
|
||||
quickselect "^2.0.0"
|
||||
supercluster "^7.1.4"
|
||||
supercluster "^8.0.1"
|
||||
tinyqueue "^2.0.3"
|
||||
vt-pbf "^3.1.3"
|
||||
|
||||
|
@ -23694,10 +23727,10 @@ postcss@^8.4.14:
|
|||
picocolors "^1.0.0"
|
||||
source-map-js "^1.0.2"
|
||||
|
||||
potpack@^1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/potpack/-/potpack-1.0.2.tgz#23b99e64eb74f5741ffe7656b5b5c4ddce8dfc14"
|
||||
integrity sha512-choctRBIV9EMT9WGAZHn3V7t0Z2pMQyl0EZE6pFc/6ml3ssw7Dlf/oAOvFwjm1HVsqfQN8GfeFyJ+d8tRzqueQ==
|
||||
potpack@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/potpack/-/potpack-2.0.0.tgz#61f4dd2dc4b3d5e996e3698c0ec9426d0e169104"
|
||||
integrity sha512-Q+/tYsFU9r7xoOJ+y/ZTtdVQwTWfzjbiXBDMM/JKUux3+QPP02iUuIoeBQ+Ot6oEDlC+/PGjB/5A3K7KKb7hcw==
|
||||
|
||||
preact-render-to-string@^5.1.19:
|
||||
version "5.1.19"
|
||||
|
@ -25751,7 +25784,7 @@ run-queue@^1.0.0, run-queue@^1.0.3:
|
|||
dependencies:
|
||||
aproba "^1.1.1"
|
||||
|
||||
rw@1:
|
||||
rw@1, rw@^1.3.3:
|
||||
version "1.3.3"
|
||||
resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4"
|
||||
integrity sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=
|
||||
|
@ -26482,11 +26515,33 @@ sonic-boom@^3.2.0:
|
|||
dependencies:
|
||||
atomic-sleep "^1.0.0"
|
||||
|
||||
sort-asc@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/sort-asc/-/sort-asc-0.2.0.tgz#00a49e947bc25d510bfde2cbb8dffda9f50eb2fc"
|
||||
integrity sha512-umMGhjPeHAI6YjABoSTrFp2zaBtXBej1a0yKkuMUyjjqu6FJsTF+JYwCswWDg+zJfk/5npWUUbd33HH/WLzpaA==
|
||||
|
||||
sort-desc@^0.2.0:
|
||||
version "0.2.0"
|
||||
resolved "https://registry.yarnpkg.com/sort-desc/-/sort-desc-0.2.0.tgz#280c1bdafc6577887cedbad1ed2e41c037976646"
|
||||
integrity sha512-NqZqyvL4VPW+RAxxXnB8gvE1kyikh8+pR+T+CXLksVRN9eiQqkQlPwqWYU0mF9Jm7UnctShlxLyAt1CaBOTL1w==
|
||||
|
||||
sort-object-keys@^1.1.3:
|
||||
version "1.1.3"
|
||||
resolved "https://registry.yarnpkg.com/sort-object-keys/-/sort-object-keys-1.1.3.tgz#bff833fe85cab147b34742e45863453c1e190b45"
|
||||
integrity sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==
|
||||
|
||||
sort-object@^3.0.3:
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/sort-object/-/sort-object-3.0.3.tgz#945727165f244af9dc596ad4c7605a8dee80c269"
|
||||
integrity sha512-nK7WOY8jik6zaG9CRwZTaD5O7ETWDLZYMM12pqY8htll+7dYeqGfEUPcUBHOpSJg2vJOrvFIY2Dl5cX2ih1hAQ==
|
||||
dependencies:
|
||||
bytewise "^1.1.0"
|
||||
get-value "^2.0.2"
|
||||
is-extendable "^0.1.1"
|
||||
sort-asc "^0.2.0"
|
||||
sort-desc "^0.2.0"
|
||||
union-value "^1.0.1"
|
||||
|
||||
sort-package-json@^1.53.1:
|
||||
version "1.53.1"
|
||||
resolved "https://registry.yarnpkg.com/sort-package-json/-/sort-package-json-1.53.1.tgz#8f2672b06314cf04d9a6bcefc75a5f38d600b811"
|
||||
|
@ -27295,12 +27350,12 @@ superagent@^3.8.2, superagent@^3.8.3:
|
|||
qs "^6.5.1"
|
||||
readable-stream "^2.3.5"
|
||||
|
||||
supercluster@^7.1.4:
|
||||
version "7.1.4"
|
||||
resolved "https://registry.yarnpkg.com/supercluster/-/supercluster-7.1.4.tgz#6762aabfd985d3390b49f13b815567d5116a828a"
|
||||
integrity sha512-GhKkRM1jMR6WUwGPw05fs66pOFWhf59lXq+Q3J3SxPvhNcmgOtLRV6aVQPMRsmXdpaeFJGivt+t7QXUPL3ff4g==
|
||||
supercluster@^8.0.1:
|
||||
version "8.0.1"
|
||||
resolved "https://registry.yarnpkg.com/supercluster/-/supercluster-8.0.1.tgz#9946ba123538e9e9ab15de472531f604e7372df5"
|
||||
integrity sha512-IiOea5kJ9iqzD2t7QJq/cREyLHTtSmUT6gQsweojg9WH2sYJqZK9SswTu6jrscO6D1G5v5vYZ9ru/eq85lXeZQ==
|
||||
dependencies:
|
||||
kdbush "^3.0.0"
|
||||
kdbush "^4.0.2"
|
||||
|
||||
superjson@^1.10.0:
|
||||
version "1.10.1"
|
||||
|
@ -28189,6 +28244,18 @@ typescript@4.6.3, typescript@^3.3.3333, typescript@^4.6.3, typescript@^4.8.4:
|
|||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.3.tgz#eefeafa6afdd31d725584c67a0eaba80f6fc6c6c"
|
||||
integrity sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==
|
||||
|
||||
typewise-core@^1.2, typewise-core@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/typewise-core/-/typewise-core-1.2.0.tgz#97eb91805c7f55d2f941748fa50d315d991ef195"
|
||||
integrity sha512-2SCC/WLzj2SbUwzFOzqMCkz5amXLlxtJqDKTICqg30x+2DZxcfZN2MvQZmGfXWKNWaKK9pBPsvkcwv8bF/gxKg==
|
||||
|
||||
typewise@^1.0.3:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/typewise/-/typewise-1.0.3.tgz#1067936540af97937cc5dcf9922486e9fa284651"
|
||||
integrity sha512-aXofE06xGhaQSPzt8hlTY+/YWQhm9P0jYUp1f2XtmW/3Bk0qzXcyFWAtPoo2uTGQj1ZwbDuSyuxicq+aDo8lCQ==
|
||||
dependencies:
|
||||
typewise-core "^1.2.0"
|
||||
|
||||
ua-parser-js@^0.7.18:
|
||||
version "0.7.24"
|
||||
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.24.tgz#8d3ecea46ed4f1f1d63ec25f17d8568105dc027c"
|
||||
|
@ -28323,7 +28390,7 @@ unified@^9.0.0, unified@^9.2.0, unified@^9.2.1:
|
|||
trough "^1.0.0"
|
||||
vfile "^4.0.0"
|
||||
|
||||
union-value@^1.0.0:
|
||||
union-value@^1.0.0, union-value@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
|
||||
integrity sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue