@geolibre/core 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +25 -152
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +101 -114
- package/dist/index.mjs.map +1 -1
- package/dist/{project-diff-CPb5ZXb_.mjs → project-diff-CSG1AgSK.mjs} +64 -66
- package/dist/project-diff-CSG1AgSK.mjs.map +1 -0
- package/dist/{project-diff-CyR4d8Sl.d.mts → project-diff-aMF0z5Bo.d.mts} +27 -31
- package/dist/project-diff-aMF0z5Bo.d.mts.map +1 -0
- package/dist/worker-safe.d.mts +1 -1
- package/dist/worker-safe.mjs +1 -1
- package/package.json +3 -3
- package/dist/project-diff-CPb5ZXb_.mjs.map +0 -1
- package/dist/project-diff-CyR4d8Sl.d.mts.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { $ as GEOCODING_PROVIDERS, $i as
|
|
1
|
+
import { $ as GEOCODING_PROVIDERS, $i as getPlanetaryBasemapById, $n as groupMemberIndices, $r as getBuildEnvironment, $t as CESIUM_BING_AERIAL_ASSET_ID, A as normalizeSecondaryMapViews, Aa as styleValue, Ai as sameCesiumImagery, An as createStyleLibraryEntryId, Ar as isValidMetadataDate, At as selectedGeocodingLocator, B as storyMapHasContent, Bi as ELLIPSOIDS, Bn as normalizePrintLayoutConfig, Br as evaluateMapExpression, Bt as PROJECT_CREDENTIAL_FIELDS, C as normalizeModelGraph, Ca as OPENFREEMAP_BASEMAPS, Ci as parseMapCrsEpsgCode, Cn as isGeoArrowBatch, Cr as reapplyLayerJoins, Ct as normalizeArcGISLocatorUrl, D as normalizeProcessingHistory, Da as detectNonGeographicCoordinates, Di as availableCesiumBasemap, Dn as STYLE_LIBRARY_BUNDLE_TYPE, Dr as STAC_PROCESSING_EXTENSION, Dt as parseArcGISSuggestions, E as normalizePrimaryRenderer, Ea as SQL_QUERY_SOURCE_KIND, Ei as CESIUM_BASEMAPS, En as RAMP_STYLE_KEYS, Er as stripVirtualFieldColumns, Et as parseArcGISLocatorInfo, F as projectFromStore, Fi as getRegionalBasemapById, Fn as sanitizeLayerStylePatch, Fr as parseMetadataKeywords, Ft as DEFAULT_STORY_CHAPTER_DURATION_SECONDS, G as DEFAULT_REVERSE_GEOCODE_ENDPOINT, Gi as bodyLengthToEarth, Gn as scrubCommentsForRemovedLayers, Gr as removeTrailingJsonCommas, Gt as redactCredentials, H as CARTOCIUDAD_PUBLIC_HOST, Hi as PLANETARY_BASEMAP_GROUPS, Hn as scrubPrintLayoutForLayers, Hr as inferFieldTypes, Ht as isCredentialFieldName, I as resolveMapGrid, Ii as getRegionalBasemapByStyleUrl, In as serializeStyleLibrary, Ir as stacAssetMediaType, It as MAX_STORY_CHAPTER_DURATION_SECONDS, J as GEOCODE_LAT_KEY, Ji as getActiveBodyRadiusRatio, Jn as DEFAULT_LAYER_GROUP_OPACITY, Jr as SELECTION_MODES, Jt as setRegistryPublishableSettings, K as GEOCODE_ATTRIBUTE_PREFIX, Ki as earthAreaToBody, Kn as scrubLegendForRemovedLayers, Kr as substituteExpressionVariables, Kt as redactProjectCredentials, L as serializeProject, Li as isRegionalBasemapSentinel, Ln as DEFAULT_PRINT_LAYOUT, Lr as validateLayerDescriptiveMetadata, Lt as MIN_STORY_CHAPTER_DURATION_SECONDS, M as normalizeWidgets, Mi as REGIONAL_BASEMAPS, Mn as isStyleLibraryTargetLayer, Mr as isValidMetadataUrl, Mt as setGeocodingTokenProvider, N as parseProject, Ni as REGIONAL_BASEMAP_GROUPS, Nn as normalizeStyleLibraryEntries, Nr as metadataDateToRfc3339, Nt as shouldThrottle, O as normalizeProjectComments, Oa as isDuckDBQueryLayer, Oi as basemapToCesiumImagery, On as STYLE_LIBRARY_BUNDLE_VERSION, Or as STAC_VERSION, Ot as resolveGeocoderConfig, P as portableWmsTileUrl, Pi as REGIONAL_BASEMAP_SENTINEL_PREFIX, Pn as parseStyleLibrary, Pr as normalizeLayerDescriptiveMetadata, Pt as unmatchedGeocodeFeature, Q as GEOCODE_STATUS_KEY, Qi as getEllipsoid, Qn as effectiveLayerRenderState, Qr as getArcgisApiKey, Qt as resolveHeaderReferences, R as serializeProjectWithLayerCache, Ri as DEFAULT_ELLIPSOID_ID, Rn as createDefaultPrintLayout, Rr as EXPRESSION_FUNCTION_CATEGORIES, Rt as normalizeStoryChapterDurationSeconds, S as normalizeMapViewState, Sa as NETCDF_IMAGE_SOURCE_KIND, Si as normalizeMapCrs, Sn as geoArrowToFeatureCollection, Sr as layerJoinKey, St as nominatimReverseResultToDisplay, T as normalizeObiaWorkbench, Ta as PROTOMAPS_BASEMAPS, Ti as normalizeArcgisWkid, Tn as BUILT_IN_STYLE_PRESETS, Tr as applyLayerVirtualFields, Tt as normalizeGeocodingProviderId, U as DEFAULT_FORWARD_GEOCODE_ENDPOINT, Ui as PLANETARY_BASEMAP_SENTINEL_PREFIX, Un as scrubPrintLayoutForRemovedLayers, Ur as isStyleSpecColor, Ut as isCredentialUrlParam, V as CARTOCIUDAD_MIN_INTERVAL_MS, Vi as PLANETARY_BASEMAPS, Vn as printLayoutConfigsEqual, Vr as formatExpressionPreviewValue, Vt as PUBLISHABLE_PLUGIN_SETTINGS, W as DEFAULT_GEOCODING_PROVIDER_ID, Wi as PLANET_SWITCHER_OPTIONS, Wn as removedLayerIdSet, Wr as matchFeaturesByExpression, Wt as redactConfigurationCredentials, X as GEOCODE_PROVIDER_KEY, Xi as getActiveMeanRadiusMeters, Xn as buildLayerPanelUnits, Xr as featureSelectionId, Xt as hasHeaderReferences, Y as GEOCODE_LON_KEY, Yi as getActiveEllipsoid, Yn as applyGroupEffects, Yr as applySelectionMode, Yt as allowsCredentialHeaders, Z as GEOCODE_SCORE_KEY, Zi as getActiveSemiMajorAxisMeters, Zn as buildLayerTree, Zr as invertSelection, Zt as isHeaderReferenceOnly, _ as normalizeBookmarkGroups, _a as LAYER_TYPES, _i as MAP_CRS_CHANGE_EVENT, _n as czmlSource, _r as resolveRolePrivileges, _t as geocoderSupportsSuggest, a as DEFAULT_PROJECT_NAME, aa as DEFAULT_BASEMAP, ai as getRuntimeEnvironment, an as cesiumIonAssetKind, ar as reorderLayerGroupInPanel, at as arcgisLocatorInputField, b as normalizeLegendConfig, ba as MAX_PROCESSING_HISTORY, bi as deriveTileMatrixSet, bn as computeGeoArrowBBox, br as cascadeLayerJoinRefresh, bt as nextDelayMs, c as createDefaultMapView, ca as DEFAULT_LAYER_STYLE, ci as decodePolyline, cn as isCesiumOnlyLayer, cr as ROLE_PRIVILEGES, ct as csvRowsToGeocodeRequests, d as createProjectTemplate, da as DEFAULT_PRIMARY_RENDERER, di as geoJSONToPolylineStr, dn as cesiumKmlSource, dr as hasAppPrivilege, dt as geocodeMatchToFeature, ea as getPlanetaryBasemapByStyleUrl, ei as getCesiumIonToken, en as CESIUM_GOOGLE_PHOTOREALISTIC_ASSET_ID, er as layerGroupDepth, et as GeocoderServiceError, f as detachProjectCopy, fa as DEFAULT_PROJECT_PREFERENCES, fi as polylineStrToGeoJSON, fn as createCesiumKmlLayer, fr as inferLayerCapabilities, ft as geocodeReverse, g as normalizeBlankBackgroundColor, ga as LARGE_VECTOR_FEATURE_THRESHOLD, gi as transformGeojsonElevation, gn as createCzmlLayer, gr as resolveLayerCapabilities, gt as geocoderSupportsReverse, h as isSessionOnlyLayer, ha as DUCKDB_VECTOR_ROUTE_BYTES, hi as horizontalBbox, hn as CZML_SOURCE_KIND, hr as normalizeLayerCapabilities, ht as geocoderNeedsApiKey, i as previewValue, ia as BLEND_MODES, ii as getProtomapsStyleUrl, in as cesiumIonAssetId, ir as normalizeGroupContiguity, it as PUBLIC_GEOCODE_ROW_CAP, j as normalizeStoryMap, ji as CHINA_BASEMAPS, jn as extractStyleLibraryStyle, jr as isValidMetadataEmail, jt as setGeocodingFetch, k as normalizeProjectInteraction, ka as shouldUseTiledRendering, ki as normalizeCesiumBasemap, kn as SYMBOL_STYLE_KEYS, kr as buildLayerStacItem, kt as rowCap, l as createEmptyProject, la as DEFAULT_LEGEND_CONFIG, li as decodePolylineDetailed, ln as parseCesiumIonAssetId, lr as appPrivilegeReason, lt as fetchArcGISLocatorInfo, m as isAllowedPluginManifestUrl, ma as DUCKDB_VECTOR_FEATURE_WARN_COUNT, mi as geojsonHasZCoordinates, mn as CZML_QUICK_PICKS, mr as normalizeAppPrivileges, mt as geocoderMinIntervalMs, n as diffProjects, na as setActiveEllipsoidId, ni as getMapboxAccessToken, nn as CESIUM_ION_SOURCE_KIND, nr as layerGroupSortability, nt as NOMINATIM_MIN_INTERVAL_MS, o as MAX_PROJECT_BOOKMARKS, oa as DEFAULT_BLEND_MODE, oi as getSpatialExtensionPath, on as createCesiumIonLayer, or as sortLayerGroupInPanel, ot as buildForwardGeocodeUrl, p as hydrateProjectLayer, pa as DEFAULT_STORY_MAP, pi as unescapePolyline, pn as isCesiumKmlLayer, pr as intersectPrivileges, pt as geocodeSuggest, q as GEOCODE_DISPLAY_NAME_KEY, qi as earthLengthToBody, qn as scrubWidgetsForRemovedLayers, qr as validateMapExpression, qt as redactUrlCredentials, r as jsonValuesEqual, ra as BLANK_BASEMAP, ri as getProtomapsApiKey, rn as CESIUM_OSM_BUILDINGS_ASSET_ID, rr as layerPanelGroupHeaders, rt as NOMINATIM_PUBLIC_HOST, s as applyProjectToStore, sa as DEFAULT_DASHBOARD_COLUMNS, si as batchDecodePolylines, sn as isCesiumIonLayer, sr as ALL_APP_PRIVILEGES, st as buildReverseGeocodeUrl, t as diffFeatureCollections, ta as meanRadiusMeters, ti as getGoogleMapsApiKey, tn as CESIUM_ION_QUICK_PICKS, tr as layerGroupMoveability, tt as GeocoderUnsupportedError, u as createProjectLayerSerializationCache, ua as DEFAULT_MAP_GRID_LAYOUT, ui as encodePolyline, un as CESIUM_KML_SOURCE_KIND, ur as createDefaultAppCapabilities, ut as geocodeForward, v as normalizeBookmarks, va as MAX_DASHBOARD_COLUMNS, vi as MAP_CRS_PRESETS, vn as isCzmlLayer, vr as applyJoinsToLayer, vt as getGeocoderConfig, w as normalizeModels, wa as PROJECT_VERSION, wi as ARCGIS_PROJECTION_PRESETS, wn as withRasterSourceDefaults, wr as stripJoinFields, wt as normalizeGeocodingLocator, x as normalizeMapLayout, xa as MIN_DASHBOARD_COLUMNS, xi as getMapCrsPreset, xn as featureCollectionToGeoArrow, xr as collectTransitiveJoinSourceIds, xt as nominatimResultToFeature, y as normalizeDashboardColumns, ya as MAX_MAP_GRID_DIM, yi as adaptBboxTemplateToCrs, yn as parseCzml, yr as applyLayerJoins, yt as getGeocodingProvider, z as serializeProjectWithLayerCacheAsync, zi as EARTH_MEAN_RADIUS_METERS, zn as isDefaultPrintLayout, zr as compileFeatureExpression, zt as MAX_REDACT_DEPTH } from "./project-diff-CSG1AgSK.mjs";
|
|
2
2
|
import { Color, featureFilter, latest, normalizePropertyExpression } from "@maplibre/maplibre-gl-style-spec";
|
|
3
3
|
import { create } from "zustand";
|
|
4
4
|
import { temporal } from "zundo";
|
|
5
5
|
import { v4 } from "uuid";
|
|
6
6
|
import { shallow } from "zustand/shallow";
|
|
7
7
|
import { useShallow } from "zustand/react/shallow";
|
|
8
|
-
|
|
8
|
+
// src/diagram.ts
|
|
9
9
|
/**
|
|
10
10
|
* Hard cap on how many features get a diagram. Each diagram is rasterized into
|
|
11
11
|
* an icon atlas, so an unbounded layer (e.g. a million-point parquet) would
|
|
@@ -210,8 +210,7 @@ function diagramPixelSize(datum, style, maxSizeValue) {
|
|
|
210
210
|
if (maxSizeValue <= 0 || datum.sizeValue <= 0) return 8;
|
|
211
211
|
return Math.max(8, size * Math.sqrt(datum.sizeValue / maxSizeValue));
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
//#region src/marker-shape.ts
|
|
213
|
+
// src/marker-shape.ts
|
|
215
214
|
/**
|
|
216
215
|
* Trace the outline of a built-in marker {@link MarkerShape} onto a 2D canvas
|
|
217
216
|
* path, centered in a `size`×`size` box. The caller supplies the fill/stroke;
|
|
@@ -372,8 +371,7 @@ function resolveSvgSource(markup) {
|
|
|
372
371
|
if (trimmed.startsWith("data:")) return trimmed;
|
|
373
372
|
return null;
|
|
374
373
|
}
|
|
375
|
-
|
|
376
|
-
//#region src/hyperlink.ts
|
|
374
|
+
// src/hyperlink.ts
|
|
377
375
|
/**
|
|
378
376
|
* Return a whole-value HTTP(S) URL that is safe to expose as an attribute link.
|
|
379
377
|
*
|
|
@@ -394,8 +392,7 @@ function attributeLinkUrl(value) {
|
|
|
394
392
|
return null;
|
|
395
393
|
}
|
|
396
394
|
}
|
|
397
|
-
|
|
398
|
-
//#region src/photo.ts
|
|
395
|
+
// src/photo.ts
|
|
399
396
|
/**
|
|
400
397
|
* Feature-property keys for inline photo images, shared by the app and the map
|
|
401
398
|
* package so neither hardcodes a second copy that could drift. These keys are
|
|
@@ -413,8 +410,7 @@ const PHOTO_PROPERTY = "photo";
|
|
|
413
410
|
* format a browser cannot display at native size (TIFF/HEIC).
|
|
414
411
|
*/
|
|
415
412
|
const PHOTO_FULL_PROPERTY = "photo_full";
|
|
416
|
-
|
|
417
|
-
//#region src/color-ramp.ts
|
|
413
|
+
// src/color-ramp.ts
|
|
418
414
|
/** The built-in color ramps offered by the style panels. */
|
|
419
415
|
const VECTOR_COLOR_RAMPS = [
|
|
420
416
|
{
|
|
@@ -942,8 +938,7 @@ function naturalClassBreaks(values, count) {
|
|
|
942
938
|
breaks[0] = sorted[0];
|
|
943
939
|
return breaks;
|
|
944
940
|
}
|
|
945
|
-
|
|
946
|
-
//#region src/paths.ts
|
|
941
|
+
// src/paths.ts
|
|
947
942
|
const PATH_TRAVERSAL = /(?:^|[/\\])\.\.(?:[/\\]|$)/;
|
|
948
943
|
/**
|
|
949
944
|
* Whether a path contains a `..` directory-traversal segment. Used to reject a
|
|
@@ -975,8 +970,7 @@ function hasPathTraversal(path) {
|
|
|
975
970
|
function isAbsoluteFilesystemPath(path) {
|
|
976
971
|
return path.startsWith("/") || /^[a-z]:[\\/]/i.test(path);
|
|
977
972
|
}
|
|
978
|
-
|
|
979
|
-
//#region src/routing.ts
|
|
973
|
+
// src/routing.ts
|
|
980
974
|
/**
|
|
981
975
|
* Routing / network-analysis client and pure helpers backing the Processing →
|
|
982
976
|
* Network tools (isochrones / service areas, OD cost matrices).
|
|
@@ -1300,8 +1294,7 @@ function requestRoute(endpoint, body, signal) {
|
|
|
1300
1294
|
function requestNavigationRoute(endpoint, body, signal) {
|
|
1301
1295
|
return postJson(`${stripTrailingSlash(endpoint)}/route`, body, signal);
|
|
1302
1296
|
}
|
|
1303
|
-
|
|
1304
|
-
//#region src/vector-color.ts
|
|
1297
|
+
// src/vector-color.ts
|
|
1305
1298
|
/** Whether a color value is a data-driven expression rather than a flat color. */
|
|
1306
1299
|
function isVectorColorExpression(value) {
|
|
1307
1300
|
return Array.isArray(value);
|
|
@@ -2082,8 +2075,7 @@ function extrusionColorValue(style) {
|
|
|
2082
2075
|
if (vectorExpression !== flat) return vectorExpression;
|
|
2083
2076
|
return parseJsonExpression(styleValue(style, "extrusionAdvancedStyleEnabled") ? styleValue(style, "extrusionColorExpression") : "") ?? flat;
|
|
2084
2077
|
}
|
|
2085
|
-
|
|
2086
|
-
//#region src/style-layer-evaluator.ts
|
|
2078
|
+
// src/style-layer-evaluator.ts
|
|
2087
2079
|
const GEOMETRY_TYPE = {
|
|
2088
2080
|
Point: 1,
|
|
2089
2081
|
LineString: 2,
|
|
@@ -2162,8 +2154,7 @@ function createStyleLayerEvaluator(layer) {
|
|
|
2162
2154
|
}
|
|
2163
2155
|
};
|
|
2164
2156
|
}
|
|
2165
|
-
|
|
2166
|
-
//#region src/document-locale.ts
|
|
2157
|
+
// src/document-locale.ts
|
|
2167
2158
|
/**
|
|
2168
2159
|
* The document language, so formatted numbers and dates follow the UI locale.
|
|
2169
2160
|
*
|
|
@@ -2175,8 +2166,7 @@ function createStyleLayerEvaluator(layer) {
|
|
|
2175
2166
|
function documentLocale() {
|
|
2176
2167
|
return (typeof document !== "undefined" ? document.documentElement.lang.trim() : "") || void 0;
|
|
2177
2168
|
}
|
|
2178
|
-
|
|
2179
|
-
//#region src/label-number-format.ts
|
|
2169
|
+
// src/label-number-format.ts
|
|
2180
2170
|
/**
|
|
2181
2171
|
* Locale-aware number formatting for map labels (issue #2336).
|
|
2182
2172
|
*
|
|
@@ -2392,8 +2382,7 @@ function labelFieldTextField(labels, fallbackLocale) {
|
|
|
2392
2382
|
function formatLabelNumberSample(locale, decimals) {
|
|
2393
2383
|
return labelNumberFormatter(resolveLabelNumberLocale(locale), decimals).format(LABEL_NUMBER_SAMPLE);
|
|
2394
2384
|
}
|
|
2395
|
-
|
|
2396
|
-
//#region src/external-native-paint.ts
|
|
2385
|
+
// src/external-native-paint.ts
|
|
2397
2386
|
/**
|
|
2398
2387
|
* Whether a layer is drawn by a **custom render layer** its control created — a
|
|
2399
2388
|
* deck.gl overlay, 3D Tiles, or Add Vector Layer's own MapLibre layers — rather
|
|
@@ -2476,8 +2465,7 @@ function rendererAppliesOpacity(layer, renderer) {
|
|
|
2476
2465
|
function isAdoptedVectorAwaitingFeatures(layer) {
|
|
2477
2466
|
return layer.metadata.sourceKind === "maplibre-gl-vector-adopted" && !layer.geojson;
|
|
2478
2467
|
}
|
|
2479
|
-
|
|
2480
|
-
//#region src/attribute-form.ts
|
|
2468
|
+
// src/attribute-form.ts
|
|
2481
2469
|
/** Look up the configuration for a field, if any. */
|
|
2482
2470
|
function getAttributeFormField(form, field) {
|
|
2483
2471
|
return form?.fields.find((entry) => entry.field === field);
|
|
@@ -2711,8 +2699,50 @@ function featureForEvaluation(properties, feature) {
|
|
|
2711
2699
|
properties
|
|
2712
2700
|
};
|
|
2713
2701
|
}
|
|
2714
|
-
|
|
2715
|
-
|
|
2702
|
+
// src/map-click-claims.ts
|
|
2703
|
+
/**
|
|
2704
|
+
* Map tools that own the map's clicks while they draw (the Measure control
|
|
2705
|
+
* placing points, the Geo Editor sketching a shape) register a claim here, and
|
|
2706
|
+
* the Identify click handlers stand down while any claim holds. Without it a
|
|
2707
|
+
* click meant as a measure vertex also opens an Identify popup over the layer
|
|
2708
|
+
* underneath (issue #3237).
|
|
2709
|
+
*
|
|
2710
|
+
* A claim is a predicate read at click time rather than a flag the tool sets,
|
|
2711
|
+
* so a tool whose drawing state changes without an event (Measure stops
|
|
2712
|
+
* drawing silently when its panel collapses) never leaves a stale claim.
|
|
2713
|
+
*/
|
|
2714
|
+
const claims = /* @__PURE__ */ new Set();
|
|
2715
|
+
/**
|
|
2716
|
+
* Register a tool whose drawing state claims the map's clicks.
|
|
2717
|
+
*
|
|
2718
|
+
* Args:
|
|
2719
|
+
* isClaiming: Returns true while the tool is drawing and owns map clicks.
|
|
2720
|
+
*
|
|
2721
|
+
* Returns:
|
|
2722
|
+
* A function that removes the claim.
|
|
2723
|
+
*/
|
|
2724
|
+
function registerMapClickClaim(isClaiming) {
|
|
2725
|
+
const entry = () => isClaiming();
|
|
2726
|
+
claims.add(entry);
|
|
2727
|
+
return () => {
|
|
2728
|
+
claims.delete(entry);
|
|
2729
|
+
};
|
|
2730
|
+
}
|
|
2731
|
+
/**
|
|
2732
|
+
* Whether a registered map tool currently owns the map's clicks.
|
|
2733
|
+
*
|
|
2734
|
+
* Returns:
|
|
2735
|
+
* True when any registered claim reports that its tool is drawing.
|
|
2736
|
+
*/
|
|
2737
|
+
function isMapClickClaimed() {
|
|
2738
|
+
for (const isClaiming of claims) try {
|
|
2739
|
+
if (isClaiming()) return true;
|
|
2740
|
+
} catch (error) {
|
|
2741
|
+
console.warn("[GeoLibre] A map click claim could not be read", error);
|
|
2742
|
+
}
|
|
2743
|
+
return false;
|
|
2744
|
+
}
|
|
2745
|
+
// src/popup.ts
|
|
2716
2746
|
/** Match an inline base64 raster image (excludes SVG, which can carry scripts). */
|
|
2717
2747
|
const INLINE_IMAGE_DATA_URL = /^data:image\/(?!svg)[\w.+-]+;base64,/i;
|
|
2718
2748
|
/**
|
|
@@ -3055,8 +3085,7 @@ function isSafePopupUrl(value, allowDataImage = false) {
|
|
|
3055
3085
|
if (/^https?:\/\//i.test(trimmed)) return true;
|
|
3056
3086
|
return allowDataImage && INLINE_IMAGE_DATA_URL.test(trimmed);
|
|
3057
3087
|
}
|
|
3058
|
-
|
|
3059
|
-
//#region src/quick-filters.ts
|
|
3088
|
+
// src/quick-filters.ts
|
|
3060
3089
|
/**
|
|
3061
3090
|
* Quick filters (issue #2114): per-layer, data-driven filter controls that
|
|
3062
3091
|
* compile down to the MapLibre filter a layer already supports.
|
|
@@ -3295,8 +3324,7 @@ function clearQuickFilterValues(filters) {
|
|
|
3295
3324
|
text: filter.kind === "text" ? "" : filter.text
|
|
3296
3325
|
}));
|
|
3297
3326
|
}
|
|
3298
|
-
|
|
3299
|
-
//#region src/layer-filters.ts
|
|
3327
|
+
// src/layer-filters.ts
|
|
3300
3328
|
/**
|
|
3301
3329
|
* Return a layer's persisted expression filter when it has a usable array
|
|
3302
3330
|
* shape, otherwise return null.
|
|
@@ -3331,8 +3359,7 @@ function compileLayerFilters(layer) {
|
|
|
3331
3359
|
function hasActiveLayerFilter(layer) {
|
|
3332
3360
|
return compileLayerFilters(layer) !== null;
|
|
3333
3361
|
}
|
|
3334
|
-
|
|
3335
|
-
//#region src/deployment-capabilities.ts
|
|
3362
|
+
// src/deployment-capabilities.ts
|
|
3336
3363
|
/** Every capability, in a stable order for docs and tests. */
|
|
3337
3364
|
const DEPLOYMENT_CAPABILITIES = [
|
|
3338
3365
|
"project:edit",
|
|
@@ -3385,8 +3412,7 @@ function parseDeploymentCapabilities(raw) {
|
|
|
3385
3412
|
}
|
|
3386
3413
|
return granted;
|
|
3387
3414
|
}
|
|
3388
|
-
|
|
3389
|
-
//#region src/store/capabilities-slice.ts
|
|
3415
|
+
// src/store/capabilities-slice.ts
|
|
3390
3416
|
/**
|
|
3391
3417
|
* What this deployment and this session may do: deployment capabilities
|
|
3392
3418
|
* (issue #1673) and the application role / privilege model (issue #1672).
|
|
@@ -3442,8 +3468,7 @@ const createCapabilitiesSlice = (set, get) => ({
|
|
|
3442
3468
|
return hasAppPrivilege(get().capabilities, privilege);
|
|
3443
3469
|
}
|
|
3444
3470
|
});
|
|
3445
|
-
|
|
3446
|
-
//#region src/store/collaboration-slice.ts
|
|
3471
|
+
// src/store/collaboration-slice.ts
|
|
3447
3472
|
/**
|
|
3448
3473
|
* A fresh, inactive collaboration slice (no live session). Frozen (like
|
|
3449
3474
|
* DEFAULT_LEGEND_CONFIG) to guard against accidental in-place mutation; store
|
|
@@ -3501,8 +3526,7 @@ const createCollaborationSlice = (set) => ({
|
|
|
3501
3526
|
}
|
|
3502
3527
|
}))
|
|
3503
3528
|
});
|
|
3504
|
-
|
|
3505
|
-
//#region src/store/session-slice.ts
|
|
3529
|
+
// src/store/session-slice.ts
|
|
3506
3530
|
/** Reserved Identify target for querying every visible queryable layer at once. */
|
|
3507
3531
|
const IDENTIFY_ALL_LAYERS_ID = "__geolibre_identify_all_layers__";
|
|
3508
3532
|
/**
|
|
@@ -3631,8 +3655,7 @@ const createSessionSlice = (set) => ({
|
|
|
3631
3655
|
}),
|
|
3632
3656
|
setAttributeFilter: (filter) => set({ attributeFilter: filter })
|
|
3633
3657
|
});
|
|
3634
|
-
|
|
3635
|
-
//#region src/store/layer-removal.ts
|
|
3658
|
+
// src/store/layer-removal.ts
|
|
3636
3659
|
/**
|
|
3637
3660
|
* Reference scrubbing shared by the actions that delete layers (`removeLayer`
|
|
3638
3661
|
* and `removeLayerGroup` with `removeChildren`), so a deleted layer never
|
|
@@ -3697,8 +3720,7 @@ function cascadeJoinRefreshForRemoved(layers, layerIds) {
|
|
|
3697
3720
|
for (const id of removedLayerIdSet(layerIds)) current = cascadeLayerJoinRefresh(current, id);
|
|
3698
3721
|
return current;
|
|
3699
3722
|
}
|
|
3700
|
-
|
|
3701
|
-
//#region src/store/layer-groups-slice.ts
|
|
3723
|
+
// src/store/layer-groups-slice.ts
|
|
3702
3724
|
/**
|
|
3703
3725
|
* Layer-panel folders: create, rename, nest, reorder, sort and delete groups,
|
|
3704
3726
|
* and move layers between them. `layerGroups` is tracked by undo history
|
|
@@ -3889,8 +3911,7 @@ const createLayerGroupsSlice = (set, get) => ({
|
|
|
3889
3911
|
};
|
|
3890
3912
|
})
|
|
3891
3913
|
});
|
|
3892
|
-
|
|
3893
|
-
//#region src/file-name.ts
|
|
3914
|
+
// src/file-name.ts
|
|
3894
3915
|
/**
|
|
3895
3916
|
* A bare Android SAF document ID, as the browser `File.name` carries after a
|
|
3896
3917
|
* native import: a known volume prefix (`primary:`, `home:`, `raw:`, `msf:`, or a
|
|
@@ -3928,8 +3949,7 @@ function uniqueImportedLayerName(name, names) {
|
|
|
3928
3949
|
while (existing.has(candidate)) candidate = `${name}_${suffix++}`;
|
|
3929
3950
|
return candidate;
|
|
3930
3951
|
}
|
|
3931
|
-
|
|
3932
|
-
//#region src/layer-defaults.ts
|
|
3952
|
+
// src/layer-defaults.ts
|
|
3933
3953
|
/**
|
|
3934
3954
|
* Initial styling for a newly added vector layer (issue #1519).
|
|
3935
3955
|
*
|
|
@@ -4118,8 +4138,7 @@ function isInitialLayerStyle(style, geojson) {
|
|
|
4118
4138
|
};
|
|
4119
4139
|
return style.fillOpacity === expected.fillOpacity && style.strokeWidth === expected.strokeWidth && style.circleRadius === expected.circleRadius;
|
|
4120
4140
|
}
|
|
4121
|
-
|
|
4122
|
-
//#region src/layer-style-clipboard.ts
|
|
4141
|
+
// src/layer-style-clipboard.ts
|
|
4123
4142
|
/**
|
|
4124
4143
|
* `metadata.sourceKind` marking a deck.gl COG raster managed by the
|
|
4125
4144
|
* maplibre-gl-raster control. Mirrors `RASTER_SOURCE_KIND` in
|
|
@@ -4230,8 +4249,7 @@ function rescaleEntryCount(state) {
|
|
|
4230
4249
|
if (state.mode === "rgb") return Array.isArray(state.bands) ? state.bands.length : 3;
|
|
4231
4250
|
return 1;
|
|
4232
4251
|
}
|
|
4233
|
-
|
|
4234
|
-
//#region src/layer-style-file.ts
|
|
4252
|
+
// src/layer-style-file.ts
|
|
4235
4253
|
/** `type` tag identifying a layer styles file. */
|
|
4236
4254
|
const LAYER_STYLES_FILE_TYPE = "geolibre-layer-styles";
|
|
4237
4255
|
/** Format version written by {@link serializeLayerStylesFile}. */
|
|
@@ -4426,8 +4444,7 @@ function matchLayerStyleEntry(layer, entries) {
|
|
|
4426
4444
|
patch
|
|
4427
4445
|
} : null;
|
|
4428
4446
|
}
|
|
4429
|
-
|
|
4430
|
-
//#region src/store/layers-slice.ts
|
|
4447
|
+
// src/store/layers-slice.ts
|
|
4431
4448
|
/**
|
|
4432
4449
|
* The layer types {@link AppState.addTileLayer} accepts. Each renders through
|
|
4433
4450
|
* the raster tile path, which is why the layer's `source.type` is always
|
|
@@ -4718,8 +4735,7 @@ const createLayersSlice = (set, get) => ({
|
|
|
4718
4735
|
return id;
|
|
4719
4736
|
}
|
|
4720
4737
|
});
|
|
4721
|
-
|
|
4722
|
-
//#region src/layer-library.ts
|
|
4738
|
+
// src/layer-library.ts
|
|
4723
4739
|
/** `type` discriminator of an exported Layer Library bundle file. */
|
|
4724
4740
|
const LAYER_LIBRARY_BUNDLE_TYPE = "geolibre-layer-library";
|
|
4725
4741
|
/** Current bundle format version, for forward-compatible readers. */
|
|
@@ -5379,8 +5395,7 @@ function createLayerLibraryEntryId() {
|
|
|
5379
5395
|
if (typeof crypto !== "undefined" && "randomUUID" in crypto) return crypto.randomUUID();
|
|
5380
5396
|
return `layer-lib-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 10)}`;
|
|
5381
5397
|
}
|
|
5382
|
-
|
|
5383
|
-
//#region src/store/libraries-slice.ts
|
|
5398
|
+
// src/store/libraries-slice.ts
|
|
5384
5399
|
/**
|
|
5385
5400
|
* The Style Manager, Layer Library and Template Library. The app-level lists
|
|
5386
5401
|
* live outside the project lifecycle (persisted by the desktop app); only the
|
|
@@ -5423,8 +5438,7 @@ const createLibrariesSlice = (set) => ({
|
|
|
5423
5438
|
saveTemplateEntry: (entry) => set((s) => ({ templateLibrary: s.templateLibrary.some((t) => t.id === entry.id) ? s.templateLibrary.map((t) => t.id === entry.id ? entry : t) : [...s.templateLibrary, entry] })),
|
|
5424
5439
|
deleteTemplateEntry: (id) => set((s) => ({ templateLibrary: s.templateLibrary.filter((t) => t.id !== id) }))
|
|
5425
5440
|
});
|
|
5426
|
-
|
|
5427
|
-
//#region src/store/map-view-slice.ts
|
|
5441
|
+
// src/store/map-view-slice.ts
|
|
5428
5442
|
/**
|
|
5429
5443
|
* The map workspace: the primary camera, the basemap, project preferences, the
|
|
5430
5444
|
* multi-map grid and its secondary panes, and which engine draws the primary
|
|
@@ -5672,8 +5686,7 @@ const createMapViewSlice = (set) => ({
|
|
|
5672
5686
|
isDirty: true
|
|
5673
5687
|
})
|
|
5674
5688
|
});
|
|
5675
|
-
|
|
5676
|
-
//#region src/store/processing-slice.ts
|
|
5689
|
+
// src/store/processing-slice.ts
|
|
5677
5690
|
/**
|
|
5678
5691
|
* Saved processing models (issue #344) and the Processing History log
|
|
5679
5692
|
* (issue #1292). Both are saved with the project.
|
|
@@ -5719,8 +5732,7 @@ const createProcessingSlice = (set) => ({
|
|
|
5719
5732
|
isDirty: true
|
|
5720
5733
|
} : { obiaWorkbench })
|
|
5721
5734
|
});
|
|
5722
|
-
|
|
5723
|
-
//#region src/store/project-content-slice.ts
|
|
5735
|
+
// src/store/project-content-slice.ts
|
|
5724
5736
|
/**
|
|
5725
5737
|
* Project content that sits beside the layers: review comments (issue #1518),
|
|
5726
5738
|
* Dashboard widgets (issue #401) and the story map. All of it is saved with the
|
|
@@ -5896,8 +5908,7 @@ const createProjectContentSlice = (set) => ({
|
|
|
5896
5908
|
};
|
|
5897
5909
|
})
|
|
5898
5910
|
});
|
|
5899
|
-
|
|
5900
|
-
//#region src/history.ts
|
|
5911
|
+
// src/history.ts
|
|
5901
5912
|
/**
|
|
5902
5913
|
* Runtime-settable window (ms) used to coalesce rapid history-producing changes
|
|
5903
5914
|
* (e.g. a continuous opacity/style slider drag) into a single undo entry. Tests
|
|
@@ -6025,8 +6036,7 @@ function leadingDebounce(fn, getWait) {
|
|
|
6025
6036
|
};
|
|
6026
6037
|
return wrapped;
|
|
6027
6038
|
}
|
|
6028
|
-
|
|
6029
|
-
//#region src/store/undo-history.ts
|
|
6039
|
+
// src/store/undo-history.ts
|
|
6030
6040
|
/**
|
|
6031
6041
|
* Undo/redo for the app store. zundo's `temporal` middleware tracks only the
|
|
6032
6042
|
* project-data fields that {@link partializeHistory} lists (layers, groups,
|
|
@@ -6285,8 +6295,7 @@ function clearHistory() {
|
|
|
6285
6295
|
notifyProjectRestoreHistory();
|
|
6286
6296
|
}
|
|
6287
6297
|
}
|
|
6288
|
-
|
|
6289
|
-
//#region src/store/project-slice.ts
|
|
6298
|
+
// src/store/project-slice.ts
|
|
6290
6299
|
/**
|
|
6291
6300
|
* Project identity and lifecycle: name, path, dirty flag, recent projects, and
|
|
6292
6301
|
* the project-level settings that have no richer home (plugins, legend, print
|
|
@@ -6435,8 +6444,7 @@ const createProjectSlice = (set, get) => ({
|
|
|
6435
6444
|
});
|
|
6436
6445
|
}
|
|
6437
6446
|
});
|
|
6438
|
-
|
|
6439
|
-
//#region src/store/ui-slice.ts
|
|
6447
|
+
// src/store/ui-slice.ts
|
|
6440
6448
|
const createUiSlice = (set) => ({
|
|
6441
6449
|
ui: {
|
|
6442
6450
|
processingOpen: false,
|
|
@@ -6632,8 +6640,7 @@ const createUiSlice = (set) => ({
|
|
|
6632
6640
|
styleManagerOpen: open
|
|
6633
6641
|
} }))
|
|
6634
6642
|
});
|
|
6635
|
-
|
|
6636
|
-
//#region src/store.ts
|
|
6643
|
+
// src/store.ts
|
|
6637
6644
|
/**
|
|
6638
6645
|
* The app store: one Zustand store wrapped in zundo's undo history, composed
|
|
6639
6646
|
* from the slices under `./store/` (zustand's slices pattern). The split is
|
|
@@ -6691,8 +6698,7 @@ function useAppCapability(privilege) {
|
|
|
6691
6698
|
reason: appPrivilegeReason(capabilities, privilege)
|
|
6692
6699
|
};
|
|
6693
6700
|
}
|
|
6694
|
-
|
|
6695
|
-
//#region src/selection-actions.ts
|
|
6701
|
+
// src/selection-actions.ts
|
|
6696
6702
|
/**
|
|
6697
6703
|
* Store-touching selection helpers. Kept out of `selection.ts` so that module
|
|
6698
6704
|
* stays a pure, directly testable set of functions over id arrays.
|
|
@@ -6720,8 +6726,7 @@ function applyMatchedSelection(targetLayerId, matchedIds, mode) {
|
|
|
6720
6726
|
store.selectFeatures(next);
|
|
6721
6727
|
return next.length;
|
|
6722
6728
|
}
|
|
6723
|
-
|
|
6724
|
-
//#region src/scale-units.ts
|
|
6729
|
+
// src/scale-units.ts
|
|
6725
6730
|
/** Conversion constants shared by every scale-bar denomination. */
|
|
6726
6731
|
const FEET_PER_METER = 3.2808398950131235;
|
|
6727
6732
|
const METERS_PER_FOOT = .3048;
|
|
@@ -6785,8 +6790,7 @@ function scaleSpan(maxMeters, unit) {
|
|
|
6785
6790
|
label
|
|
6786
6791
|
};
|
|
6787
6792
|
}
|
|
6788
|
-
|
|
6789
|
-
//#region src/elevation.ts
|
|
6793
|
+
// src/elevation.ts
|
|
6790
6794
|
/** Open-Meteo accepts at most 100 coordinates per elevation request. */
|
|
6791
6795
|
const MAX_POINTS_PER_REQUEST = 100;
|
|
6792
6796
|
/** Abort an elevation request that has not responded within this window. */
|
|
@@ -6984,8 +6988,7 @@ function createPointerElevationResolver(options) {
|
|
|
6984
6988
|
dispose: invalidate
|
|
6985
6989
|
};
|
|
6986
6990
|
}
|
|
6987
|
-
|
|
6988
|
-
//#region src/camera-altitude.ts
|
|
6991
|
+
// src/camera-altitude.ts
|
|
6989
6992
|
/**
|
|
6990
6993
|
* Camera altitude ("Eye alt") for the status bar — issue #1816.
|
|
6991
6994
|
*
|
|
@@ -7032,8 +7035,7 @@ function formatCameraAltitude(meters, unit) {
|
|
|
7032
7035
|
maximumFractionDigits: digits
|
|
7033
7036
|
})} ${label}`;
|
|
7034
7037
|
}
|
|
7035
|
-
|
|
7036
|
-
//#region src/layers-file.ts
|
|
7038
|
+
// src/layers-file.ts
|
|
7037
7039
|
/** `type` tag identifying a layers file. */
|
|
7038
7040
|
const LAYERS_FILE_TYPE = "geolibre-layers";
|
|
7039
7041
|
/** Format version written by {@link serializeLayersFile}. */
|
|
@@ -7239,8 +7241,7 @@ function addLayersToProject(project, content) {
|
|
|
7239
7241
|
layerGroups: [...groups, ...structuredClone(layerGroups)]
|
|
7240
7242
|
};
|
|
7241
7243
|
}
|
|
7242
|
-
|
|
7243
|
-
//#region src/pixel-format.ts
|
|
7244
|
+
// src/pixel-format.ts
|
|
7244
7245
|
/**
|
|
7245
7246
|
* Trim a float sample to something readable. A 32-bit raster value decoded to a
|
|
7246
7247
|
* JS double prints all 17 digits of its binary representation
|
|
@@ -7256,8 +7257,7 @@ function formatPixelValue(value) {
|
|
|
7256
7257
|
if (Number.isInteger(value)) return String(value);
|
|
7257
7258
|
return String(Number(value.toPrecision(6)));
|
|
7258
7259
|
}
|
|
7259
|
-
|
|
7260
|
-
//#region src/s3.ts
|
|
7260
|
+
// src/s3.ts
|
|
7261
7261
|
/** SigV4 allows a presigned URL to live at most seven days. */
|
|
7262
7262
|
const S3_MAX_PRESIGN_SECONDS = 604800;
|
|
7263
7263
|
const S3_SCHEME = /^s3a?:\/\//i;
|
|
@@ -7658,8 +7658,7 @@ async function explainS3ReadError(url, error, translate) {
|
|
|
7658
7658
|
origin
|
|
7659
7659
|
}) : fallback, location.bucket, origin, error);
|
|
7660
7660
|
}
|
|
7661
|
-
|
|
7662
|
-
//#region src/storymap-sample.ts
|
|
7661
|
+
// src/storymap-sample.ts
|
|
7663
7662
|
const SAMPLE_ASSET_BASE = "https://opengeos.org/maplibre-gl-storymaps/assets";
|
|
7664
7663
|
/**
|
|
7665
7664
|
* Build a ready-to-play sample story map.
|
|
@@ -7778,8 +7777,7 @@ function createSampleStoryMap() {
|
|
|
7778
7777
|
]
|
|
7779
7778
|
};
|
|
7780
7779
|
}
|
|
7781
|
-
|
|
7782
|
-
//#region src/storymap-playback.ts
|
|
7780
|
+
// src/storymap-playback.ts
|
|
7783
7781
|
/** The clamped opacity recorded for a layer, or undefined when untouched. */
|
|
7784
7782
|
function recordedStoryOpacity(opacities, layerId) {
|
|
7785
7783
|
const value = opacities?.[layerId];
|
|
@@ -7865,8 +7863,7 @@ function storyLocationView(location, current) {
|
|
|
7865
7863
|
bearing: location.bearing ?? current.bearing
|
|
7866
7864
|
};
|
|
7867
7865
|
}
|
|
7868
|
-
|
|
7869
|
-
//#region src/storymap-io.ts
|
|
7866
|
+
// src/storymap-io.ts
|
|
7870
7867
|
/**
|
|
7871
7868
|
* Serialize a story map to pretty-printed JSON for export.
|
|
7872
7869
|
*
|
|
@@ -8044,8 +8041,7 @@ function parseCsvRows(text) {
|
|
|
8044
8041
|
}
|
|
8045
8042
|
return rows;
|
|
8046
8043
|
}
|
|
8047
|
-
|
|
8048
|
-
//#region src/layer-selectors.ts
|
|
8044
|
+
// src/layer-selectors.ts
|
|
8049
8045
|
/**
|
|
8050
8046
|
* Narrow subscriptions to the store's `layers` array.
|
|
8051
8047
|
*
|
|
@@ -8186,8 +8182,7 @@ function useLayerSummaries() {
|
|
|
8186
8182
|
function useLayersWhen(active) {
|
|
8187
8183
|
return useAppStore(selectLayersWhen(active));
|
|
8188
8184
|
}
|
|
8189
|
-
|
|
8190
|
-
//#region src/platform.ts
|
|
8185
|
+
// src/platform.ts
|
|
8191
8186
|
/**
|
|
8192
8187
|
* Platform detection shared across the workspace. Carries no React/MapLibre
|
|
8193
8188
|
* dependency so callers stay unit-testable.
|
|
@@ -8213,8 +8208,7 @@ function useLayersWhen(active) {
|
|
|
8213
8208
|
function isIpadDesktopUserAgent(userAgent, maxTouchPoints) {
|
|
8214
8209
|
return /Macintosh/.test(userAgent) && (maxTouchPoints ?? 0) > 1;
|
|
8215
8210
|
}
|
|
8216
|
-
|
|
8217
|
-
//#region src/three-d-tiles.ts
|
|
8211
|
+
// src/three-d-tiles.ts
|
|
8218
8212
|
/** Google Photorealistic 3D Tiles root host + path. */
|
|
8219
8213
|
const GOOGLE_PHOTOREALISTIC_TILES_HOST = "tile.googleapis.com";
|
|
8220
8214
|
const GOOGLE_PHOTOREALISTIC_TILES_PATH = "/v1/3dtiles/root.json";
|
|
@@ -8281,8 +8275,7 @@ function persistedThreeDTilesRequestHeaders(url, headers) {
|
|
|
8281
8275
|
if (!isGooglePhotorealisticTilesetUrl(url)) return headers;
|
|
8282
8276
|
return nonEmptyRecord(stripGoogleMapsApiKeyHeader(headers));
|
|
8283
8277
|
}
|
|
8284
|
-
|
|
8285
|
-
//#region src/project-credential-refs.ts
|
|
8278
|
+
// src/project-credential-refs.ts
|
|
8286
8279
|
/**
|
|
8287
8280
|
* Credentials a project refers to by name rather than carrying inline.
|
|
8288
8281
|
*
|
|
@@ -8459,8 +8452,7 @@ function resolveProjectHeaderReferences(headers) {
|
|
|
8459
8452
|
}
|
|
8460
8453
|
return resolveHeaderReferences(headers, values);
|
|
8461
8454
|
}
|
|
8462
|
-
|
|
8463
|
-
//#region src/visibility.ts
|
|
8455
|
+
// src/visibility.ts
|
|
8464
8456
|
/**
|
|
8465
8457
|
* Returns a new FeatureCollection with properties marked as "excluded" removed.
|
|
8466
8458
|
*/
|
|
@@ -8519,8 +8511,7 @@ function excludeHiddenFieldsFromProject(project) {
|
|
|
8519
8511
|
layers
|
|
8520
8512
|
} : project;
|
|
8521
8513
|
}
|
|
8522
|
-
|
|
8523
|
-
//#region src/editor-tracking.ts
|
|
8514
|
+
// src/editor-tracking.ts
|
|
8524
8515
|
/** Default field names for maintained editor tracking columns. */
|
|
8525
8516
|
const DEFAULT_EDITOR_TRACKING_CONFIG = {
|
|
8526
8517
|
enabled: false,
|
|
@@ -8690,8 +8681,7 @@ function stampFeatureCollectionEditorTracking(collection, action, options) {
|
|
|
8690
8681
|
features: collection.features.map((feat) => stampFeatureEditorTracking(feat, action, opts))
|
|
8691
8682
|
};
|
|
8692
8683
|
}
|
|
8693
|
-
|
|
8694
|
-
//#region src/editor-identity.ts
|
|
8684
|
+
// src/editor-identity.ts
|
|
8695
8685
|
/**
|
|
8696
8686
|
* Runtime resolution of "who is editing", for the editor tracking stamps.
|
|
8697
8687
|
*
|
|
@@ -8739,8 +8729,7 @@ function currentEditorIdentity() {
|
|
|
8739
8729
|
const { isActive, selfName } = useAppStore.getState().collaboration;
|
|
8740
8730
|
return pickEditorIdentity(isActive ? selfName : void 0, readStoredAuthorName());
|
|
8741
8731
|
}
|
|
8742
|
-
|
|
8743
|
-
//#region src/datum-shift.ts
|
|
8732
|
+
// src/datum-shift.ts
|
|
8744
8733
|
/** Inclusive ranges of codes, as a list. */
|
|
8745
8734
|
const range = (from, to) => Array.from({ length: to - from + 1 }, (_, i) => from + i);
|
|
8746
8735
|
const SHIFTS = [
|
|
@@ -8890,8 +8879,7 @@ function withGeoKeysDatumShift(definition, geoKeys) {
|
|
|
8890
8879
|
function installCogTilerDatumShift(module) {
|
|
8891
8880
|
module.setSourceCrsResolver?.((def, geoKeys) => def.trimStart().startsWith("+") ? withGeoKeysDatumShift(def, geoKeys) : def);
|
|
8892
8881
|
}
|
|
8893
|
-
|
|
8894
|
-
//#region src/cog-jpeg-tables.ts
|
|
8882
|
+
// src/cog-jpeg-tables.ts
|
|
8895
8883
|
const DEFAULT_COEFFICIENTS = [
|
|
8896
8884
|
.299,
|
|
8897
8885
|
.587,
|
|
@@ -9021,7 +9009,6 @@ function withJpegTablesPatch(module) {
|
|
|
9021
9009
|
openCog: (async (input) => patchJpegCogSource(await module.openCog(input)))
|
|
9022
9010
|
};
|
|
9023
9011
|
}
|
|
9024
|
-
//#endregion
|
|
9025
|
-
export { ALL_APP_PRIVILEGES, ALL_DEPLOYMENT_CAPABILITIES, ARCGIS_PROJECTION_PRESETS, BLANK_BASEMAP, BLEND_MODES, BUILT_IN_STYLE_PRESETS, CARTOCIUDAD_MIN_INTERVAL_MS, CARTOCIUDAD_PUBLIC_HOST, CESIUM_BASEMAPS, CESIUM_BING_AERIAL_ASSET_ID, CESIUM_GOOGLE_PHOTOREALISTIC_ASSET_ID, CESIUM_ION_QUICK_PICKS, CESIUM_ION_SOURCE_KIND, CESIUM_KML_SOURCE_KIND, CESIUM_OSM_BUILDINGS_ASSET_ID, CHINA_BASEMAPS, CZML_QUICK_PICKS, CZML_SOURCE_KIND, DEFAULT_BASEMAP, DEFAULT_BLEND_MODE, DEFAULT_COLLABORATION_STATE, DEFAULT_DASHBOARD_COLUMNS, DEFAULT_EDITOR_IDENTITY, DEFAULT_EDITOR_TRACKING_CONFIG, DEFAULT_ELLIPSOID_ID, DEFAULT_FORWARD_GEOCODE_ENDPOINT, DEFAULT_GEOCODING_PROVIDER_ID, DEFAULT_LAYER_GROUP_OPACITY, DEFAULT_LAYER_STYLE, DEFAULT_LEGEND_CONFIG, DEFAULT_MAP_GRID_LAYOUT, DEFAULT_PRIMARY_RENDERER, DEFAULT_PRINT_LAYOUT, DEFAULT_PROJECT_NAME, DEFAULT_PROJECT_PREFERENCES, DEFAULT_REVERSE_GEOCODE_ENDPOINT, DEFAULT_ROUTING_ENDPOINT, DEFAULT_STORY_CHAPTER_DURATION_SECONDS, DEFAULT_STORY_MAP, DEPLOYMENT_CAPABILITIES, DUCKDB_VECTOR_FEATURE_WARN_COUNT, DUCKDB_VECTOR_ROUTE_BYTES, EARTH_MEAN_RADIUS_METERS, EDITOR_IDENTITY_STORAGE_KEY, ELEVATION_REQUEST_TIMEOUT_MS, ELLIPSOIDS, EXPRESSION_FUNCTION_CATEGORIES, ElevationFetchError, FEET_PER_METER, FEET_PER_MILE, GEOCODE_ATTRIBUTE_PREFIX, GEOCODE_DISPLAY_NAME_KEY, GEOCODE_LAT_KEY, GEOCODE_LON_KEY, GEOCODE_PROVIDER_KEY, GEOCODE_SCORE_KEY, GEOCODE_STATUS_KEY, GEOCODING_PROVIDERS, GOOGLE_MAPS_API_KEY_HEADER, GeocoderServiceError, GeocoderUnsupportedError, IDENTIFY_ALL_LAYERS_ID, LABEL_NUMBER_LOCALES, LABEL_NUMBER_SAMPLE, LARGE_VECTOR_FEATURE_THRESHOLD, LAYERS_FILE_TYPE, LAYERS_FILE_VERSION, LAYER_LIBRARY_BUNDLE_TYPE, LAYER_LIBRARY_BUNDLE_VERSION, LAYER_PALETTE, LAYER_STYLES_FILE_TYPE, LAYER_STYLES_FILE_VERSION, LAYER_TYPES, MAP_CRS_PRESETS, MAX_DASHBOARD_COLUMNS, MAX_DIAGRAM_FEATURES, MAX_DIAGRAM_SCAN_FEATURES, MAX_LAYERS_FILE_BYTES, MAX_LAYER_LIBRARY_ENTRIES, MAX_LAYER_LIBRARY_ENTRY_BYTES, MAX_MAP_GRID_DIM, MAX_POINTS_PER_REQUEST, MAX_PROCESSING_HISTORY, MAX_PROJECT_BOOKMARKS, MAX_REDACT_DEPTH, MAX_STORY_CHAPTER_DURATION_SECONDS, MERCATOR_METERS_PER_PIXEL_AT_ZOOM_0, METERS_PER_FOOT, METERS_PER_MILE, METERS_PER_NAUTICAL_MILE, MIN_DASHBOARD_COLUMNS, MIN_DIAGRAM_SIZE, MIN_STORY_CHAPTER_DURATION_SECONDS, NETCDF_IMAGE_SOURCE_KIND, NOMINATIM_MIN_INTERVAL_MS, NOMINATIM_PUBLIC_HOST, NO_DEPLOYMENT_CAPABILITIES, NO_LAYERS, OPENFREEMAP_BASEMAPS, PHOTO_FULL_PROPERTY, PHOTO_PROPERTY, PLANETARY_BASEMAPS, PLANETARY_BASEMAP_GROUPS, PLANETARY_BASEMAP_SENTINEL_PREFIX, PLANET_SWITCHER_OPTIONS, POINTER_ELEVATION_CACHE_LIMIT, POINTER_ELEVATION_DEBOUNCE_MS, POPUP_IMAGE_HEIGHT_RANGE, POPUP_MAX_WIDTH_RANGE, PROJECT_CREDENTIAL_FIELDS, PROJECT_VERSION, PROTOMAPS_BASEMAPS, PUBLIC_GEOCODE_ROW_CAP, PUBLISHABLE_PLUGIN_SETTINGS, RAMP_STYLE_KEYS, RASTER_APPEARANCE_STATE_KEYS, REGIONAL_BASEMAPS, REGIONAL_BASEMAP_GROUPS, REGIONAL_BASEMAP_SENTINEL_PREFIX, ROLE_PRIVILEGES, RoutingRequestError, S3CorsError, S3_MAX_PRESIGN_SECONDS, SELECTION_MODES, SQL_QUERY_SOURCE_KIND, STAC_PROCESSING_EXTENSION, STAC_VERSION, STYLE_LIBRARY_BUNDLE_TYPE, STYLE_LIBRARY_BUNDLE_VERSION, SYMBOL_STYLE_KEYS, VECTOR_COLOR_RAMPS, activeLayerFilterExpression, activeQuickFilters, adaptBboxTemplateToCrs, addLayersToProject, allowsCredentialHeaders, appPrivilegeReason, applyCopiedLayerStyle, applyGroupEffects, applyJoinsToLayer, applyLayerJoins, applyLayerVirtualFields, applyMatchedSelection, applyProjectToStore, applySelectionMode, applyStoryLayerOpacity, arcgisLocatorInputField, attributeFormFieldLabel, attributeLinkUrl, availableCesiumBasemap, basemapToCesiumImagery, batchDecodePolylines, bodyLengthToEarth, buildForwardGeocodeUrl, buildIsochroneRequest, buildLayerPanelUnits, buildLayerStacItem, buildLayerTree, buildMatrixRequest, buildReverseGeocodeUrl, buildRouteRequest, canRedoProjectRestore, canSaveLayerToLibrary, canUndoProjectRestore, captureLayerLibraryEntry, cascadeLayerJoinRefresh, cesiumIonAssetId, cesiumIonAssetKind, cesiumKmlSource, changedPreferenceCredentials, circleRadiusValue, clampLabelDecimals, clampLatitude, clearExternalNativePaintBridge, clearHistory, clearQuickFilterValues, coerceAttributeFormValue, collectDiagramData, collectTransitiveJoinSourceIds, compareSequenceValues, compileFeatureExpression, compileLayerFilters, compileQuickFilter, compileQuickFilters, computeGeoArrowBBox, controlRendersLayer, convertTiffYCbCrToRgb, copyableLayerStyleKind, createCesiumIonLayer, createCesiumKmlLayer, createCzmlLayer, createDefaultAppCapabilities, createDefaultMapView, createDefaultPrintLayout, createEmptyProject, createEqualIntervalBreaks, createGraduatedClassBreaks, createLayerLibraryEntryId, createPointerElevationResolver, createProjectLayerSerializationCache, createProjectTemplate, createQuantileBreaks, createSampleStoryMap, createStyleLayerEvaluator, createStyleLibraryEntryId, csvRowsToGeocodeRequests, currentEditorIdentity, czmlSource, darkenHex, datumShiftFor, decodePolyline, decodePolylineDetailed, deriveTileMatrixSet, detachProjectCopy, detectNonGeographicCoordinates, diagramAnchor, diagramPixelSize, diagramsSuppressedByPointRenderer, diffFeatureCollections, diffProjects, documentLocale, dominantGeometry, drawMarkerPath, earthAreaToBody, earthLengthToBody, editorTrackingFieldNames, effectiveLayerRenderState, effectiveVectorRules, encodePolyline, encodeS3Key, ensureEditorTrackingFields, environmentVariableAccount, evaluateMapExpression, excludeHiddenFieldsFromGeojson, excludeHiddenFieldsFromProject, explainS3ReadError, extractCopiedLayerStyle, extractLayerStyleEntries, extractLayersFileContent, extractStyleLibraryStyle, extrusionColorValue, extrusionHeightValue, featureCollectionToGeoArrow, featureSelectionId, fetchArcGISLocatorInfo, fetchElevations, findLayerStyleEntryIndex, formatCameraAltitude, formatExpressionPreviewValue, formatLabelNumber, formatLabelNumberSample, formatPixelValue, formatPopupValue, formatRoundNum, formatS3Uri, generatorCircleRadiusValue, generatorSizeRange, geoArrowToFeatureCollection, geoJSONToPolylineStr, geocodeForward, geocodeMatchToFeature, geocodeReverse, geocodeSuggest, geocoderMinIntervalMs, geocoderNeedsApiKey, geocoderSupportsReverse, geocoderSupportsSuggest, geocodingApiKeyAccount, geojsonHasZCoordinates, getActiveBodyRadiusRatio, getActiveEllipsoid, getActiveMeanRadiusMeters, getActiveSemiMajorAxisMeters, getArcgisApiKey, getAttributeFormField, getBuildEnvironment, getCesiumIonToken, getEllipsoid, getExternalNativePaintBridge, getGeocoderConfig, getGeocodingProvider, getGoogleMapsApiKey, getHistoryCoalesceMs, getMapCrsPreset, getMapboxAccessToken, getMaxHistoryFeatureCount, getPlanetaryBasemapById, getPlanetaryBasemapByStyleUrl, getProtomapsApiKey, getProtomapsStyleUrl, getRegionalBasemapById, getRegionalBasemapByStyleUrl, getRoundNum, getRoutingConfig, getRuntimeEnvironment, getS3UrlSigner, getSpatialExtensionPath, getVectorColorRamp, googleMapsApiKeyHeaderValue, groupMemberIndices, hasActiveLayerFilter, hasActiveQuickFilter, hasAppPrivilege, hasHeaderReferences, hasPathTraversal, hasRestorableLayerSource, hasSimpleStyleProperties, heatmapRampColors, horizontalBbox, hydrateProjectLayer, identifyAllIncludes, identifyStateWithoutLayers, inferFieldTypes, inferLayerCapabilities, initialLayerStyle, installCogTilerDatumShift, interpolateColors, interpolateHexColor, interpolateRampColors, intersectPrivileges, invertSelection, isAbbreviatedJpegCompression, isAbsoluteFilesystemPath, isAdoptedVectorAwaitingFeatures, isAllowedPluginManifestUrl, isAttributeFormFieldVisible, isCesiumIonLayer, isCesiumKmlLayer, isCesiumOnlyLayer, isCredentialFieldName, isCredentialUrlParam, isCredentialedS3Url, isCzmlLayer, isDefaultPrintLayout, isDeploymentCapability, isDiagramStyleEnabled, isDuckDBQueryLayer, isExternalNativeLayerRecord, isGeoArrowBatch, isGooglePhotorealisticTilesetUrl, isHeaderReferenceOnly, isHexColor, isInitialLayerStyle, isInlineImageValue, isInternalPopupField, isIpadDesktopUserAgent, isMaintainedEditorTrackingField, isPopupClickEnabled, isPopupHoverEnabled, isRasterMarkerSource, isReferencedLayer, isRegionalBasemapSentinel, isS3Uri, isSafePopupUrl, isSecretEnvironmentVariable, isSessionOnlyLayer, isStoryHiddenLayer, isStyleLibraryTargetLayer, isStyleSpecColor, isSvgMarkerResponse, isValidMetadataDate, isValidMetadataEmail, isValidMetadataUrl, isVectorColorExpression, isochroneResponseToFeatures, jsonValuesEqual, labelFieldTextField, layerGroupDepth, layerGroupMoveability, layerGroupSortability, layerJoinKey, layerLibraryConfigPatch, layerLibraryEntryNeedsLocalFile, layerLocalPath, layerPanelGroupHeaders, lineWidthValue, localFileName, lookupProjectCredential, mapZoomStepOutputs, matchFeaturesByExpression, matchLayerStyleEntry, matrixResponseToFeatures, meanRadiusMeters, mercatorMetersPerPixelAtZoom0, mergeAttributeFormConfigs, metadataDateToRfc3339, metersWidthExpression, nextDelayMs, nextLayerPaletteColor, nominatimResultToFeature, nominatimReverseResultToDisplay, nonEmptyRecord, normalizeAppPrivileges, normalizeArcGISLocatorUrl, normalizeArcgisWkid, normalizeBlankBackgroundColor, normalizeBookmarkGroups, normalizeBookmarks, normalizeCesiumBasemap, normalizeDashboardColumns, normalizeGeocodingLocator, normalizeGeocodingProviderId, normalizeGroupContiguity, normalizeHexColor, normalizeLayerCapabilities, normalizeLayerDescriptiveMetadata, normalizeLayerLibraryEntries, normalizeLayerStyleEntries, normalizeLayersFileContent, normalizeLegendConfig, normalizeLongitude, normalizeMapCrs, normalizeMapLayout, normalizeMapViewState, normalizeModelGraph, normalizeModels, normalizeObiaWorkbench, normalizePrimaryRenderer, normalizePrintLayoutConfig, normalizeProcessingHistory, normalizeProjectComments, normalizeProjectInteraction, normalizeSecondaryMapViews, normalizeStoryChapterDurationSeconds, normalizeStoryMap, normalizeStyleLibraryEntries, normalizeWidgets, overlayStoredEnvironmentVariables, overlayStoredGeocodingApiKeys, overlayStoredPreferenceCredentials, parseArcGISLocatorInfo, parseArcGISSuggestions, parseCesiumIonAssetId, parseContours, parseCzml, parseDeploymentCapabilities, parseHexColor, parseHexColorList, parseJsonExpression, parseLayerLibrary, parseLayerStylesFile, parseLayersFile, parseMapCrsEpsgCode, parseMetadataKeywords, parseProject, parseS3BucketList, parseS3Error, parseS3ListObjects, parseS3Url, parseStoryMapCsv, parseStoryMapJson, parseStyleLibrary, parseValueMapText, patchJpegCogSource, persistedThreeDTilesRequestHeaders, pickEditorIdentity, planLayerLibraryAdd, pluginOwnsPaint, polylineStrToGeoJSON, popupFieldLabel, portableWmsTileUrl, presignS3Url, previewValue, printLayoutConfigsEqual, projectFromStore, projectPathLabel, proportionalRadiusExpression, proportionalSizeRange, readStoredAuthorName, reapplyLayerJoins, redactConfigurationCredentials, redactCredentials, redactProjectCredentials, redactUrlCredentials, redo, registerProjectRestoreHistory, registerS3UrlSigner, removeTrailingJsonCommas, rendererAppliesOpacity, reorderLayerGroupInPanel, requestIsochrone, requestMatrix, requestNavigationRoute, requestRoute, resolveConfiguredPopupTitle, resolveEditorTrackingConfig, resolveGeocoderConfig, resolveHeaderReferences, resolveIdentifyTarget, resolveLabelNumberLocale, resolveLayerCapabilities, resolveMapGrid, resolvePopupBody, resolvePopupImageHeight, resolvePopupMaxWidth, resolvePopupRows, resolvePopupTitle, resolveProjectHeaderReferences, resolveReadableUrl, resolveRolePrivileges, resolveSvgSource, resolveThreeDTilesRequestHeaders, rgbToHex, routeResponseToFeatures, rowCap, ruleBasedColorExpression, ruleBasedVisibilityFilter, s3ObjectHttpsUrl, sameCesiumImagery, sampleMapTerrain, sampleMapTerrainPoint, sampleRemoteElevations, sanitizeLayerStylePatch, scaleAltitudeToActiveBody, scaleDenomination, scaleSpan, scrubCommentsForRemovedLayers, scrubLegendForRemovedLayers, scrubPrintLayoutForLayers, scrubPrintLayoutForRemovedLayers, scrubWidgetsForRemovedLayers, selectLayerById, selectLayerIds, selectLayerSummaries, selectLayersWhen, selectedGeocodingLocator, serializeLayerLibrary, serializeLayerStylesFile, serializeLayersFile, serializeProject, serializeProjectWithLayerCache, serializeProjectWithLayerCacheAsync, serializeStoryMapCsv, serializeStoryMapJson, serializeStyleLibrary, setActiveEllipsoidId, setExternalNativePaintBridge, setGeocodingFetch, setGeocodingTokenProvider, setHistoryCoalesceMs, setMaxHistoryFeatureCount, setProjectCredentialLookup, setRegistryPublishableSettings, setStoredAuthorName, shouldThrottle, shouldUseTiledRendering, shouldZoomToNewLayers, simpleStyleNumberValue, sortLayerGroupInPanel, splitProjectCredentials, stacAssetMediaType, stampFeatureCollectionEditorTracking, stampFeatureEditorTracking, stampFeaturePropertiesEditorTracking, storyLayerOpacityFactor, storyLocationView, storyMapHasContent, storyVisibleLayers, stringifyPopupValue, stripGoogleMapsApiKeyHeader, stripJoinFields, stripVirtualFieldColumns, styleValue, subscribeProjectRestoreHistory, substituteExpressionVariables, supportsBridgedOpacity, transformGeojsonElevation, trimHistoryBySize, undo, unescapePolyline, uniqueImportedLayerName, unmatchedGeocodeFeature, unresolvedLayerLibraryJoins, unsignedSourceUrl, useAppCapability, useAppStore, useLayer, useLayerIds, useLayerSummaries, useLayersWhen, validateAttributeFormField, validateAttributeFormValues, validateLayerDescriptiveMetadata, validateMapExpression, valueMapLabelFor, valueMapToText, vectorCircleColorValue, vectorColorExpression, vectorFillColorValue, vectorFillOpacityValue, vectorLineColorValue, vectorOutlineColorValue, vectorStrokeWidthValue, visiblePopupFields, visiblePopupProperties, withDatumShift, withGeoKeysDatumShift, withJpegTablesPatch, withoutHistory };
|
|
9012
|
+
export { ALL_APP_PRIVILEGES, ALL_DEPLOYMENT_CAPABILITIES, ARCGIS_PROJECTION_PRESETS, BLANK_BASEMAP, BLEND_MODES, BUILT_IN_STYLE_PRESETS, CARTOCIUDAD_MIN_INTERVAL_MS, CARTOCIUDAD_PUBLIC_HOST, CESIUM_BASEMAPS, CESIUM_BING_AERIAL_ASSET_ID, CESIUM_GOOGLE_PHOTOREALISTIC_ASSET_ID, CESIUM_ION_QUICK_PICKS, CESIUM_ION_SOURCE_KIND, CESIUM_KML_SOURCE_KIND, CESIUM_OSM_BUILDINGS_ASSET_ID, CHINA_BASEMAPS, CZML_QUICK_PICKS, CZML_SOURCE_KIND, DEFAULT_BASEMAP, DEFAULT_BLEND_MODE, DEFAULT_COLLABORATION_STATE, DEFAULT_DASHBOARD_COLUMNS, DEFAULT_EDITOR_IDENTITY, DEFAULT_EDITOR_TRACKING_CONFIG, DEFAULT_ELLIPSOID_ID, DEFAULT_FORWARD_GEOCODE_ENDPOINT, DEFAULT_GEOCODING_PROVIDER_ID, DEFAULT_LAYER_GROUP_OPACITY, DEFAULT_LAYER_STYLE, DEFAULT_LEGEND_CONFIG, DEFAULT_MAP_GRID_LAYOUT, DEFAULT_PRIMARY_RENDERER, DEFAULT_PRINT_LAYOUT, DEFAULT_PROJECT_NAME, DEFAULT_PROJECT_PREFERENCES, DEFAULT_REVERSE_GEOCODE_ENDPOINT, DEFAULT_ROUTING_ENDPOINT, DEFAULT_STORY_CHAPTER_DURATION_SECONDS, DEFAULT_STORY_MAP, DEPLOYMENT_CAPABILITIES, DUCKDB_VECTOR_FEATURE_WARN_COUNT, DUCKDB_VECTOR_ROUTE_BYTES, EARTH_MEAN_RADIUS_METERS, EDITOR_IDENTITY_STORAGE_KEY, ELEVATION_REQUEST_TIMEOUT_MS, ELLIPSOIDS, EXPRESSION_FUNCTION_CATEGORIES, ElevationFetchError, FEET_PER_METER, FEET_PER_MILE, GEOCODE_ATTRIBUTE_PREFIX, GEOCODE_DISPLAY_NAME_KEY, GEOCODE_LAT_KEY, GEOCODE_LON_KEY, GEOCODE_PROVIDER_KEY, GEOCODE_SCORE_KEY, GEOCODE_STATUS_KEY, GEOCODING_PROVIDERS, GOOGLE_MAPS_API_KEY_HEADER, GeocoderServiceError, GeocoderUnsupportedError, IDENTIFY_ALL_LAYERS_ID, LABEL_NUMBER_LOCALES, LABEL_NUMBER_SAMPLE, LARGE_VECTOR_FEATURE_THRESHOLD, LAYERS_FILE_TYPE, LAYERS_FILE_VERSION, LAYER_LIBRARY_BUNDLE_TYPE, LAYER_LIBRARY_BUNDLE_VERSION, LAYER_PALETTE, LAYER_STYLES_FILE_TYPE, LAYER_STYLES_FILE_VERSION, LAYER_TYPES, MAP_CRS_CHANGE_EVENT, MAP_CRS_PRESETS, MAX_DASHBOARD_COLUMNS, MAX_DIAGRAM_FEATURES, MAX_DIAGRAM_SCAN_FEATURES, MAX_LAYERS_FILE_BYTES, MAX_LAYER_LIBRARY_ENTRIES, MAX_LAYER_LIBRARY_ENTRY_BYTES, MAX_MAP_GRID_DIM, MAX_POINTS_PER_REQUEST, MAX_PROCESSING_HISTORY, MAX_PROJECT_BOOKMARKS, MAX_REDACT_DEPTH, MAX_STORY_CHAPTER_DURATION_SECONDS, MERCATOR_METERS_PER_PIXEL_AT_ZOOM_0, METERS_PER_FOOT, METERS_PER_MILE, METERS_PER_NAUTICAL_MILE, MIN_DASHBOARD_COLUMNS, MIN_DIAGRAM_SIZE, MIN_STORY_CHAPTER_DURATION_SECONDS, NETCDF_IMAGE_SOURCE_KIND, NOMINATIM_MIN_INTERVAL_MS, NOMINATIM_PUBLIC_HOST, NO_DEPLOYMENT_CAPABILITIES, NO_LAYERS, OPENFREEMAP_BASEMAPS, PHOTO_FULL_PROPERTY, PHOTO_PROPERTY, PLANETARY_BASEMAPS, PLANETARY_BASEMAP_GROUPS, PLANETARY_BASEMAP_SENTINEL_PREFIX, PLANET_SWITCHER_OPTIONS, POINTER_ELEVATION_CACHE_LIMIT, POINTER_ELEVATION_DEBOUNCE_MS, POPUP_IMAGE_HEIGHT_RANGE, POPUP_MAX_WIDTH_RANGE, PROJECT_CREDENTIAL_FIELDS, PROJECT_VERSION, PROTOMAPS_BASEMAPS, PUBLIC_GEOCODE_ROW_CAP, PUBLISHABLE_PLUGIN_SETTINGS, RAMP_STYLE_KEYS, RASTER_APPEARANCE_STATE_KEYS, REGIONAL_BASEMAPS, REGIONAL_BASEMAP_GROUPS, REGIONAL_BASEMAP_SENTINEL_PREFIX, ROLE_PRIVILEGES, RoutingRequestError, S3CorsError, S3_MAX_PRESIGN_SECONDS, SELECTION_MODES, SQL_QUERY_SOURCE_KIND, STAC_PROCESSING_EXTENSION, STAC_VERSION, STYLE_LIBRARY_BUNDLE_TYPE, STYLE_LIBRARY_BUNDLE_VERSION, SYMBOL_STYLE_KEYS, VECTOR_COLOR_RAMPS, activeLayerFilterExpression, activeQuickFilters, adaptBboxTemplateToCrs, addLayersToProject, allowsCredentialHeaders, appPrivilegeReason, applyCopiedLayerStyle, applyGroupEffects, applyJoinsToLayer, applyLayerJoins, applyLayerVirtualFields, applyMatchedSelection, applyProjectToStore, applySelectionMode, applyStoryLayerOpacity, arcgisLocatorInputField, attributeFormFieldLabel, attributeLinkUrl, availableCesiumBasemap, basemapToCesiumImagery, batchDecodePolylines, bodyLengthToEarth, buildForwardGeocodeUrl, buildIsochroneRequest, buildLayerPanelUnits, buildLayerStacItem, buildLayerTree, buildMatrixRequest, buildReverseGeocodeUrl, buildRouteRequest, canRedoProjectRestore, canSaveLayerToLibrary, canUndoProjectRestore, captureLayerLibraryEntry, cascadeLayerJoinRefresh, cesiumIonAssetId, cesiumIonAssetKind, cesiumKmlSource, changedPreferenceCredentials, circleRadiusValue, clampLabelDecimals, clampLatitude, clearExternalNativePaintBridge, clearHistory, clearQuickFilterValues, coerceAttributeFormValue, collectDiagramData, collectTransitiveJoinSourceIds, compareSequenceValues, compileFeatureExpression, compileLayerFilters, compileQuickFilter, compileQuickFilters, computeGeoArrowBBox, controlRendersLayer, convertTiffYCbCrToRgb, copyableLayerStyleKind, createCesiumIonLayer, createCesiumKmlLayer, createCzmlLayer, createDefaultAppCapabilities, createDefaultMapView, createDefaultPrintLayout, createEmptyProject, createEqualIntervalBreaks, createGraduatedClassBreaks, createLayerLibraryEntryId, createPointerElevationResolver, createProjectLayerSerializationCache, createProjectTemplate, createQuantileBreaks, createSampleStoryMap, createStyleLayerEvaluator, createStyleLibraryEntryId, csvRowsToGeocodeRequests, currentEditorIdentity, czmlSource, darkenHex, datumShiftFor, decodePolyline, decodePolylineDetailed, deriveTileMatrixSet, detachProjectCopy, detectNonGeographicCoordinates, diagramAnchor, diagramPixelSize, diagramsSuppressedByPointRenderer, diffFeatureCollections, diffProjects, documentLocale, dominantGeometry, drawMarkerPath, earthAreaToBody, earthLengthToBody, editorTrackingFieldNames, effectiveLayerRenderState, effectiveVectorRules, encodePolyline, encodeS3Key, ensureEditorTrackingFields, environmentVariableAccount, evaluateMapExpression, excludeHiddenFieldsFromGeojson, excludeHiddenFieldsFromProject, explainS3ReadError, extractCopiedLayerStyle, extractLayerStyleEntries, extractLayersFileContent, extractStyleLibraryStyle, extrusionColorValue, extrusionHeightValue, featureCollectionToGeoArrow, featureSelectionId, fetchArcGISLocatorInfo, fetchElevations, findLayerStyleEntryIndex, formatCameraAltitude, formatExpressionPreviewValue, formatLabelNumber, formatLabelNumberSample, formatPixelValue, formatPopupValue, formatRoundNum, formatS3Uri, generatorCircleRadiusValue, generatorSizeRange, geoArrowToFeatureCollection, geoJSONToPolylineStr, geocodeForward, geocodeMatchToFeature, geocodeReverse, geocodeSuggest, geocoderMinIntervalMs, geocoderNeedsApiKey, geocoderSupportsReverse, geocoderSupportsSuggest, geocodingApiKeyAccount, geojsonHasZCoordinates, getActiveBodyRadiusRatio, getActiveEllipsoid, getActiveMeanRadiusMeters, getActiveSemiMajorAxisMeters, getArcgisApiKey, getAttributeFormField, getBuildEnvironment, getCesiumIonToken, getEllipsoid, getExternalNativePaintBridge, getGeocoderConfig, getGeocodingProvider, getGoogleMapsApiKey, getHistoryCoalesceMs, getMapCrsPreset, getMapboxAccessToken, getMaxHistoryFeatureCount, getPlanetaryBasemapById, getPlanetaryBasemapByStyleUrl, getProtomapsApiKey, getProtomapsStyleUrl, getRegionalBasemapById, getRegionalBasemapByStyleUrl, getRoundNum, getRoutingConfig, getRuntimeEnvironment, getS3UrlSigner, getSpatialExtensionPath, getVectorColorRamp, googleMapsApiKeyHeaderValue, groupMemberIndices, hasActiveLayerFilter, hasActiveQuickFilter, hasAppPrivilege, hasHeaderReferences, hasPathTraversal, hasRestorableLayerSource, hasSimpleStyleProperties, heatmapRampColors, horizontalBbox, hydrateProjectLayer, identifyAllIncludes, identifyStateWithoutLayers, inferFieldTypes, inferLayerCapabilities, initialLayerStyle, installCogTilerDatumShift, interpolateColors, interpolateHexColor, interpolateRampColors, intersectPrivileges, invertSelection, isAbbreviatedJpegCompression, isAbsoluteFilesystemPath, isAdoptedVectorAwaitingFeatures, isAllowedPluginManifestUrl, isAttributeFormFieldVisible, isCesiumIonLayer, isCesiumKmlLayer, isCesiumOnlyLayer, isCredentialFieldName, isCredentialUrlParam, isCredentialedS3Url, isCzmlLayer, isDefaultPrintLayout, isDeploymentCapability, isDiagramStyleEnabled, isDuckDBQueryLayer, isExternalNativeLayerRecord, isGeoArrowBatch, isGooglePhotorealisticTilesetUrl, isHeaderReferenceOnly, isHexColor, isInitialLayerStyle, isInlineImageValue, isInternalPopupField, isIpadDesktopUserAgent, isMaintainedEditorTrackingField, isMapClickClaimed, isPopupClickEnabled, isPopupHoverEnabled, isRasterMarkerSource, isReferencedLayer, isRegionalBasemapSentinel, isS3Uri, isSafePopupUrl, isSecretEnvironmentVariable, isSessionOnlyLayer, isStoryHiddenLayer, isStyleLibraryTargetLayer, isStyleSpecColor, isSvgMarkerResponse, isValidMetadataDate, isValidMetadataEmail, isValidMetadataUrl, isVectorColorExpression, isochroneResponseToFeatures, jsonValuesEqual, labelFieldTextField, layerGroupDepth, layerGroupMoveability, layerGroupSortability, layerJoinKey, layerLibraryConfigPatch, layerLibraryEntryNeedsLocalFile, layerLocalPath, layerPanelGroupHeaders, lineWidthValue, localFileName, lookupProjectCredential, mapZoomStepOutputs, matchFeaturesByExpression, matchLayerStyleEntry, matrixResponseToFeatures, meanRadiusMeters, mercatorMetersPerPixelAtZoom0, mergeAttributeFormConfigs, metadataDateToRfc3339, metersWidthExpression, nextDelayMs, nextLayerPaletteColor, nominatimResultToFeature, nominatimReverseResultToDisplay, nonEmptyRecord, normalizeAppPrivileges, normalizeArcGISLocatorUrl, normalizeArcgisWkid, normalizeBlankBackgroundColor, normalizeBookmarkGroups, normalizeBookmarks, normalizeCesiumBasemap, normalizeDashboardColumns, normalizeGeocodingLocator, normalizeGeocodingProviderId, normalizeGroupContiguity, normalizeHexColor, normalizeLayerCapabilities, normalizeLayerDescriptiveMetadata, normalizeLayerLibraryEntries, normalizeLayerStyleEntries, normalizeLayersFileContent, normalizeLegendConfig, normalizeLongitude, normalizeMapCrs, normalizeMapLayout, normalizeMapViewState, normalizeModelGraph, normalizeModels, normalizeObiaWorkbench, normalizePrimaryRenderer, normalizePrintLayoutConfig, normalizeProcessingHistory, normalizeProjectComments, normalizeProjectInteraction, normalizeSecondaryMapViews, normalizeStoryChapterDurationSeconds, normalizeStoryMap, normalizeStyleLibraryEntries, normalizeWidgets, overlayStoredEnvironmentVariables, overlayStoredGeocodingApiKeys, overlayStoredPreferenceCredentials, parseArcGISLocatorInfo, parseArcGISSuggestions, parseCesiumIonAssetId, parseContours, parseCzml, parseDeploymentCapabilities, parseHexColor, parseHexColorList, parseJsonExpression, parseLayerLibrary, parseLayerStylesFile, parseLayersFile, parseMapCrsEpsgCode, parseMetadataKeywords, parseProject, parseS3BucketList, parseS3Error, parseS3ListObjects, parseS3Url, parseStoryMapCsv, parseStoryMapJson, parseStyleLibrary, parseValueMapText, patchJpegCogSource, persistedThreeDTilesRequestHeaders, pickEditorIdentity, planLayerLibraryAdd, pluginOwnsPaint, polylineStrToGeoJSON, popupFieldLabel, portableWmsTileUrl, presignS3Url, previewValue, printLayoutConfigsEqual, projectFromStore, projectPathLabel, proportionalRadiusExpression, proportionalSizeRange, readStoredAuthorName, reapplyLayerJoins, redactConfigurationCredentials, redactCredentials, redactProjectCredentials, redactUrlCredentials, redo, registerMapClickClaim, registerProjectRestoreHistory, registerS3UrlSigner, removeTrailingJsonCommas, rendererAppliesOpacity, reorderLayerGroupInPanel, requestIsochrone, requestMatrix, requestNavigationRoute, requestRoute, resolveConfiguredPopupTitle, resolveEditorTrackingConfig, resolveGeocoderConfig, resolveHeaderReferences, resolveIdentifyTarget, resolveLabelNumberLocale, resolveLayerCapabilities, resolveMapGrid, resolvePopupBody, resolvePopupImageHeight, resolvePopupMaxWidth, resolvePopupRows, resolvePopupTitle, resolveProjectHeaderReferences, resolveReadableUrl, resolveRolePrivileges, resolveSvgSource, resolveThreeDTilesRequestHeaders, rgbToHex, routeResponseToFeatures, rowCap, ruleBasedColorExpression, ruleBasedVisibilityFilter, s3ObjectHttpsUrl, sameCesiumImagery, sampleMapTerrain, sampleMapTerrainPoint, sampleRemoteElevations, sanitizeLayerStylePatch, scaleAltitudeToActiveBody, scaleDenomination, scaleSpan, scrubCommentsForRemovedLayers, scrubLegendForRemovedLayers, scrubPrintLayoutForLayers, scrubPrintLayoutForRemovedLayers, scrubWidgetsForRemovedLayers, selectLayerById, selectLayerIds, selectLayerSummaries, selectLayersWhen, selectedGeocodingLocator, serializeLayerLibrary, serializeLayerStylesFile, serializeLayersFile, serializeProject, serializeProjectWithLayerCache, serializeProjectWithLayerCacheAsync, serializeStoryMapCsv, serializeStoryMapJson, serializeStyleLibrary, setActiveEllipsoidId, setExternalNativePaintBridge, setGeocodingFetch, setGeocodingTokenProvider, setHistoryCoalesceMs, setMaxHistoryFeatureCount, setProjectCredentialLookup, setRegistryPublishableSettings, setStoredAuthorName, shouldThrottle, shouldUseTiledRendering, shouldZoomToNewLayers, simpleStyleNumberValue, sortLayerGroupInPanel, splitProjectCredentials, stacAssetMediaType, stampFeatureCollectionEditorTracking, stampFeatureEditorTracking, stampFeaturePropertiesEditorTracking, storyLayerOpacityFactor, storyLocationView, storyMapHasContent, storyVisibleLayers, stringifyPopupValue, stripGoogleMapsApiKeyHeader, stripJoinFields, stripVirtualFieldColumns, styleValue, subscribeProjectRestoreHistory, substituteExpressionVariables, supportsBridgedOpacity, transformGeojsonElevation, trimHistoryBySize, undo, unescapePolyline, uniqueImportedLayerName, unmatchedGeocodeFeature, unresolvedLayerLibraryJoins, unsignedSourceUrl, useAppCapability, useAppStore, useLayer, useLayerIds, useLayerSummaries, useLayersWhen, validateAttributeFormField, validateAttributeFormValues, validateLayerDescriptiveMetadata, validateMapExpression, valueMapLabelFor, valueMapToText, vectorCircleColorValue, vectorColorExpression, vectorFillColorValue, vectorFillOpacityValue, vectorLineColorValue, vectorOutlineColorValue, vectorStrokeWidthValue, visiblePopupFields, visiblePopupProperties, withDatumShift, withGeoKeysDatumShift, withJpegTablesPatch, withoutHistory };
|
|
9026
9013
|
|
|
9027
9014
|
//# sourceMappingURL=index.mjs.map
|