ts-maps 0.2.7 → 0.3.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.
- package/LICENSE.md +21 -0
- package/README.md +202 -141
- package/dist/core-map/assets/embedded-icons.d.ts +8 -0
- package/dist/core-map/control/AttributionControl.d.ts +12 -0
- package/dist/core-map/control/Control.d.ts +14 -0
- package/dist/core-map/control/LayersControl.d.ts +38 -0
- package/dist/core-map/control/ScaleControl.d.ts +14 -0
- package/dist/core-map/control/ZoomControl.d.ts +14 -0
- package/dist/core-map/control/index.d.ts +5 -0
- package/dist/core-map/core/Browser.d.ts +24 -0
- package/dist/core-map/core/Class.d.ts +12 -0
- package/dist/core-map/core/Events.d.ts +31 -0
- package/dist/core-map/core/Handler.d.ts +12 -0
- package/dist/core-map/core/Util.d.ts +24 -0
- package/dist/core-map/core/index.d.ts +7 -0
- package/dist/core-map/dom/Animation.d.ts +50 -0
- package/dist/core-map/dom/DomEvent.DoubleTap.d.ts +6 -0
- package/dist/core-map/dom/DomEvent.PointerEvents.d.ts +4 -0
- package/dist/core-map/dom/DomEvent.d.ts +15 -0
- package/dist/core-map/dom/DomUtil.d.ts +22 -0
- package/dist/core-map/dom/Draggable.d.ts +26 -0
- package/dist/core-map/dom/PosAnimation.d.ts +19 -0
- package/dist/core-map/dom/easing.d.ts +41 -0
- package/dist/core-map/dom/index.d.ts +8 -0
- package/dist/core-map/geo/LatLng.d.ts +18 -0
- package/dist/core-map/geo/LatLngBounds.d.ts +27 -0
- package/dist/core-map/geo/TerrainSource.d.ts +35 -0
- package/dist/core-map/geo/crs/CRS.d.ts +23 -0
- package/dist/core-map/geo/crs/EPSG3395.d.ts +7 -0
- package/dist/core-map/geo/crs/EPSG3857.d.ts +10 -0
- package/dist/core-map/geo/crs/EPSG4326.d.ts +7 -0
- package/dist/core-map/geo/crs/EarthCRS.d.ts +7 -0
- package/dist/core-map/geo/crs/SimpleCRS.d.ts +11 -0
- package/dist/core-map/geo/crs/index.d.ts +6 -0
- package/dist/core-map/geo/elevation.d.ts +23 -0
- package/dist/core-map/geo/index.d.ts +13 -0
- package/dist/core-map/geo/index.js +1204 -0
- package/dist/core-map/geo/projection/Projection.Globe.d.ts +30 -0
- package/dist/core-map/geo/projection/Projection.LonLat.d.ts +11 -0
- package/dist/core-map/geo/projection/Projection.Mercator.d.ts +6 -0
- package/dist/core-map/geo/projection/Projection.SphericalMercator.d.ts +6 -0
- package/dist/core-map/geo/projection/index.d.ts +5 -0
- package/dist/core-map/geo/terrainMesh.d.ts +21 -0
- package/dist/core-map/geometry/Bounds.d.ts +23 -0
- package/dist/core-map/geometry/LineUtil.d.ts +13 -0
- package/dist/core-map/geometry/Point.d.ts +35 -0
- package/dist/core-map/geometry/PolyUtil.d.ts +6 -0
- package/dist/core-map/geometry/RTree.d.ts +35 -0
- package/dist/core-map/geometry/Transformation.d.ts +12 -0
- package/dist/core-map/geometry/earcut.d.ts +17 -0
- package/dist/core-map/geometry/index.d.ts +10 -0
- package/dist/core-map/geometry/index.js +1586 -0
- package/dist/core-map/index.d.ts +59 -0
- package/dist/core-map/layer/BlanketOverlay.d.ts +24 -0
- package/dist/core-map/layer/DivOverlay.d.ts +40 -0
- package/dist/core-map/layer/FeatureGroup.d.ts +11 -0
- package/dist/core-map/layer/GeoJSON.d.ts +17 -0
- package/dist/core-map/layer/GeoJSONClusterSource.d.ts +54 -0
- package/dist/core-map/layer/HeatmapLayer.d.ts +40 -0
- package/dist/core-map/layer/ImageOverlay.d.ts +27 -0
- package/dist/core-map/layer/Layer.d.ts +18 -0
- package/dist/core-map/layer/LayerGroup.d.ts +16 -0
- package/dist/core-map/layer/Popup.d.ts +18 -0
- package/dist/core-map/layer/SVGOverlay.d.ts +4 -0
- package/dist/core-map/layer/Tooltip.d.ts +15 -0
- package/dist/core-map/layer/VideoOverlay.d.ts +4 -0
- package/dist/core-map/layer/index.d.ts +18 -0
- package/dist/core-map/layer/marker/DefaultIcon.d.ts +7 -0
- package/dist/core-map/layer/marker/DivIcon.d.ts +5 -0
- package/dist/core-map/layer/marker/Icon.d.ts +10 -0
- package/dist/core-map/layer/marker/Marker.Drag.d.ts +17 -0
- package/dist/core-map/layer/marker/Marker.d.ts +37 -0
- package/dist/core-map/layer/marker/index.d.ts +5 -0
- package/dist/core-map/layer/tile/GridLayer.d.ts +88 -0
- package/dist/core-map/layer/tile/RasterDEMLayer.d.ts +46 -0
- package/dist/core-map/layer/tile/TileLayer.d.ts +22 -0
- package/dist/core-map/layer/tile/VectorTileMapLayer.d.ts +145 -0
- package/dist/core-map/layer/tile/WMSTileLayer.d.ts +12 -0
- package/dist/core-map/layer/tile/index.d.ts +15 -0
- package/dist/core-map/layer/tile/urlTemplate.d.ts +17 -0
- package/dist/core-map/layer/vector/Canvas.d.ts +52 -0
- package/dist/core-map/layer/vector/Circle.d.ts +7 -0
- package/dist/core-map/layer/vector/CircleMarker.d.ts +22 -0
- package/dist/core-map/layer/vector/Path.d.ts +20 -0
- package/dist/core-map/layer/vector/Polygon.d.ts +13 -0
- package/dist/core-map/layer/vector/Polyline.d.ts +30 -0
- package/dist/core-map/layer/vector/Rectangle.d.ts +6 -0
- package/dist/core-map/layer/vector/Renderer.d.ts +12 -0
- package/dist/core-map/layer/vector/Renderer.getRenderer.d.ts +1 -0
- package/dist/core-map/layer/vector/SVG.d.ts +21 -0
- package/dist/core-map/layer/vector/index.d.ts +10 -0
- package/dist/core-map/map/Map.d.ts +353 -0
- package/dist/core-map/map/Style.d.ts +29 -0
- package/dist/core-map/map/handler/BoxZoomHandler.d.ts +23 -0
- package/dist/core-map/map/handler/DoubleClickZoomHandler.d.ts +6 -0
- package/dist/core-map/map/handler/DragHandler.d.ts +27 -0
- package/dist/core-map/map/handler/KeyboardHandler.d.ts +18 -0
- package/dist/core-map/map/handler/PinchZoomHandler.d.ts +20 -0
- package/dist/core-map/map/handler/ScrollWheelZoomHandler.d.ts +12 -0
- package/dist/core-map/map/handler/TapHoldHandler.d.ts +15 -0
- package/dist/core-map/map/handler/TwoFingerPitchHandler.d.ts +21 -0
- package/dist/core-map/map/handler/TwoFingerRotateHandler.d.ts +17 -0
- package/dist/core-map/map/index.d.ts +11 -0
- package/dist/core-map/mvt/VectorTile.d.ts +9 -0
- package/dist/core-map/mvt/VectorTileFeature.d.ts +59 -0
- package/dist/core-map/mvt/VectorTileLayer.d.ts +13 -0
- package/dist/core-map/proto/Pbf.d.ts +84 -0
- package/dist/core-map/renderer/webgl/GLContext.d.ts +22 -0
- package/dist/core-map/renderer/webgl/WebGLTileRenderer.d.ts +86 -0
- package/dist/core-map/renderer/webgl/index.d.ts +9 -0
- package/dist/core-map/renderer/webgl/mat4.d.ts +14 -0
- package/dist/core-map/services/index.d.ts +26 -0
- package/dist/core-map/services/index.js +1230 -0
- package/dist/core-map/services/providers/Google.d.ts +16 -0
- package/dist/core-map/services/providers/Mapbox.d.ts +26 -0
- package/dist/core-map/services/providers/Maptiler.d.ts +11 -0
- package/dist/core-map/services/providers/Nominatim.d.ts +11 -0
- package/dist/core-map/services/providers/OSRM.d.ts +20 -0
- package/dist/core-map/services/providers/Photon.d.ts +10 -0
- package/dist/core-map/services/providers/Valhalla.d.ts +20 -0
- package/dist/core-map/services/types.d.ts +84 -0
- package/dist/core-map/storage/TileCache.d.ts +40 -0
- package/dist/core-map/storage/cachedFetch.d.ts +13 -0
- package/dist/core-map/storage/defaultCache.d.ts +3 -0
- package/dist/core-map/storage/index.d.ts +13 -0
- package/dist/core-map/storage/index.js +283 -0
- package/dist/core-map/storage/offlineRegion.d.ts +26 -0
- package/dist/core-map/style-spec/diff.d.ts +17 -0
- package/dist/core-map/style-spec/expressions/Color.d.ts +16 -0
- package/dist/core-map/style-spec/expressions/compile.d.ts +4 -0
- package/dist/core-map/style-spec/expressions/errors.d.ts +8 -0
- package/dist/core-map/style-spec/expressions/index.d.ts +16 -0
- package/dist/core-map/style-spec/expressions/legacyFilter.d.ts +6 -0
- package/dist/core-map/style-spec/expressions/operators/conversion.d.ts +1 -0
- package/dist/core-map/style-spec/expressions/operators/interpolate.d.ts +14 -0
- package/dist/core-map/style-spec/expressions/operators/logical.d.ts +1 -0
- package/dist/core-map/style-spec/expressions/operators/lookup.d.ts +1 -0
- package/dist/core-map/style-spec/expressions/operators/math.d.ts +1 -0
- package/dist/core-map/style-spec/expressions/operators/string.d.ts +1 -0
- package/dist/core-map/style-spec/expressions/registry.d.ts +29 -0
- package/dist/core-map/style-spec/expressions/types.d.ts +48 -0
- package/dist/core-map/style-spec/expressions/validate.d.ts +13 -0
- package/dist/core-map/style-spec/index.d.ts +68 -0
- package/dist/core-map/style-spec/index.js +2529 -0
- package/dist/core-map/style-spec/schema.d.ts +381 -0
- package/dist/core-map/style-spec/types.d.ts +375 -0
- package/dist/core-map/style-spec/validate.d.ts +14 -0
- package/dist/core-map/symbols/CollisionIndex.d.ts +21 -0
- package/dist/core-map/symbols/GlyphAtlas.d.ts +38 -0
- package/dist/core-map/symbols/IconAtlas.d.ts +18 -0
- package/dist/core-map/symbols/index.d.ts +6 -0
- package/dist/core-map/symbols/index.js +501 -0
- package/dist/index.d.ts +2 -4
- package/dist/index.js +18414 -1857
- package/package.json +50 -58
- package/src/core-map/ts-maps.css +725 -0
- package/dist/components/base.d.ts +0 -17
- package/dist/components/concerns/interactable.d.ts +0 -1
- package/dist/components/line.d.ts +0 -29
- package/dist/components/marker.d.ts +0 -50
- package/dist/components/region.d.ts +0 -46
- package/dist/components/tooltip.d.ts +0 -22
- package/dist/core/apply-transform.d.ts +0 -7
- package/dist/core/coords-to-point.d.ts +0 -12
- package/dist/core/create-lines.d.ts +0 -2
- package/dist/core/create-markers.d.ts +0 -2
- package/dist/core/create-regions.d.ts +0 -2
- package/dist/core/create-series.d.ts +0 -3
- package/dist/core/get-inset-for-point.d.ts +0 -13
- package/dist/core/get-marker-position.d.ts +0 -6
- package/dist/core/index.d.ts +0 -1
- package/dist/core/reposition-labels.d.ts +0 -2
- package/dist/core/reposition-lines.d.ts +0 -2
- package/dist/core/reposition-markers.d.ts +0 -2
- package/dist/core/resize.d.ts +0 -3
- package/dist/core/set-focus.d.ts +0 -2
- package/dist/core/set-scale.d.ts +0 -2
- package/dist/core/setup-container-events.d.ts +0 -2
- package/dist/core/setup-container-touch-events.d.ts +0 -2
- package/dist/core/setup-element-events.d.ts +0 -2
- package/dist/core/setup-zoom-buttons.d.ts +0 -2
- package/dist/core/update-size.d.ts +0 -2
- package/dist/data-visualization.d.ts +0 -17
- package/dist/defaults/events.d.ts +0 -1
- package/dist/defaults/options.d.ts +0 -1
- package/dist/event-handler.d.ts +0 -1
- package/dist/legend.d.ts +0 -17
- package/dist/map.d.ts +0 -81
- package/dist/maps/brasil.d.ts +0 -2
- package/dist/maps/brasil.js +0 -7
- package/dist/maps/canada.d.ts +0 -2
- package/dist/maps/canada.js +0 -7
- package/dist/maps/iraq.d.ts +0 -2
- package/dist/maps/iraq.js +0 -84
- package/dist/maps/italy.d.ts +0 -2
- package/dist/maps/italy.js +0 -7
- package/dist/maps/russia.d.ts +0 -2
- package/dist/maps/russia.js +0 -366
- package/dist/maps/spain.d.ts +0 -2
- package/dist/maps/spain.js +0 -7
- package/dist/maps/us-aea-en.d.ts +0 -2
- package/dist/maps/us-aea-en.js +0 -7
- package/dist/maps/us-lcc-en.d.ts +0 -2
- package/dist/maps/us-lcc-en.js +0 -7
- package/dist/maps/us-merc-en.d.ts +0 -2
- package/dist/maps/us-merc-en.js +0 -7
- package/dist/maps/us-mill-en.d.ts +0 -2
- package/dist/maps/us-mill-en.js +0 -7
- package/dist/maps/world-merc.d.ts +0 -2
- package/dist/maps/world-merc.js +0 -7
- package/dist/maps/world.d.ts +0 -2
- package/dist/maps/world.js +0 -7
- package/dist/projection.d.ts +0 -1
- package/dist/scales/ordinal-scale.d.ts +0 -12
- package/dist/series.d.ts +0 -14
- package/dist/svg/base-element.d.ts +0 -19
- package/dist/svg/canvas-element.d.ts +0 -21
- package/dist/svg/image-element.d.ts +0 -12
- package/dist/svg/shape-element.d.ts +0 -19
- package/dist/svg/text-element.d.ts +0 -7
- package/dist/types.d.ts +0 -418
- package/dist/util/deep-merge.d.ts +0 -2
- package/dist/util/index.d.ts +0 -18
- package/dist/utils.d.ts +0 -87
- package/dist/vector-map.d.ts +0 -5
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function registerInterpolateOps(): void;
|
|
2
|
+
declare type Interp = {
|
|
3
|
+
kind: 'linear'
|
|
4
|
+
} | {
|
|
5
|
+
kind: 'exponential'
|
|
6
|
+
base: number
|
|
7
|
+
} | {
|
|
8
|
+
kind: 'cubic-bezier'
|
|
9
|
+
bezier: (u: number) => number
|
|
10
|
+
}
|
|
11
|
+
// Pick the blender for a given return type. For types we don't know how to
|
|
12
|
+
// interpolate (strings, booleans, resolved images) we fall back to stepping —
|
|
13
|
+
// the spec says this is the required behaviour.
|
|
14
|
+
declare type Blender = (_a: unknown, _b: unknown, _t: number) => unknown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function registerLogicalOps(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function registerLookupOps(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function registerMathOps(): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function registerStringOps(): void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { CompiledExpression, ExpressionType } from './types';
|
|
2
|
+
// `ExpressionType` is used in the `OperatorCompiler` signature below — export
|
|
3
|
+
// so consumers can satisfy the shape without reaching into `./types` directly.
|
|
4
|
+
export type { ExpressionType };
|
|
5
|
+
export declare function registerOperator(name: string, fn: OperatorCompiler): void;
|
|
6
|
+
export declare function getOperator(name: string): OperatorCompiler | undefined;
|
|
7
|
+
export declare function hasOperator(name: string): boolean;
|
|
8
|
+
// Introspection for validators — walkers that need to know whether a head
|
|
9
|
+
// token is a known operator (vs. an arbitrary data literal).
|
|
10
|
+
export declare function listOperators(): string[];
|
|
11
|
+
// A compiler callback — operators call this to compile their child arguments.
|
|
12
|
+
// `expected` is the type the child should produce; 'value' means anything.
|
|
13
|
+
export type CompileFn = (
|
|
14
|
+
expr: unknown,
|
|
15
|
+
expected: ExpressionType,
|
|
16
|
+
path: (string | number)[],
|
|
17
|
+
) => CompiledExpression;
|
|
18
|
+
// An operator's compile-time function: given the raw expression array and a
|
|
19
|
+
// recursive compiler, return a CompiledExpression. The operator owns arity
|
|
20
|
+
// checking and argument compilation; the central compiler does not look at
|
|
21
|
+
// the shape of individual operator arguments. `expected` is the type the
|
|
22
|
+
// enclosing context wants back — used by `interpolate`/`step` to decide how
|
|
23
|
+
// their child branches should be compiled.
|
|
24
|
+
export type OperatorCompiler = (
|
|
25
|
+
args: unknown[],
|
|
26
|
+
compile: CompileFn,
|
|
27
|
+
path: (string | number)[],
|
|
28
|
+
expected: ExpressionType,
|
|
29
|
+
) => CompiledExpression;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
// Everything the evaluator needs to resolve an expression against a feature
|
|
2
|
+
// at a given zoom level. `feature` and `featureState` are optional because
|
|
3
|
+
// zoom-only expressions don't need them; we use that fact downstream to
|
|
4
|
+
// decide whether a compiled expression can be cached across features.
|
|
5
|
+
export declare interface EvaluationContext {
|
|
6
|
+
zoom: number
|
|
7
|
+
feature?: {
|
|
8
|
+
type: 1 | 2 | 3
|
|
9
|
+
id?: number | string
|
|
10
|
+
properties: Record<string, unknown>
|
|
11
|
+
}
|
|
12
|
+
featureState?: Record<string, unknown>
|
|
13
|
+
lineProgress?: number
|
|
14
|
+
globalProperties?: {
|
|
15
|
+
bearing?: number
|
|
16
|
+
pitch?: number
|
|
17
|
+
zoom: number
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
// A compiled expression: a closure plus metadata the renderer uses to decide
|
|
21
|
+
// whether it needs to re-evaluate on zoom change, on feature change, or on
|
|
22
|
+
// feature-state change. Every flag starts false and ORs upward as children
|
|
23
|
+
// propagate their dependencies.
|
|
24
|
+
export declare interface CompiledExpression {
|
|
25
|
+
evaluate: (ctx: EvaluationContext) => unknown
|
|
26
|
+
returnType: ExpressionType
|
|
27
|
+
dependsOnZoom: boolean
|
|
28
|
+
dependsOnFeature: boolean
|
|
29
|
+
dependsOnFeatureState: boolean
|
|
30
|
+
}
|
|
31
|
+
// Internal types for the expression evaluator. These are kept separate from
|
|
32
|
+
// the public style-spec types to keep the surface area small — callers should
|
|
33
|
+
// import from `./index` rather than reaching in here directly.
|
|
34
|
+
// The set of runtime types an expression can return. `value` is the catch-all
|
|
35
|
+
// used when a position accepts anything; the evaluator will still validate
|
|
36
|
+
// against the expected type of the enclosing property.
|
|
37
|
+
export type ExpressionType = | 'string'
|
|
38
|
+
| 'number'
|
|
39
|
+
| 'boolean'
|
|
40
|
+
| 'color'
|
|
41
|
+
| 'array'
|
|
42
|
+
| 'null'
|
|
43
|
+
| 'formatted'
|
|
44
|
+
| 'resolvedImage'
|
|
45
|
+
| 'value';
|
|
46
|
+
// A parsed RGBA color in [0..1] space. Stored as a plain tuple to keep the
|
|
47
|
+
// evaluator allocation-lean in hot loops — no wrapper objects.
|
|
48
|
+
export type RGBA = [number, number, number, number];
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ExpressionType } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Quick predicate: does this value look like an expression? Used by the
|
|
4
|
+
* style-spec validator to decide whether to hand off to us or to match
|
|
5
|
+
* literal-shape rules.
|
|
6
|
+
*/
|
|
7
|
+
export declare function isExpression(value: unknown): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Validate an expression statically. Returns an array of error messages;
|
|
10
|
+
* empty array means valid. Non-array inputs are accepted unconditionally
|
|
11
|
+
* here — literal shape checking belongs to the caller's schema pass.
|
|
12
|
+
*/
|
|
13
|
+
export declare function validateExpression(value: unknown, expectedType: ExpressionType): string[];
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export type { StyleDiff, StyleDiffCommand } from './diff';
|
|
2
|
+
export type {
|
|
3
|
+
CompiledExpression,
|
|
4
|
+
EvaluationContext,
|
|
5
|
+
ExpressionType,
|
|
6
|
+
RGBA,
|
|
7
|
+
} from './expressions/index';
|
|
8
|
+
export type { PropertySchema, PropertySchemaType } from './schema';
|
|
9
|
+
export type {
|
|
10
|
+
BackgroundLayerSpecification,
|
|
11
|
+
BackgroundLayoutSpecification,
|
|
12
|
+
BackgroundPaintSpecification,
|
|
13
|
+
CircleLayerSpecification,
|
|
14
|
+
CircleLayoutSpecification,
|
|
15
|
+
CirclePaintSpecification,
|
|
16
|
+
ColorSpecification,
|
|
17
|
+
ExpressionSpecification,
|
|
18
|
+
FillLayerSpecification,
|
|
19
|
+
FillLayoutSpecification,
|
|
20
|
+
FillPaintSpecification,
|
|
21
|
+
FilterSpecification,
|
|
22
|
+
FormattedSpecification,
|
|
23
|
+
GeoJSONSourceSpecification,
|
|
24
|
+
LayerSpecification,
|
|
25
|
+
LayerType,
|
|
26
|
+
LightSpecification,
|
|
27
|
+
LineLayerSpecification,
|
|
28
|
+
LineLayoutSpecification,
|
|
29
|
+
LinePaintSpecification,
|
|
30
|
+
PaddingSpecification,
|
|
31
|
+
PromoteIdSpecification,
|
|
32
|
+
PropertyValueSpecification,
|
|
33
|
+
RasterDEMSourceSpecification,
|
|
34
|
+
RasterLayerSpecification,
|
|
35
|
+
RasterLayoutSpecification,
|
|
36
|
+
RasterPaintSpecification,
|
|
37
|
+
RasterSourceSpecification,
|
|
38
|
+
ResolvedImageSpecification,
|
|
39
|
+
SourceSpecification,
|
|
40
|
+
SpriteSource,
|
|
41
|
+
Style,
|
|
42
|
+
SymbolLayerSpecification,
|
|
43
|
+
SymbolLayoutSpecification,
|
|
44
|
+
SymbolPaintSpecification,
|
|
45
|
+
TransitionSpecification,
|
|
46
|
+
VectorSourceSpecification,
|
|
47
|
+
} from './types';
|
|
48
|
+
export type { ValidationError } from './validate';
|
|
49
|
+
export { diffStyles } from './diff';
|
|
50
|
+
export {
|
|
51
|
+
compile as compileExpression,
|
|
52
|
+
convertLegacyFilter,
|
|
53
|
+
evaluate as evaluateExpression,
|
|
54
|
+
ExpressionError,
|
|
55
|
+
formatColor,
|
|
56
|
+
isExpression,
|
|
57
|
+
lerpColor,
|
|
58
|
+
parseColor,
|
|
59
|
+
validateExpression,
|
|
60
|
+
} from './expressions/index';
|
|
61
|
+
export { layerTypes, layoutPropertySchemas, paintPropertySchemas, sourceTypes } from './schema';
|
|
62
|
+
export {
|
|
63
|
+
validateLayer,
|
|
64
|
+
validateLayoutProperty,
|
|
65
|
+
validatePaintProperty,
|
|
66
|
+
validateSource,
|
|
67
|
+
validateStyle,
|
|
68
|
+
} from './validate';
|