1. A concise explanation of the problem you’re experiencing.
The customer provides a service address but does not meet the OGC standard. How to use this url to load the secondary layer
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
omar
2
Are you talking specifically about the 3D Tiles OGC standard? What kind of custom modifications were done to it?
Not a 3D tile, I use ‘Cesium.UrlTemplateImageryProvider’ to load, no error, but no tiles, what is the reason?
code show as below:
var url = 'http://119.3.50.12:8080/earth/evts?scene=shejiyuan&ds=2&type=edom&x={x}&y={y}&l={z}';
var my_layer = viewer.scene.imageryLayers.addImageryProvider(
new Cesium.UrlTemplateImageryProvider({
url : url,
format: "image/jpg"
})
);
在 2019年3月27日星期三 UTC+8下午9:31:50,Omar Shehata写道:
omar
4
Did you check the browser console to see if there are any errors? What about the network tab? Is the request successful?