@maptiler/sdk 3.10.0-rc.2 → 3.10.0

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.
Files changed (83) hide show
  1. package/package.json +1 -1
  2. package/dist/eslint.mjs +0 -133
  3. package/dist/maptiler-sdk.d.ts +0 -2
  4. package/dist/maptiler-sdk.mjs +0 -14226
  5. package/dist/maptiler-sdk.mjs.map +0 -1
  6. package/dist/src/ColorRamp.d.ts +0 -359
  7. package/dist/src/ImageViewer/ImageViewer.d.ts +0 -408
  8. package/dist/src/ImageViewer/ImageViewerMarker.d.ts +0 -236
  9. package/dist/src/ImageViewer/events.d.ts +0 -47
  10. package/dist/src/ImageViewer/index.d.ts +0 -5
  11. package/dist/src/ImageViewer/monkeyPatchML.d.ts +0 -10
  12. package/dist/src/ImageViewer/symbols.d.ts +0 -2
  13. package/dist/src/MLAdapters/AttributionControl.d.ts +0 -5
  14. package/dist/src/MLAdapters/BoxZoomHandler.d.ts +0 -7
  15. package/dist/src/MLAdapters/CanvasSource.d.ts +0 -5
  16. package/dist/src/MLAdapters/CooperativeGesturesHandler.d.ts +0 -5
  17. package/dist/src/MLAdapters/FullscreenControl.d.ts +0 -5
  18. package/dist/src/MLAdapters/GeoJSONSource.d.ts +0 -5
  19. package/dist/src/MLAdapters/GeolocateControl.d.ts +0 -5
  20. package/dist/src/MLAdapters/ImageSource.d.ts +0 -5
  21. package/dist/src/MLAdapters/KeyboardHandler.d.ts +0 -5
  22. package/dist/src/MLAdapters/LogoControl.d.ts +0 -5
  23. package/dist/src/MLAdapters/MapMouseEvent.d.ts +0 -5
  24. package/dist/src/MLAdapters/MapTouchEvent.d.ts +0 -5
  25. package/dist/src/MLAdapters/MapWheelEvent.d.ts +0 -5
  26. package/dist/src/MLAdapters/Marker.d.ts +0 -5
  27. package/dist/src/MLAdapters/NavigationControl.d.ts +0 -5
  28. package/dist/src/MLAdapters/Popup.d.ts +0 -5
  29. package/dist/src/MLAdapters/RasterDEMTileSource.d.ts +0 -5
  30. package/dist/src/MLAdapters/RasterTileSource.d.ts +0 -5
  31. package/dist/src/MLAdapters/ScaleControl.d.ts +0 -5
  32. package/dist/src/MLAdapters/ScrollZoomHandler.d.ts +0 -5
  33. package/dist/src/MLAdapters/Style.d.ts +0 -5
  34. package/dist/src/MLAdapters/TerrainControl.d.ts +0 -5
  35. package/dist/src/MLAdapters/TwoFingersTouchPitchHandler.d.ts +0 -5
  36. package/dist/src/MLAdapters/VectorTileSource.d.ts +0 -5
  37. package/dist/src/MLAdapters/VideoSource.d.ts +0 -5
  38. package/dist/src/Map.d.ts +0 -480
  39. package/dist/src/Point.d.ts +0 -177
  40. package/dist/src/Telemetry.d.ts +0 -23
  41. package/dist/src/caching.d.ts +0 -4
  42. package/dist/src/config.d.ts +0 -85
  43. package/dist/src/constants/defaults.d.ts +0 -15
  44. package/dist/src/controls/ImageViewerFitImageToBoundsControl.d.ts +0 -13
  45. package/dist/src/controls/MaptilerCustomControl.d.ts +0 -17
  46. package/dist/src/controls/MaptilerExternalControl.d.ts +0 -25
  47. package/dist/src/controls/MaptilerGeolocateControl.d.ts +0 -21
  48. package/dist/src/controls/MaptilerLogoControl.d.ts +0 -19
  49. package/dist/src/controls/MaptilerNavigationControl.d.ts +0 -17
  50. package/dist/src/controls/MaptilerProjectionControl.d.ts +0 -15
  51. package/dist/src/controls/MaptilerTerrainControl.d.ts +0 -17
  52. package/dist/src/controls/Minimap.d.ts +0 -57
  53. package/dist/src/controls/index.d.ts +0 -8
  54. package/dist/src/converters/index.d.ts +0 -1
  55. package/dist/src/converters/xml.d.ts +0 -54
  56. package/dist/src/custom-layers/CubemapLayer/CubemapLayer.d.ts +0 -239
  57. package/dist/src/custom-layers/CubemapLayer/constants.d.ts +0 -3
  58. package/dist/src/custom-layers/CubemapLayer/index.d.ts +0 -2
  59. package/dist/src/custom-layers/CubemapLayer/loadCubemapTexture.d.ts +0 -43
  60. package/dist/src/custom-layers/CubemapLayer/types.d.ts +0 -67
  61. package/dist/src/custom-layers/RadialGradientLayer/RadialGradientLayer.d.ts +0 -149
  62. package/dist/src/custom-layers/RadialGradientLayer/index.d.ts +0 -2
  63. package/dist/src/custom-layers/RadialGradientLayer/types.d.ts +0 -50
  64. package/dist/src/custom-layers/extractCustomLayerStyle.d.ts +0 -17
  65. package/dist/src/custom-layers/index.d.ts +0 -6
  66. package/dist/src/helpers/index.d.ts +0 -5
  67. package/dist/src/helpers/screenshot.d.ts +0 -18
  68. package/dist/src/helpers/stylehelper.d.ts +0 -28
  69. package/dist/src/helpers/vectorlayerhelpers.d.ts +0 -508
  70. package/dist/src/index.d.ts +0 -100
  71. package/dist/src/language.d.ts +0 -107
  72. package/dist/src/mapstyle.d.ts +0 -18
  73. package/dist/src/ml-types.d.ts +0 -634
  74. package/dist/src/tools.d.ts +0 -84
  75. package/dist/src/types.d.ts +0 -1
  76. package/dist/src/utils/dom.d.ts +0 -2
  77. package/dist/src/utils/errors.d.ts +0 -5
  78. package/dist/src/utils/geo-utils.d.ts +0 -6
  79. package/dist/src/utils/index.d.ts +0 -1
  80. package/dist/src/utils/logSDKVersion.d.ts +0 -1
  81. package/dist/src/utils/math-utils.d.ts +0 -8
  82. package/dist/src/utils/object.d.ts +0 -1
  83. package/dist/src/utils/webgl-utils.d.ts +0 -49
