maplibre-gl-raster 0.14.12 → 0.14.13

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/README.md CHANGED
@@ -117,7 +117,7 @@ The main control class implementing MapLibre's `IControl` interface.
117
117
  | `interleaved` | `boolean` | `true` | Render the deck.gl overlay interleaved with the basemap layers |
118
118
  | `defaultUrl` | `string` | `''` | Prefills the Add data URL input (not loaded until the user clicks Load) |
119
119
  | `autoLoad` | `boolean` | `false` | Load `defaultUrl` automatically when the control is added to the map |
120
- | `sampleData` | `RasterSampleDataset[]` | - | Sample COGs offered as a "Load sample data" dropdown above the URL input; picking one fills the input (hidden when empty) |
120
+ | `sampleData` | `RasterSampleDataset[]` | - | Sample COGs offered as a "Load sample data" dropdown below the Add data inputs; picking one fills the URL (and attribution) input, not loaded until the user clicks Load (hidden when empty) |
121
121
  | `sampleDataLabel` | `string` | `'Load sample data...'` | Placeholder shown in the sample-data dropdown |
122
122
  | `closeOnOutsideClick` | `boolean` | `true` | Collapse the panel when clicking outside it; set `false` to close only via the header button |
123
123
  | `engine` | `RenderEngine` | `'maplibre-gl-raster'` | Initial rendering backend; switchable at runtime from the panel |
@@ -21054,7 +21054,6 @@ var AddDataSection = class {
21054
21054
  input.value = sample.url;
21055
21055
  if (sample.attribution) attributionInput.value = sample.attribution;
21056
21056
  loadBtn.disabled = input.value.trim().length === 0;
21057
- submitUrl();
21058
21057
  });
21059
21058
  menu.appendChild(option);
21060
21059
  }
@@ -23359,4 +23358,4 @@ var RasterControl = class {
23359
23358
  //#endregion
23360
23359
  export { PlanarConfiguration as $, TITILER_TMS as A, colormapDisplayName as B, VrtUnsupportedError as C, parseVrt as D, loadVrt as E, sampleColormapStops as F, MAX_SAMPLE_TILES as G, DEFAULT_INDEX_RANGE as H, COLORMAP_DISPLAY_NAMES as I, mergeBandStats as J, computeAutoStats as K, COLORMAP_NAMES as L, PALETTE_COLORMAP as M, isKnownColormap as N, loadGeoTIFF as O, loadColormapSprite as P, Photometric as Q, COLORMAP_OPTIONS as R, throttle as S, isVrtUrl as T, autoRangeFor as U, colormaps_default as V, statsForBand as W, readBandNames as X, percentileFromHistogram as Y, Compression as Z, clamp as _, NORMALIZED_DIFFERENCE_INDICES as a, createResilientEpsgResolver as at, formatNumericValue as b, DEFAULT_ENGINE as c, MosaicUnsupportedError as d, Predictor as et, assetUrlToHttps as f, parseMosaic as g, mosaicMinZoom as h, CUSTOM_NORMALIZED_DIFFERENCE as i, readRasterWindow as it, isMosaicJsonUrl as j, DEFAULT_TITILER_ENDPOINT as k, LayerManager as l, mosaicInitialView as m, Colorbar as n, TiffTag as nt, guessBandForRole as o, loadMosaic as p, mergeAutoStats as q, CUSTOM_INDEX_ID as r, readPixelValues as rt, indexById as s, RasterControl as t, SampleFormat as tt, MAX_MOSAIC_ASSETS as u, classNames as v, isVrtFile as w, generateId as x, debounce as y, COLORMAP_ROW_COUNT as z };
23361
23360
 
23362
- //# sourceMappingURL=RasterControl-5Xo2rM_m.js.map
23361
+ //# sourceMappingURL=RasterControl-6TZSLwPL.js.map