Updated image tile layer dimensions

master
Robin Hawkes 2016-06-16 12:16:19 +01:00
rodzic 071f03ccfd
commit 5743b95a25
4 zmienionych plików z 6 dodań i 6 usunięć

4
dist/vizicities.js vendored
Wyświetl plik

@ -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

Wyświetl plik

@ -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) {