Skip to content

Commit eab621b

Browse files
committed
fix typo
1 parent 972bd41 commit eab621b

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

public/codes/3d/terrain/load/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const layers = [
3939
const terrain = {
4040
type: "mapbox",
4141
tileSize: 512,
42-
patialReference: "preset-3857-512",
42+
spatialReference: "preset-3857-512",
4343
urlTemplate: `https://{s}.tiles.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=${token}`,
4444
subdomains: ["a", "b", "c", "d"]
4545
};

public/codes/3d/terrain/stylized/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const layers = [
4242
const terrain = {
4343
type: "mapbox",
4444
tileSize: 512,
45-
patialReference: "preset-3857-512",
45+
spatialReference: "preset-3857-512",
4646
urlTemplate: `https://{s}.tiles.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=${token}`,
4747
subdomains: ["a", "b", "c", "d"],
4848
shader: "lit",

public/codes/3d/terrain/vector/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const layers = [
4040
const terrain = {
4141
type: "mapbox",
4242
tileSize: 512,
43-
patialReference: "preset-3857-512",
43+
spatialReference: "preset-3857-512",
4444
urlTemplate: `https://{s}.tiles.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=${token}`,
4545
subdomains: ["a", "b", "c", "d"]
4646
};

public/codes/3d/track/unmanned/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const map = new maptalks.Map("map", {
1212
/**start**/
1313
const lineLayer = new maptalks.LineStringLayer("line", { sceneConfig: { depthFunc: "always" }});
1414
const gltfLayer = new maptalks.GLTFLayer("gltf");
15-
const groupLayer = new maptalks.GroupGLLayer("group", [gltfLayer, lineLayer], {
15+
const groupLayer = new maptalks.GroupGLLayer("group", [lineLayer, gltfLayer], {
1616
sceneConfig: {
1717
postProcess: {
1818
enable: true,

0 commit comments

Comments
 (0)