iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.1k stars 300 forks source link

Create-a-simple-globe issue #1246

Closed OlegYarko closed 3 years ago

OlegYarko commented 5 years ago

Hello Apparently, this tutorial needs to be updated. http://www.itowns-project.org/itowns/docs/#tutorials/Create-a-simple-globe


var position = new itowns.Coordinates('WGS84', 2.35, 48.8, 25e6);

var position = new itowns.Coordinates('EPSG:4326', 2.35, 48.8, 25e6);


var orthoSource = new itowns.WMTSSource({

var orthoSource = new itowns.WMTSSource({
projection: "EPSG:3857",

var elevationSource = new itowns.WMTSSource({ name: 'ELEVATION.ELEVATIONGRIDCOVERAGE',

var elevationSource = new itowns.WMTSSource({ name: 'ELEVATION.ELEVATIONGRIDCOVERAGE.SRTM3', <-- SRTM3 (?) projection: "EPSG:4326",

OlegYarko commented 5 years ago

and Display-a-geometry-layer too