@@ -1,10 +0,0 @@
1
- import { LngLat, Marker, Point, PositionAnchor, TransformConstrainFunction } from '../index';
2
- export declare function unprojectFromWorldCoordinates(worldSize: number, point: Point): LngLat;
3
- export declare const overpanningUnderzoomingTransformConstrain: TransformConstrainFunction;
4
- export declare const anchorTranslate: Record<PositionAnchor, string>;
5
- /**
6
- * Monkey patches the Marker instance to remove wrapping. Because pixel projection does not wrap like lnglat.
7
- * See here https://github.com/maplibre/maplibre-gl-js/blob/14f56b00e0f08784681ef98f0731c60f3923a4a9/src/ui/marker.ts#L601
8
- * @param {Marker} marker - The Marker instance to patch.
9
- */
10
- export declare function monkeyPatchMarkerInstanceToRemoveWrapping(marker: Marker): void;
@@ -1,2 +0,0 @@
1
- export declare const lngLatToPxInternalSymbolKey: unique symbol;
2
- export declare const pxToLngLatInternalSymbolKey: unique symbol;
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class AttributionControl extends maplibregl.AttributionControl {
4
- onAdd(map: SDKMap | MapMLGL): HTMLElement;
5
- }
@@ -1,7 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class BoxZoomHandler extends maplibregl.BoxZoomHandler {
4
- constructor(map: SDKMap | MapMLGL, options: {
5
- clickTolerance: number;
6
- });
7
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class CanvasSource extends maplibregl.CanvasSource {
4
- onAdd(map: SDKMap | MapMLGL): void;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, GestureOptions, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class CooperativeGesturesHandler extends maplibregl.CooperativeGesturesHandler {
4
- constructor(map: SDKMap | MapMLGL, options: GestureOptions);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class FullscreenControl extends maplibregl.FullscreenControl {
4
- onAdd(map: SDKMap | MapMLGL): HTMLElement;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class GeoJSONSource extends maplibregl.GeoJSONSource {
4
- onAdd(map: SDKMap | MapMLGL): void;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class GeolocateControl extends maplibregl.GeolocateControl {
4
- onAdd(map: SDKMap | MapMLGL): HTMLElement;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class ImageSource extends maplibregl.ImageSource {
4
- onAdd(map: SDKMap | MapMLGL): void;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class KeyboardHandler extends maplibregl.KeyboardHandler {
4
- constructor(map: SDKMap | MapMLGL);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class LogoControl extends maplibregl.LogoControl {
4
- onAdd(map: SDKMap | MapMLGL): HTMLElement;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class MapMouseEvent extends maplibregl.MapMouseEvent {
4
- constructor(type: string, map: SDKMap | MapMLGL, originalEvent: MouseEvent, data?: Record<string, unknown>);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class MapTouchEvent extends maplibregl.MapTouchEvent {
4
- constructor(type: string, map: SDKMap | MapMLGL, originalEvent: TouchEvent);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class MapWheelEvent extends maplibregl.MapWheelEvent {
4
- constructor(type: string, map: SDKMap | MapMLGL, originalEvent: WheelEvent);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class Marker extends maplibregl.Marker {
4
- addTo(map: SDKMap | MapMLGL): this;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class NavigationControl extends maplibregl.NavigationControl {
4
- onAdd(map: SDKMap | MapMLGL): HTMLElement;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class Popup extends maplibregl.Popup {
4
- addTo(map: SDKMap | MapMLGL): this;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class RasterDEMTileSource extends maplibregl.RasterDEMTileSource {
4
- onAdd(map: SDKMap | MapMLGL): void;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class RasterTileSource extends maplibregl.RasterTileSource {
4
- onAdd(map: SDKMap | MapMLGL): void;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class ScaleControl extends maplibregl.ScaleControl {
4
- onAdd(map: SDKMap | MapMLGL): HTMLElement;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class ScrollZoomHandler extends maplibregl.ScrollZoomHandler {
4
- constructor(map: SDKMap | MapMLGL, triggerRenderFrame: () => void);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, StyleOptions } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class Style extends maplibregl.Style {
4
- constructor(map: SDKMap, options?: StyleOptions);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class TerrainControl extends maplibregl.TerrainControl {
4
- onAdd(map: SDKMap | MapMLGL): HTMLElement;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class TwoFingersTouchPitchHandler extends maplibregl.TwoFingersTouchPitchHandler {
4
- constructor(map: SDKMap | MapMLGL);
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class VectorTileSource extends maplibregl.VectorTileSource {
4
- onAdd(map: SDKMap | MapMLGL): void;
5
- }
@@ -1,5 +0,0 @@
1
- import { default as maplibregl, Map as MapMLGL } from 'maplibre-gl';
2
- import { Map as SDKMap } from '../Map';
3
- export declare class VideoSource extends maplibregl.VideoSource {
4
- onAdd(map: SDKMap | MapMLGL): void;
5
- }