kopia lustrzana https://github.com/robhawkes/vizicities
Updated image tile layer dimensions
rodzic
071f03ccfd
commit
5743b95a25
|
@ -9842,7 +9842,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
_classCallCheck(this, ImageTileLayer);
|
||||
|
||||
var defaults = {
|
||||
distance: 40000
|
||||
distance: 200000
|
||||
};
|
||||
|
||||
options = (0, _lodashAssign2['default'])({}, defaults, options);
|
||||
|
@ -9860,7 +9860,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||
_get(Object.getPrototypeOf(ImageTileLayer.prototype), '_onAdd', this).call(this, world);
|
||||
|
||||
// Add base layer
|
||||
var geom = new _three2['default'].PlaneBufferGeometry(200000, 200000, 1);
|
||||
var geom = new _three2['default'].PlaneBufferGeometry(2000000, 2000000, 1);
|
||||
|
||||
var baseMaterial;
|
||||
if (this._world._environment._skybox) {
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -59,7 +59,7 @@ import extend from 'lodash.assign';
|
|||
class ImageTileLayer extends TileLayer {
|
||||
constructor(path, options) {
|
||||
var defaults = {
|
||||
distance: 40000
|
||||
distance: 200000
|
||||
};
|
||||
|
||||
options = extend({}, defaults, options);
|
||||
|
@ -73,7 +73,7 @@ class ImageTileLayer extends TileLayer {
|
|||
super._onAdd(world);
|
||||
|
||||
// Add base layer
|
||||
var geom = new THREE.PlaneBufferGeometry(200000, 200000, 1);
|
||||
var geom = new THREE.PlaneBufferGeometry(2000000, 2000000, 1);
|
||||
|
||||
var baseMaterial;
|
||||
if (this._world._environment._skybox) {
|
||||
|
|
Ładowanie…
Reference in New Issue