@eturnity/eturnity_3d
Advanced tools
Comparing version 1.0.48-v-6.26.0-8 to 1.0.48-v-6.27.0-0
{ | ||
"name": "@eturnity/eturnity_3d", | ||
"private": false, | ||
"version": "1.0.48-v-6.26.0-8", | ||
"version": "1.0.48-v-6.27.0-0", | ||
"main": "dist/main.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
@@ -40,2 +40,3 @@ import { | ||
image.onload = function () { | ||
image.style.backgroundColor="red" | ||
resolve(image) | ||
@@ -52,3 +53,4 @@ } | ||
imageSrc = imageSrc.replace('{s}', 'a') | ||
imageSrc = imageSrc.replace('{format}', 'image/png') | ||
imageSrc = imageSrc.replace('{format}', 'image/jpeg') | ||
//imageSrc = imageSrc.replace('{format}', 'image/png') | ||
imageSrc = imageSrc.replace('{tileMatrixSet}', 'PM') | ||
@@ -55,0 +57,0 @@ image.src = imageSrc |
import * as THREE from 'three' | ||
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls' | ||
import { Sky } from 'three/examples/jsm/objects/Sky.js' | ||
import {UnitsUtils,MapView} from 'geo-three' | ||
import {UnitsUtils,MapView} from './geo-three.module.js' | ||
import {CustomProvider} from './customProvider' | ||
@@ -109,3 +109,3 @@ import clearThreeObjects from './clearThreeObjects' | ||
this.scene.background = new THREE.Color(0xb0b0b0) | ||
this.camera.position.set(0, -100, 50) | ||
@@ -112,0 +112,0 @@ this.camera.up.set(0, 0, 1) |
14487838
79
68485