ebeaufay / UltraGlobe

A globe in threejs with OGC WMS imagery, OGC 3dtiles and elevation
GNU General Public License v3.0
161 stars 19 forks source link

WMS layers are broken in version 4.2.5 and 4.2.4 #10

Closed guidocalvano closed 3 months ago

guidocalvano commented 3 months ago

They do work in 4.2.1.

Anything in between I don't know...

ebeaufay commented 3 months ago

I made texture loading independent from terrain loading, I might have screwed something up. Also WMS support is incomplete.

Can you show me how you load the WMS layer and the service you connect to?

guidocalvano commented 3 months ago

It even happened on your example in the documentation if I remember correctly. From your example:


import { Map, WMSLayer } from '@jdultra/ultra-globe/dist/ultraglobe.min.js';

let map = new Map({ divID: 'screen' });

var wmsLayer = new WMSLayer({
    id: 0,
    name: "WMS",
    bounds: [-180, -90, 180, 90],
    url: "https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv",
    layer: "gebco_latest_2",
    epsg: "EPSG:4326",
    version: "1.1.1",
    visible:true
})

//add a layer at index 0
map.setLayer(wmsLayer, 0);
ebeaufay commented 3 months ago

I made some updates to stabilize and included cloud layers. The gettingStarted: https://drive.google.com/file/d/1ECn7C98WRZRlaNhz_CG5sVFWkwG4mvTb/view?usp=drive_link and same for typescript: https://drive.google.com/file/d/1TPZiEL6xq_qNbfiWT-BE08S5SozcPc0S/view?usp=drive_link

Latest version is 4.3.7, if you get the chance to try, tell me if you have issues, WMS works for me.