@tangram.gl/tangram-renderer 0.0.0-stage → 0.0.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/README.md +60 -2
- package/dist/core.js +36923 -0
- package/dist/core.js.map +6 -0
- package/dist/index.js +32 -0
- package/dist/loaders-gl-worker.js +82 -0
- package/dist/loaders-gl-worker.js.map +6 -0
- package/dist/map-logic.js +2 -0
- package/dist/map-logic.js.map +6 -0
- package/dist/projected-basemaps-worker.js +3 -0
- package/dist/projected-basemaps-worker.js.map +6 -0
- package/dist/shader-modules.js +141 -0
- package/dist/shader-modules.js.map +6 -0
- package/dist/style-schema.js +126 -0
- package/dist/style-schema.js.map +6 -0
- package/dist/tangram-style.schema.json +882 -0
- package/dist/tangram.debug.mjs +37139 -0
- package/dist/tangram.debug.mjs.map +6 -0
- package/dist/tangram.min.mjs +4950 -0
- package/dist/types/builders/earcut.d.ts +15 -0
- package/dist/types/core.d.ts +29 -0
- package/dist/types/gl/constants.d.ts +2 -0
- package/dist/types/gl/globe_mesh.d.ts +48 -0
- package/dist/types/gl/glsl.d.ts +17 -0
- package/dist/types/gl/vertex-constants.d.ts +4 -0
- package/dist/types/gl/vertex-types.d.ts +34 -0
- package/dist/types/gl/vertex_data.d.ts +32 -0
- package/dist/types/gl/vertex_elements.d.ts +8 -0
- package/dist/types/gl/vertex_layout.d.ts +32 -0
- package/dist/types/glsl.d.ts +14 -0
- package/dist/types/gpu/luma_device_renderer.d.ts +66 -0
- package/dist/types/gpu/resource_lifecycle.d.ts +4 -0
- package/dist/types/gpu/tangram_gpu_backend.d.ts +151 -0
- package/dist/types/index.d.ts +155 -0
- package/dist/types/lights/light-definitions.d.ts +121 -0
- package/dist/types/map-logic/draped-terrain-bounds.d.ts +41 -0
- package/dist/types/map-logic/globe-terrain-preparation.d.ts +85 -0
- package/dist/types/map-logic/globe-terrain.d.ts +54 -0
- package/dist/types/map-logic/index.d.ts +33 -0
- package/dist/types/map-logic/label-identity.d.ts +22 -0
- package/dist/types/map-logic/label-placement.d.ts +32 -0
- package/dist/types/map-logic/screen-bounds.d.ts +15 -0
- package/dist/types/map-logic/terrain-data.d.ts +55 -0
- package/dist/types/map-logic/terrain-error.d.ts +51 -0
- package/dist/types/map-logic/terrain-ground-topology.d.ts +26 -0
- package/dist/types/map-logic/terrain-height-field.d.ts +59 -0
- package/dist/types/map-logic/terrain-navigation.d.ts +27 -0
- package/dist/types/map-logic/terrain-neighborhood.d.ts +5 -0
- package/dist/types/map-logic/terrain-query.d.ts +33 -0
- package/dist/types/map-logic/terrain-resource-budget.d.ts +51 -0
- package/dist/types/map-logic/terrain-transition-topology.d.ts +23 -0
- package/dist/types/map-logic/tile-build-queue.d.ts +51 -0
- package/dist/types/map-logic/tile-cache-policy.d.ts +46 -0
- package/dist/types/map-logic/tile-residency.d.ts +17 -0
- package/dist/types/map-logic/triangle-query-index.d.ts +87 -0
- package/dist/types/procedures/js-yaml.d.ts +15 -0
- package/dist/types/procedures/mesh-projector.d.ts +107 -0
- package/dist/types/procedures/mvt-dependencies.d.ts +20 -0
- package/dist/types/procedures/projected-coordinate-transform.d.ts +27 -0
- package/dist/types/procedures/projection-batch-executor.d.ts +53 -0
- package/dist/types/procedures/scene-yaml-legacy.d.ts +6 -0
- package/dist/types/procedures/terrain-draping.d.ts +165 -0
- package/dist/types/procedures/terrain-globe.d.ts +6 -0
- package/dist/types/procedures/terrain-styled-topology.d.ts +34 -0
- package/dist/types/procedures/web-mercator-legacy.d.ts +4 -0
- package/dist/types/procedures/web-mercator-math.d.ts +4 -0
- package/dist/types/scene/globals.d.ts +11 -0
- package/dist/types/scene/ground_footprint.d.ts +16 -0
- package/dist/types/scene/host_frame.d.ts +54 -0
- package/dist/types/scene/projection_math.d.ts +52 -0
- package/dist/types/scene/scene-resource-types.d.ts +177 -0
- package/dist/types/scene/scene_bundle.d.ts +69 -0
- package/dist/types/scene/visibility_adapter.d.ts +106 -0
- package/dist/types/selection/draped-terrain-surface.d.ts +78 -0
- package/dist/types/selection/terrain_surface.d.ts +149 -0
- package/dist/types/shader-modules/globe-horizon.d.ts +15 -0
- package/dist/types/shader-modules/height-decode.d.ts +13 -0
- package/dist/types/shader-modules/hillshade.d.ts +13 -0
- package/dist/types/shader-modules/index.d.ts +6 -0
- package/dist/types/shader-modules/planar.d.ts +12 -0
- package/dist/types/shader-modules/sphere-map.d.ts +13 -0
- package/dist/types/shader-modules/triplanar.d.ts +15 -0
- package/dist/types/sources/decoded_tile_store.d.ts +95 -0
- package/dist/types/sources/tile_source_metadata.d.ts +32 -0
- package/dist/types/styles/text/fontfaceobserver.d.ts +10 -0
- package/dist/types/tile/tile_id.d.ts +37 -0
- package/dist/types/tile/tile_traversal_adapter.d.ts +63 -0
- package/dist/types/types.d.ts +293 -0
- package/dist/types/utils/geo.d.ts +57 -0
- package/dist/types/utils/hash.d.ts +1 -0
- package/dist/types/utils/log.d.ts +27 -0
- package/dist/types/utils/props.d.ts +6 -0
- package/dist/types/utils/subscribe.d.ts +10 -0
- package/dist/types/utils/thread.d.ts +6 -0
- package/dist/types/utils/urls.d.ts +26 -0
- package/dist/types/utils/utils.d.ts +26 -0
- package/dist/types/utils/version.d.ts +2 -0
- package/dist/types/utils/worker-types.d.ts +68 -0
- package/dist/types/utils/worker_broker.d.ts +3 -0
- package/package.json +103 -3
- package/src/builders/common.ts +41 -0
- package/src/builders/earcut.d.ts +15 -0
- package/src/builders/geometry-types.ts +60 -0
- package/src/builders/points.ts +115 -0
- package/src/builders/polygons.ts +225 -0
- package/src/builders/polylines.ts +682 -0
- package/src/builders/wireframe.ts +31 -0
- package/src/core.d.ts +29 -0
- package/src/core.ts +33 -0
- package/src/experimental/loaders-gl-worker.ts +19 -0
- package/src/experimental/projected-basemaps-worker.ts +13 -0
- package/src/experimental/projected-mesh-cache.ts +137 -0
- package/src/experimental/projected-mesh-domain.ts +110 -0
- package/src/experimental/projected-mesh-refinement.ts +193 -0
- package/src/experimental/projected-mesh.ts +399 -0
- package/src/experimental/projected-normal.ts +26 -0
- package/src/experimental/projected-symbol-mesh.ts +74 -0
- package/src/gl/constants.ts +18 -0
- package/src/gl/context.ts +103 -0
- package/src/gl/extensions.ts +30 -0
- package/src/gl/globe_mesh.ts +285 -0
- package/src/gl/glsl.ts +257 -0
- package/src/gl/mesh-types.ts +56 -0
- package/src/gl/render_state.ts +111 -0
- package/src/gl/shader_program.ts +1310 -0
- package/src/gl/texture.ts +814 -0
- package/src/gl/uniform_buffer.ts +340 -0
- package/src/gl/vao.ts +154 -0
- package/src/gl/vbo_mesh.ts +349 -0
- package/src/gl/vertex-constants.ts +19 -0
- package/src/gl/vertex-types.ts +35 -0
- package/src/gl/vertex_data.ts +126 -0
- package/src/gl/vertex_elements.ts +54 -0
- package/src/gl/vertex_layout.ts +241 -0
- package/src/glsl.d.ts +14 -0
- package/src/gpu/luma_device_renderer.ts +579 -0
- package/src/gpu/pixel_readback.ts +51 -0
- package/src/gpu/resource_lifecycle.ts +32 -0
- package/src/gpu/tangram_gpu_backend.ts +195 -0
- package/src/index.d.ts +155 -0
- package/src/index.ts +105 -0
- package/src/labels/collision-types.ts +94 -0
- package/src/labels/collision.ts +273 -0
- package/src/labels/collision_grid.ts +61 -0
- package/src/labels/intersect.ts +30 -0
- package/src/labels/label-types.ts +91 -0
- package/src/labels/label.ts +207 -0
- package/src/labels/label_line.ts +801 -0
- package/src/labels/label_point.ts +131 -0
- package/src/labels/main-pass-types.ts +73 -0
- package/src/labels/main_pass.ts +221 -0
- package/src/labels/point_anchor.ts +100 -0
- package/src/labels/point_placement.ts +150 -0
- package/src/labels/projected-pass.ts +259 -0
- package/src/labels/repeat_group.ts +72 -0
- package/src/lights/ambient_light.glsl +18 -0
- package/src/lights/directional_light.glsl +39 -0
- package/src/lights/geographic-lights.ts +21 -0
- package/src/lights/light-definitions.ts +285 -0
- package/src/lights/light.ts +590 -0
- package/src/lights/lighting-uniforms.ts +80 -0
- package/src/lights/lighting-wgsl.ts +116 -0
- package/src/lights/material.glsl +237 -0
- package/src/lights/material.ts +145 -0
- package/src/lights/native-falloff.ts +37 -0
- package/src/lights/point_light.glsl +96 -0
- package/src/lights/spot_light.glsl +111 -0
- package/src/map-logic/draped-terrain-bounds.ts +71 -0
- package/src/map-logic/globe-terrain-preparation.ts +217 -0
- package/src/map-logic/globe-terrain.ts +296 -0
- package/src/map-logic/index.ts +37 -0
- package/src/map-logic/label-identity.ts +36 -0
- package/src/map-logic/label-placement.ts +117 -0
- package/src/map-logic/screen-bounds.ts +34 -0
- package/src/map-logic/terrain-data.ts +107 -0
- package/src/map-logic/terrain-error.ts +134 -0
- package/src/map-logic/terrain-ground-topology.ts +164 -0
- package/src/map-logic/terrain-height-field.ts +254 -0
- package/src/map-logic/terrain-navigation.ts +50 -0
- package/src/map-logic/terrain-neighborhood.ts +43 -0
- package/src/map-logic/terrain-query.ts +51 -0
- package/src/map-logic/terrain-resource-budget.ts +124 -0
- package/src/map-logic/terrain-transition-topology.ts +164 -0
- package/src/map-logic/tile-build-queue.ts +110 -0
- package/src/map-logic/tile-cache-policy.ts +89 -0
- package/src/map-logic/tile-residency.ts +50 -0
- package/src/map-logic/triangle-query-index.ts +265 -0
- package/src/procedures/js-yaml.d.ts +15 -0
- package/src/procedures/mesh-projector.ts +191 -0
- package/src/procedures/mlt-loaders.ts +55 -0
- package/src/procedures/mvt-dependencies.d.ts +20 -0
- package/src/procedures/mvt-legacy.ts +150 -0
- package/src/procedures/mvt-loaders.ts +53 -0
- package/src/procedures/mvt-parser.ts +48 -0
- package/src/procedures/mvt-properties.ts +36 -0
- package/src/procedures/mvt-tile-provider.ts +72 -0
- package/src/procedures/pmtiles-loader.ts +75 -0
- package/src/procedures/projected-coordinate-transform.ts +79 -0
- package/src/procedures/projection-batch-executor.ts +140 -0
- package/src/procedures/scene-yaml-legacy.ts +16 -0
- package/src/procedures/scene-yaml-loaders.ts +10 -0
- package/src/procedures/terrain-draping.ts +713 -0
- package/src/procedures/terrain-globe.ts +32 -0
- package/src/procedures/terrain-styled-topology.ts +184 -0
- package/src/procedures/web-mercator-legacy.ts +24 -0
- package/src/procedures/web-mercator-math.ts +50 -0
- package/src/scene/camera.ts +298 -0
- package/src/scene/camera_base.ts +116 -0
- package/src/scene/classic_scene.ts +20 -0
- package/src/scene/external_camera.ts +101 -0
- package/src/scene/globals.ts +120 -0
- package/src/scene/ground_footprint.ts +139 -0
- package/src/scene/host_frame.ts +326 -0
- package/src/scene/projected_tile_lod.ts +125 -0
- package/src/scene/projection_math.ts +142 -0
- package/src/scene/projection_shaders.ts +183 -0
- package/src/scene/renderer.ts +516 -0
- package/src/scene/scene-resource-types.ts +174 -0
- package/src/scene/scene.ts +2378 -0
- package/src/scene/scene_bundle.ts +304 -0
- package/src/scene/scene_debug.ts +129 -0
- package/src/scene/scene_loader.ts +402 -0
- package/src/scene/scene_worker.ts +528 -0
- package/src/scene/view.ts +683 -0
- package/src/scene/visibility_adapter.ts +319 -0
- package/src/scene/worker_url.ts +15 -0
- package/src/selection/draped-terrain-surface.ts +377 -0
- package/src/selection/selection-types.ts +79 -0
- package/src/selection/selection.ts +542 -0
- package/src/selection/selection_fragment.glsl +18 -0
- package/src/selection/selection_globals.glsl +9 -0
- package/src/selection/selection_pixels.ts +59 -0
- package/src/selection/selection_vertex.glsl +15 -0
- package/src/selection/terrain_surface.ts +298 -0
- package/src/shader-modules/globe-horizon.ts +52 -0
- package/src/shader-modules/height-decode.ts +41 -0
- package/src/shader-modules/hillshade.ts +70 -0
- package/src/shader-modules/index.ts +10 -0
- package/src/shader-modules/planar.ts +24 -0
- package/src/shader-modules/sphere-map.ts +38 -0
- package/src/shader-modules/triplanar.ts +45 -0
- package/src/sources/aligned_tile_source.ts +122 -0
- package/src/sources/data_source.ts +655 -0
- package/src/sources/decoded_tile_store.ts +245 -0
- package/src/sources/geojson.ts +300 -0
- package/src/sources/mvt.ts +247 -0
- package/src/sources/raster.ts +341 -0
- package/src/sources/shared_tile_source_adapter.ts +117 -0
- package/src/sources/sources.ts +10 -0
- package/src/sources/tile_source_adapter.ts +84 -0
- package/src/sources/tile_source_metadata.ts +65 -0
- package/src/sources/tile_source_state.ts +112 -0
- package/src/sources/topojson.ts +90 -0
- package/src/styles/feature_annotations.ts +16 -0
- package/src/styles/filter.ts +190 -0
- package/src/styles/geometry-style-types.ts +209 -0
- package/src/styles/globe_visibility_wgsl.ts +22 -0
- package/src/styles/layer-types.ts +45 -0
- package/src/styles/layer.ts +586 -0
- package/src/styles/lines/dasharray.ts +49 -0
- package/src/styles/lines/lines.ts +707 -0
- package/src/styles/lines/lines_wgsl.ts +224 -0
- package/src/styles/points/point-runtime-types.ts +125 -0
- package/src/styles/points/points.ts +1079 -0
- package/src/styles/points/points_fragment.glsl +126 -0
- package/src/styles/points/points_vertex.glsl +230 -0
- package/src/styles/points/points_wgsl.ts +189 -0
- package/src/styles/polygons/polygons.ts +268 -0
- package/src/styles/polygons/polygons_fragment.glsl +173 -0
- package/src/styles/polygons/polygons_vertex.glsl +213 -0
- package/src/styles/polygons/polygons_wgsl.ts +127 -0
- package/src/styles/property-types.ts +125 -0
- package/src/styles/raster/raster.ts +33 -0
- package/src/styles/raster/raster_globals.glsl +46 -0
- package/src/styles/style-mixing-types.ts +101 -0
- package/src/styles/style-runtime-types.ts +220 -0
- package/src/styles/style-schema.ts +133 -0
- package/src/styles/style.ts +1033 -0
- package/src/styles/style_globals.glsl +69 -0
- package/src/styles/style_manager.ts +464 -0
- package/src/styles/style_parser.ts +620 -0
- package/src/styles/text/font_manager.ts +180 -0
- package/src/styles/text/fontfaceobserver.d.ts +10 -0
- package/src/styles/text/text-types.ts +220 -0
- package/src/styles/text/text.ts +378 -0
- package/src/styles/text/text_canvas.ts +773 -0
- package/src/styles/text/text_labels.ts +436 -0
- package/src/styles/text/text_segments.ts +142 -0
- package/src/styles/text/text_settings.ts +228 -0
- package/src/styles/text/text_wgsl.ts +159 -0
- package/src/styles/text/text_wrap.ts +194 -0
- package/src/tile/globe_tile_preload.ts +40 -0
- package/src/tile/tangram_tileset_2d.ts +108 -0
- package/src/tile/tile-build-types.ts +155 -0
- package/src/tile/tile.ts +807 -0
- package/src/tile/tile_id.ts +172 -0
- package/src/tile/tile_manager.ts +889 -0
- package/src/tile/tile_pyramid.ts +119 -0
- package/src/tile/tile_resource_cache.ts +91 -0
- package/src/tile/tile_traversal_adapter.ts +132 -0
- package/src/types.ts +332 -0
- package/src/utils/debounce.ts +17 -0
- package/src/utils/debug_settings.ts +43 -0
- package/src/utils/errors.ts +12 -0
- package/src/utils/functions.ts +95 -0
- package/src/utils/geo.ts +364 -0
- package/src/utils/hash.ts +14 -0
- package/src/utils/log.ts +108 -0
- package/src/utils/media_capture.ts +193 -0
- package/src/utils/merge.ts +44 -0
- package/src/utils/obb.ts +134 -0
- package/src/utils/props.ts +43 -0
- package/src/utils/slice.ts +14 -0
- package/src/utils/subscribe.ts +58 -0
- package/src/utils/task.ts +154 -0
- package/src/utils/thread.ts +26 -0
- package/src/utils/urls.ts +223 -0
- package/src/utils/utils.ts +310 -0
- package/src/utils/vector.ts +197 -0
- package/src/utils/version.ts +8 -0
- package/src/utils/worker-types.ts +79 -0
- package/src/utils/worker_broker.ts +523 -0
|
@@ -0,0 +1,882 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"import": {
|
|
6
|
+
"anyOf": [
|
|
7
|
+
{
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"anyOf": [
|
|
14
|
+
{
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"type": "object",
|
|
19
|
+
"propertyNames": {
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"additionalProperties": {
|
|
23
|
+
"$ref": "#/definitions/__schema0"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "object",
|
|
31
|
+
"propertyNames": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"additionalProperties": {
|
|
35
|
+
"$ref": "#/definitions/__schema0"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
"global": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"propertyNames": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"additionalProperties": {
|
|
46
|
+
"$ref": "#/definitions/__schema0"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"cameras": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"propertyNames": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": {
|
|
55
|
+
"type": "object",
|
|
56
|
+
"propertyNames": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"additionalProperties": {
|
|
60
|
+
"$ref": "#/definitions/__schema0"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"scene": {
|
|
65
|
+
"type": "object",
|
|
66
|
+
"propertyNames": {
|
|
67
|
+
"type": "string"
|
|
68
|
+
},
|
|
69
|
+
"additionalProperties": {
|
|
70
|
+
"$ref": "#/definitions/__schema0"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"lights": {
|
|
74
|
+
"anyOf": [
|
|
75
|
+
{
|
|
76
|
+
"type": "object",
|
|
77
|
+
"propertyNames": {
|
|
78
|
+
"type": "string"
|
|
79
|
+
},
|
|
80
|
+
"additionalProperties": {
|
|
81
|
+
"type": "object",
|
|
82
|
+
"propertyNames": {
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"additionalProperties": {
|
|
86
|
+
"$ref": "#/definitions/__schema0"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"oneOf": [
|
|
94
|
+
{
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"type": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"const": "ambient"
|
|
100
|
+
},
|
|
101
|
+
"color": {
|
|
102
|
+
"$ref": "#/definitions/__schema1"
|
|
103
|
+
},
|
|
104
|
+
"intensity": {
|
|
105
|
+
"$ref": "#/definitions/__schema6"
|
|
106
|
+
},
|
|
107
|
+
"ambient": {
|
|
108
|
+
"$ref": "#/definitions/__schema7"
|
|
109
|
+
},
|
|
110
|
+
"diffuse": {
|
|
111
|
+
"$ref": "#/definitions/__schema9"
|
|
112
|
+
},
|
|
113
|
+
"specular": {
|
|
114
|
+
"$ref": "#/definitions/__schema10"
|
|
115
|
+
},
|
|
116
|
+
"visible": {
|
|
117
|
+
"$ref": "#/definitions/__schema11"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": [
|
|
121
|
+
"type"
|
|
122
|
+
],
|
|
123
|
+
"additionalProperties": false
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "object",
|
|
127
|
+
"properties": {
|
|
128
|
+
"type": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"const": "directional"
|
|
131
|
+
},
|
|
132
|
+
"color": {
|
|
133
|
+
"$ref": "#/definitions/__schema1"
|
|
134
|
+
},
|
|
135
|
+
"intensity": {
|
|
136
|
+
"$ref": "#/definitions/__schema6"
|
|
137
|
+
},
|
|
138
|
+
"ambient": {
|
|
139
|
+
"$ref": "#/definitions/__schema7"
|
|
140
|
+
},
|
|
141
|
+
"diffuse": {
|
|
142
|
+
"$ref": "#/definitions/__schema9"
|
|
143
|
+
},
|
|
144
|
+
"specular": {
|
|
145
|
+
"$ref": "#/definitions/__schema10"
|
|
146
|
+
},
|
|
147
|
+
"visible": {
|
|
148
|
+
"$ref": "#/definitions/__schema11"
|
|
149
|
+
},
|
|
150
|
+
"direction": {
|
|
151
|
+
"$ref": "#/definitions/__schema2"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"required": [
|
|
155
|
+
"type",
|
|
156
|
+
"direction"
|
|
157
|
+
],
|
|
158
|
+
"additionalProperties": false
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"type": "object",
|
|
162
|
+
"properties": {
|
|
163
|
+
"type": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"const": "point"
|
|
166
|
+
},
|
|
167
|
+
"color": {
|
|
168
|
+
"$ref": "#/definitions/__schema1"
|
|
169
|
+
},
|
|
170
|
+
"intensity": {
|
|
171
|
+
"$ref": "#/definitions/__schema6"
|
|
172
|
+
},
|
|
173
|
+
"ambient": {
|
|
174
|
+
"$ref": "#/definitions/__schema7"
|
|
175
|
+
},
|
|
176
|
+
"diffuse": {
|
|
177
|
+
"$ref": "#/definitions/__schema9"
|
|
178
|
+
},
|
|
179
|
+
"specular": {
|
|
180
|
+
"$ref": "#/definitions/__schema10"
|
|
181
|
+
},
|
|
182
|
+
"visible": {
|
|
183
|
+
"$ref": "#/definitions/__schema11"
|
|
184
|
+
},
|
|
185
|
+
"position": {
|
|
186
|
+
"$ref": "#/definitions/__schema12"
|
|
187
|
+
},
|
|
188
|
+
"attenuation": {
|
|
189
|
+
"$ref": "#/definitions/__schema13"
|
|
190
|
+
},
|
|
191
|
+
"attenuationExponent": {
|
|
192
|
+
"$ref": "#/definitions/__schema14"
|
|
193
|
+
},
|
|
194
|
+
"radius": {
|
|
195
|
+
"$ref": "#/definitions/__schema16"
|
|
196
|
+
},
|
|
197
|
+
"origin": {
|
|
198
|
+
"$ref": "#/definitions/__schema18"
|
|
199
|
+
},
|
|
200
|
+
"positionSpace": {
|
|
201
|
+
"$ref": "#/definitions/__schema20"
|
|
202
|
+
},
|
|
203
|
+
"directionSpace": {
|
|
204
|
+
"$ref": "#/definitions/__schema22"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"required": [
|
|
208
|
+
"type",
|
|
209
|
+
"position"
|
|
210
|
+
],
|
|
211
|
+
"additionalProperties": false
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"type": "object",
|
|
215
|
+
"properties": {
|
|
216
|
+
"type": {
|
|
217
|
+
"type": "string",
|
|
218
|
+
"const": "spot"
|
|
219
|
+
},
|
|
220
|
+
"color": {
|
|
221
|
+
"$ref": "#/definitions/__schema1"
|
|
222
|
+
},
|
|
223
|
+
"intensity": {
|
|
224
|
+
"$ref": "#/definitions/__schema6"
|
|
225
|
+
},
|
|
226
|
+
"ambient": {
|
|
227
|
+
"$ref": "#/definitions/__schema7"
|
|
228
|
+
},
|
|
229
|
+
"diffuse": {
|
|
230
|
+
"$ref": "#/definitions/__schema9"
|
|
231
|
+
},
|
|
232
|
+
"specular": {
|
|
233
|
+
"$ref": "#/definitions/__schema10"
|
|
234
|
+
},
|
|
235
|
+
"visible": {
|
|
236
|
+
"$ref": "#/definitions/__schema11"
|
|
237
|
+
},
|
|
238
|
+
"position": {
|
|
239
|
+
"$ref": "#/definitions/__schema12"
|
|
240
|
+
},
|
|
241
|
+
"attenuation": {
|
|
242
|
+
"$ref": "#/definitions/__schema13"
|
|
243
|
+
},
|
|
244
|
+
"attenuationExponent": {
|
|
245
|
+
"$ref": "#/definitions/__schema14"
|
|
246
|
+
},
|
|
247
|
+
"radius": {
|
|
248
|
+
"$ref": "#/definitions/__schema16"
|
|
249
|
+
},
|
|
250
|
+
"origin": {
|
|
251
|
+
"$ref": "#/definitions/__schema18"
|
|
252
|
+
},
|
|
253
|
+
"positionSpace": {
|
|
254
|
+
"$ref": "#/definitions/__schema20"
|
|
255
|
+
},
|
|
256
|
+
"directionSpace": {
|
|
257
|
+
"$ref": "#/definitions/__schema22"
|
|
258
|
+
},
|
|
259
|
+
"direction": {
|
|
260
|
+
"$ref": "#/definitions/__schema2"
|
|
261
|
+
},
|
|
262
|
+
"innerConeAngle": {
|
|
263
|
+
"description": "Radians",
|
|
264
|
+
"allOf": [
|
|
265
|
+
{
|
|
266
|
+
"$ref": "#/definitions/__schema24"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
"outerConeAngle": {
|
|
271
|
+
"description": "Radians",
|
|
272
|
+
"allOf": [
|
|
273
|
+
{
|
|
274
|
+
"$ref": "#/definitions/__schema25"
|
|
275
|
+
}
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"spotExponent": {
|
|
279
|
+
"description": "Additional Tangram cone falloff",
|
|
280
|
+
"allOf": [
|
|
281
|
+
{
|
|
282
|
+
"$ref": "#/definitions/__schema26"
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
"required": [
|
|
288
|
+
"type",
|
|
289
|
+
"position",
|
|
290
|
+
"direction"
|
|
291
|
+
],
|
|
292
|
+
"additionalProperties": false
|
|
293
|
+
}
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
"fonts": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"propertyNames": {
|
|
302
|
+
"type": "string"
|
|
303
|
+
},
|
|
304
|
+
"additionalProperties": {
|
|
305
|
+
"$ref": "#/definitions/__schema0"
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
"textures": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"propertyNames": {
|
|
311
|
+
"type": "string"
|
|
312
|
+
},
|
|
313
|
+
"additionalProperties": {
|
|
314
|
+
"$ref": "#/definitions/__schema0"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
"styles": {
|
|
318
|
+
"type": "object",
|
|
319
|
+
"propertyNames": {
|
|
320
|
+
"type": "string"
|
|
321
|
+
},
|
|
322
|
+
"additionalProperties": {
|
|
323
|
+
"type": "object",
|
|
324
|
+
"properties": {
|
|
325
|
+
"base": {
|
|
326
|
+
"type": "string"
|
|
327
|
+
},
|
|
328
|
+
"mix": {
|
|
329
|
+
"anyOf": [
|
|
330
|
+
{
|
|
331
|
+
"type": "string"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"type": "array",
|
|
335
|
+
"items": {
|
|
336
|
+
"type": "string"
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
},
|
|
341
|
+
"animated": {
|
|
342
|
+
"type": "boolean"
|
|
343
|
+
},
|
|
344
|
+
"lighting": {
|
|
345
|
+
"anyOf": [
|
|
346
|
+
{
|
|
347
|
+
"type": "boolean"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"type": "string",
|
|
351
|
+
"enum": [
|
|
352
|
+
"vertex",
|
|
353
|
+
"fragment"
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
]
|
|
357
|
+
},
|
|
358
|
+
"blend": {
|
|
359
|
+
"type": "string"
|
|
360
|
+
},
|
|
361
|
+
"raster": {
|
|
362
|
+
"anyOf": [
|
|
363
|
+
{
|
|
364
|
+
"type": "boolean"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"type": "string",
|
|
368
|
+
"enum": [
|
|
369
|
+
"color",
|
|
370
|
+
"normal",
|
|
371
|
+
"custom"
|
|
372
|
+
]
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
"texture": {
|
|
377
|
+
"allOf": [
|
|
378
|
+
{
|
|
379
|
+
"$ref": "#/definitions/__schema0"
|
|
380
|
+
}
|
|
381
|
+
]
|
|
382
|
+
},
|
|
383
|
+
"draw": {
|
|
384
|
+
"type": "object",
|
|
385
|
+
"propertyNames": {
|
|
386
|
+
"type": "string"
|
|
387
|
+
},
|
|
388
|
+
"additionalProperties": {
|
|
389
|
+
"$ref": "#/definitions/__schema0"
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
"shaders": {
|
|
393
|
+
"type": "object",
|
|
394
|
+
"propertyNames": {
|
|
395
|
+
"type": "string"
|
|
396
|
+
},
|
|
397
|
+
"additionalProperties": {
|
|
398
|
+
"$ref": "#/definitions/__schema0"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
"additionalProperties": {}
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
"sources": {
|
|
406
|
+
"type": "object",
|
|
407
|
+
"propertyNames": {
|
|
408
|
+
"type": "string"
|
|
409
|
+
},
|
|
410
|
+
"additionalProperties": {
|
|
411
|
+
"type": "object",
|
|
412
|
+
"properties": {
|
|
413
|
+
"type": {
|
|
414
|
+
"type": "string"
|
|
415
|
+
},
|
|
416
|
+
"url": {
|
|
417
|
+
"type": "string"
|
|
418
|
+
},
|
|
419
|
+
"urls": {
|
|
420
|
+
"type": "array",
|
|
421
|
+
"items": {
|
|
422
|
+
"type": "string"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
"decoder": {
|
|
426
|
+
"type": "string"
|
|
427
|
+
},
|
|
428
|
+
"tile_provider": {
|
|
429
|
+
"type": "string"
|
|
430
|
+
},
|
|
431
|
+
"parse_json": {
|
|
432
|
+
"anyOf": [
|
|
433
|
+
{
|
|
434
|
+
"type": "boolean"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"type": "array",
|
|
438
|
+
"items": {
|
|
439
|
+
"type": "string"
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
]
|
|
443
|
+
},
|
|
444
|
+
"tilejson": {
|
|
445
|
+
"allOf": [
|
|
446
|
+
{
|
|
447
|
+
"$ref": "#/definitions/__schema0"
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
},
|
|
451
|
+
"url_params": {
|
|
452
|
+
"type": "object",
|
|
453
|
+
"propertyNames": {
|
|
454
|
+
"type": "string"
|
|
455
|
+
},
|
|
456
|
+
"additionalProperties": {
|
|
457
|
+
"$ref": "#/definitions/__schema0"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"min_zoom": {
|
|
461
|
+
"type": "number"
|
|
462
|
+
},
|
|
463
|
+
"max_zoom": {
|
|
464
|
+
"type": "number"
|
|
465
|
+
},
|
|
466
|
+
"tile_size": {
|
|
467
|
+
"type": "number",
|
|
468
|
+
"exclusiveMinimum": 0
|
|
469
|
+
},
|
|
470
|
+
"rasters": {
|
|
471
|
+
"type": "array",
|
|
472
|
+
"items": {
|
|
473
|
+
"type": "string"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"scripts": {
|
|
477
|
+
"allOf": [
|
|
478
|
+
{
|
|
479
|
+
"$ref": "#/definitions/__schema0"
|
|
480
|
+
}
|
|
481
|
+
]
|
|
482
|
+
},
|
|
483
|
+
"transform": {
|
|
484
|
+
"allOf": [
|
|
485
|
+
{
|
|
486
|
+
"$ref": "#/definitions/__schema0"
|
|
487
|
+
}
|
|
488
|
+
]
|
|
489
|
+
},
|
|
490
|
+
"attribution": {
|
|
491
|
+
"type": "string"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"additionalProperties": {}
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"layers": {
|
|
498
|
+
"type": "object",
|
|
499
|
+
"propertyNames": {
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
"additionalProperties": {
|
|
503
|
+
"type": "object",
|
|
504
|
+
"properties": {
|
|
505
|
+
"data": {
|
|
506
|
+
"type": "object",
|
|
507
|
+
"properties": {
|
|
508
|
+
"source": {
|
|
509
|
+
"type": "string"
|
|
510
|
+
},
|
|
511
|
+
"layer": {
|
|
512
|
+
"type": "string"
|
|
513
|
+
},
|
|
514
|
+
"geometry": {
|
|
515
|
+
"type": "string"
|
|
516
|
+
}
|
|
517
|
+
},
|
|
518
|
+
"additionalProperties": {}
|
|
519
|
+
},
|
|
520
|
+
"filter": {
|
|
521
|
+
"allOf": [
|
|
522
|
+
{
|
|
523
|
+
"$ref": "#/definitions/__schema0"
|
|
524
|
+
}
|
|
525
|
+
]
|
|
526
|
+
},
|
|
527
|
+
"draw": {
|
|
528
|
+
"type": "object",
|
|
529
|
+
"propertyNames": {
|
|
530
|
+
"type": "string"
|
|
531
|
+
},
|
|
532
|
+
"additionalProperties": {
|
|
533
|
+
"$ref": "#/definitions/__schema0"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"enabled": {
|
|
537
|
+
"type": "boolean"
|
|
538
|
+
},
|
|
539
|
+
"priority": {
|
|
540
|
+
"type": "number"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"additionalProperties": {}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
},
|
|
547
|
+
"additionalProperties": {},
|
|
548
|
+
"definitions": {
|
|
549
|
+
"__schema0": {
|
|
550
|
+
"anyOf": [
|
|
551
|
+
{
|
|
552
|
+
"type": "string"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"type": "number"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"type": "boolean"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"type": "null"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"type": "array",
|
|
565
|
+
"items": {}
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"type": "object",
|
|
569
|
+
"propertyNames": {
|
|
570
|
+
"type": "string"
|
|
571
|
+
},
|
|
572
|
+
"additionalProperties": {}
|
|
573
|
+
}
|
|
574
|
+
]
|
|
575
|
+
},
|
|
576
|
+
"__schema1": {
|
|
577
|
+
"description": "Byte RGB light color (0–255); omitted means black",
|
|
578
|
+
"allOf": [
|
|
579
|
+
{
|
|
580
|
+
"$ref": "#/definitions/__schema2"
|
|
581
|
+
}
|
|
582
|
+
]
|
|
583
|
+
},
|
|
584
|
+
"__schema2": {
|
|
585
|
+
"anyOf": [
|
|
586
|
+
{
|
|
587
|
+
"$ref": "#/definitions/__schema3"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"$ref": "#/definitions/__schema5"
|
|
591
|
+
}
|
|
592
|
+
]
|
|
593
|
+
},
|
|
594
|
+
"__schema3": {
|
|
595
|
+
"type": "array",
|
|
596
|
+
"items": [
|
|
597
|
+
{
|
|
598
|
+
"$ref": "#/definitions/__schema4"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"$ref": "#/definitions/__schema4"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"$ref": "#/definitions/__schema4"
|
|
605
|
+
}
|
|
606
|
+
],
|
|
607
|
+
"additionalItems": false,
|
|
608
|
+
"minItems": 3,
|
|
609
|
+
"maxItems": 3
|
|
610
|
+
},
|
|
611
|
+
"__schema4": {
|
|
612
|
+
"anyOf": [
|
|
613
|
+
{
|
|
614
|
+
"type": "number"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"$ref": "#/definitions/__schema5"
|
|
618
|
+
}
|
|
619
|
+
]
|
|
620
|
+
},
|
|
621
|
+
"__schema5": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"pattern": "^global\\..+"
|
|
624
|
+
},
|
|
625
|
+
"__schema6": {
|
|
626
|
+
"anyOf": [
|
|
627
|
+
{
|
|
628
|
+
"type": "number",
|
|
629
|
+
"minimum": 0
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"$ref": "#/definitions/__schema5"
|
|
633
|
+
}
|
|
634
|
+
]
|
|
635
|
+
},
|
|
636
|
+
"__schema7": {
|
|
637
|
+
"description": "Optional normalized Tangram ambient contribution",
|
|
638
|
+
"allOf": [
|
|
639
|
+
{
|
|
640
|
+
"$ref": "#/definitions/__schema8"
|
|
641
|
+
}
|
|
642
|
+
]
|
|
643
|
+
},
|
|
644
|
+
"__schema8": {
|
|
645
|
+
"anyOf": [
|
|
646
|
+
{
|
|
647
|
+
"type": "number"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"type": "string"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"$ref": "#/definitions/__schema2"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"type": "array",
|
|
657
|
+
"items": [
|
|
658
|
+
{
|
|
659
|
+
"type": "number"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"type": "number"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"type": "number"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"type": "number"
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"additionalItems": false,
|
|
672
|
+
"minItems": 4,
|
|
673
|
+
"maxItems": 4
|
|
674
|
+
}
|
|
675
|
+
]
|
|
676
|
+
},
|
|
677
|
+
"__schema9": {
|
|
678
|
+
"description": "Optional normalized Tangram diffuse contribution",
|
|
679
|
+
"allOf": [
|
|
680
|
+
{
|
|
681
|
+
"$ref": "#/definitions/__schema8"
|
|
682
|
+
}
|
|
683
|
+
]
|
|
684
|
+
},
|
|
685
|
+
"__schema10": {
|
|
686
|
+
"description": "Optional normalized Tangram specular contribution",
|
|
687
|
+
"allOf": [
|
|
688
|
+
{
|
|
689
|
+
"$ref": "#/definitions/__schema8"
|
|
690
|
+
}
|
|
691
|
+
]
|
|
692
|
+
},
|
|
693
|
+
"__schema11": {
|
|
694
|
+
"anyOf": [
|
|
695
|
+
{
|
|
696
|
+
"type": "boolean"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"$ref": "#/definitions/__schema5"
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
},
|
|
703
|
+
"__schema12": {
|
|
704
|
+
"description": "Projected world position, or longitude/latitude/altitude when positionSpace is geographic",
|
|
705
|
+
"allOf": [
|
|
706
|
+
{
|
|
707
|
+
"$ref": "#/definitions/__schema2"
|
|
708
|
+
}
|
|
709
|
+
]
|
|
710
|
+
},
|
|
711
|
+
"__schema13": {
|
|
712
|
+
"description": "Constant, linear, quadratic distance coefficients",
|
|
713
|
+
"allOf": [
|
|
714
|
+
{
|
|
715
|
+
"$ref": "#/definitions/__schema2"
|
|
716
|
+
}
|
|
717
|
+
]
|
|
718
|
+
},
|
|
719
|
+
"__schema14": {
|
|
720
|
+
"description": "Additional Tangram exponent falloff",
|
|
721
|
+
"allOf": [
|
|
722
|
+
{
|
|
723
|
+
"$ref": "#/definitions/__schema15"
|
|
724
|
+
}
|
|
725
|
+
]
|
|
726
|
+
},
|
|
727
|
+
"__schema15": {
|
|
728
|
+
"anyOf": [
|
|
729
|
+
{
|
|
730
|
+
"type": "number",
|
|
731
|
+
"minimum": 0
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"$ref": "#/definitions/__schema5"
|
|
735
|
+
}
|
|
736
|
+
]
|
|
737
|
+
},
|
|
738
|
+
"__schema16": {
|
|
739
|
+
"anyOf": [
|
|
740
|
+
{
|
|
741
|
+
"$ref": "#/definitions/__schema17"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"type": "array",
|
|
745
|
+
"items": [
|
|
746
|
+
{
|
|
747
|
+
"anyOf": [
|
|
748
|
+
{
|
|
749
|
+
"$ref": "#/definitions/__schema17"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"type": "null"
|
|
753
|
+
}
|
|
754
|
+
]
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"$ref": "#/definitions/__schema17"
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"additionalItems": false,
|
|
761
|
+
"minItems": 2,
|
|
762
|
+
"maxItems": 2
|
|
763
|
+
}
|
|
764
|
+
]
|
|
765
|
+
},
|
|
766
|
+
"__schema17": {
|
|
767
|
+
"anyOf": [
|
|
768
|
+
{
|
|
769
|
+
"type": "number",
|
|
770
|
+
"minimum": 0
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"type": "string"
|
|
774
|
+
}
|
|
775
|
+
]
|
|
776
|
+
},
|
|
777
|
+
"__schema18": {
|
|
778
|
+
"description": "Optional legacy position interpretation",
|
|
779
|
+
"allOf": [
|
|
780
|
+
{
|
|
781
|
+
"$ref": "#/definitions/__schema19"
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
"__schema19": {
|
|
786
|
+
"anyOf": [
|
|
787
|
+
{
|
|
788
|
+
"type": "string",
|
|
789
|
+
"enum": [
|
|
790
|
+
"world",
|
|
791
|
+
"ground",
|
|
792
|
+
"camera"
|
|
793
|
+
]
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"$ref": "#/definitions/__schema5"
|
|
797
|
+
}
|
|
798
|
+
]
|
|
799
|
+
},
|
|
800
|
+
"__schema20": {
|
|
801
|
+
"description": "Projected position or longitude/latitude/altitude",
|
|
802
|
+
"allOf": [
|
|
803
|
+
{
|
|
804
|
+
"$ref": "#/definitions/__schema21"
|
|
805
|
+
}
|
|
806
|
+
]
|
|
807
|
+
},
|
|
808
|
+
"__schema21": {
|
|
809
|
+
"anyOf": [
|
|
810
|
+
{
|
|
811
|
+
"type": "string",
|
|
812
|
+
"enum": [
|
|
813
|
+
"common",
|
|
814
|
+
"geographic"
|
|
815
|
+
]
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"$ref": "#/definitions/__schema5"
|
|
819
|
+
}
|
|
820
|
+
]
|
|
821
|
+
},
|
|
822
|
+
"__schema22": {
|
|
823
|
+
"description": "Geographic spotlight direction defaults to east/north/up",
|
|
824
|
+
"allOf": [
|
|
825
|
+
{
|
|
826
|
+
"$ref": "#/definitions/__schema23"
|
|
827
|
+
}
|
|
828
|
+
]
|
|
829
|
+
},
|
|
830
|
+
"__schema23": {
|
|
831
|
+
"anyOf": [
|
|
832
|
+
{
|
|
833
|
+
"type": "string",
|
|
834
|
+
"enum": [
|
|
835
|
+
"common",
|
|
836
|
+
"enu"
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"$ref": "#/definitions/__schema5"
|
|
841
|
+
}
|
|
842
|
+
]
|
|
843
|
+
},
|
|
844
|
+
"__schema24": {
|
|
845
|
+
"anyOf": [
|
|
846
|
+
{
|
|
847
|
+
"type": "number",
|
|
848
|
+
"minimum": 0,
|
|
849
|
+
"maximum": 1.5707963267948966
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"$ref": "#/definitions/__schema5"
|
|
853
|
+
}
|
|
854
|
+
]
|
|
855
|
+
},
|
|
856
|
+
"__schema25": {
|
|
857
|
+
"anyOf": [
|
|
858
|
+
{
|
|
859
|
+
"type": "number",
|
|
860
|
+
"minimum": 0,
|
|
861
|
+
"maximum": 1.5707963267948966
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"$ref": "#/definitions/__schema5"
|
|
865
|
+
}
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
"__schema26": {
|
|
869
|
+
"anyOf": [
|
|
870
|
+
{
|
|
871
|
+
"type": "number",
|
|
872
|
+
"minimum": 0
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"$ref": "#/definitions/__schema5"
|
|
876
|
+
}
|
|
877
|
+
]
|
|
878
|
+
}
|
|
879
|
+
},
|
|
880
|
+
"$id": "https://unpkg.com/@tangram.gl/tangram-renderer/tangram-style.schema.json",
|
|
881
|
+
"title": "Tangram scene style sheet"
|
|
882
|
+
}
|