Skip to content

Commit 3db402a

Browse files
committed
simpler terrain options
1 parent eab621b commit 3db402a

5 files changed

Lines changed: 0 additions & 10 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ group.addTo(map);
4242
/**start**/
4343
const terrain = {
4444
type: "mapbox",
45-
tileSize: 512,
46-
spatialReference: "preset-3857-512",
4745
urlTemplate:
4846
"https://{s}.tiles.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=pk.eyJ1IjoibWFwYm94LWdsLWpzIiwiYSI6ImNram9ybGI1ajExYjQyeGxlemppb2pwYjIifQ.LGy5UGNIsXUZdYMvfYRiAQ",
4947
subdomains: ["a", "b", "c", "d"],

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ const layers = [
3838

3939
const terrain = {
4040
type: "mapbox",
41-
tileSize: 512,
42-
spatialReference: "preset-3857-512",
4341
urlTemplate: `https://{s}.tiles.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=${token}`,
4442
subdomains: ["a", "b", "c", "d"]
4543
};

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ const layers = [
4141

4242
const terrain = {
4343
type: "mapbox",
44-
tileSize: 512,
45-
spatialReference: "preset-3857-512",
4644
urlTemplate: `https://{s}.tiles.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=${token}`,
4745
subdomains: ["a", "b", "c", "d"],
4846
shader: "lit",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ group.addTo(map);
4242
/**start**/
4343
const terrain = {
4444
type: "tianditu",
45-
tileSize: 512,
46-
spatialReference: "preset-vt-3857",
4745
urlTemplate:
4846
"https://t{s}.tianditu.gov.cn/mapservice/swdx?T=elv_c&tk=648e42a59f95a6b9aae1d505d52d229f&x={x}&y={y}&l={z}",
4947
subdomains: "01234567",

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ const layers = [
3939

4040
const terrain = {
4141
type: "mapbox",
42-
tileSize: 512,
43-
spatialReference: "preset-3857-512",
4442
urlTemplate: `https://{s}.tiles.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=${token}`,
4543
subdomains: ["a", "b", "c", "d"]
4644
};

0 commit comments

Comments
 (0)