@eturnity/eturnity_3d 1.0.37 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_3d",
3
3
  "private": false,
4
- "version": "1.0.37",
4
+ "version": "1.0.39",
5
5
  "main": "dist/main.js",
6
6
  "scripts": {
7
7
  "dev": "vue-cli-service serve --skip-plugins @vue/cli-plugin-eslint",
@@ -837,8 +837,18 @@ export default {
837
837
  this.renderBackground()
838
838
  },
839
839
  async loadProjectionMaterial() {
840
- if(!this.layoutSettings.base64_image_url) return
841
840
  const _this=this
841
+ if(!this.layoutSettings.base64_image_url)
842
+ {
843
+ this.loader.load(require("../assets/images/white_tile.png"),(texture)=>{
844
+ let projectionMaterial = new ProjectedMaterial({
845
+ camera: _this.cameraprojection,
846
+ texture: texture
847
+ })
848
+ this.material.roof = projectionMaterial
849
+ })
850
+ return
851
+ }
842
852
  let projectedMaterialLoaded= await new Promise((resolve,reject) => {
843
853
  this.loader.load(this.layoutSettings.base64_image_url,(texture)=>{
844
854
  let backgroundImageZoomLvl=_this.layoutSettings.map_zoom
@@ -1,5 +1,5 @@
1
1
  import * as L from 'leaflet'
2
- import 'leaflet.gridlayer.googlemutant'
2
+ import 'leaflet.gridlayer.googlemutant/dist/Leaflet.GoogleMutant'
3
3
  import { leafletMapLayersConfig } from './leaflet-config.service'
4
4
 
5
5
  function getLayers() {