If look at the editor code in For Unity, will see that the code includes functionality to support WMS.
However, it seems that the currently provided reference does not explain how to call the WMS function.
Is there a way to call the function?
Regarding WFS or external maps(ex.URL for WMTS), I’ve seen elsewhere that there are currently no plans to provide that function, but I’m curious what will happen to that function.
In case you need more detailed instructions, click on the tileset you want to add the overlay to. Then, click the “Add Component” button in the Inspector:
The component should appear when you search for it:
For me who was thinking of applying it by dragging, this is an effective advice.
I have one more question.
I would also like to replace the raster image, but basically, when I call the asset and setting values, I use the raster settings through ion and the raster of the Bing map.
As in the image, I see CesiumRasterOverlay.cs and CesiumRasterOverlayEditor.cs without ion attached, but can I not use this function?
As you know, not all data is always in the user’s hands.
It would be great if it could be updated and managed with ion, but some data inevitably has to be requested from external data.
You are guessing the code that performs these functions with the above two codes. Did you guess correctly?
If yes, where should I ADD these?
thx for the answer, @Kevin_Ring!
I also found the code you found, and guessed that it was correct, so it was a problem while trying to add the code to Hierarchy’s CesiumWoldTerrain.
Even though the version is still low, it seems to have all the features, so I’m going to study for a while to use the features.
In the case of WMS, it requested data returned in XML type, but is only this type currently supported?
As in the image, I see CesiumRasterOverlay.cs and CesiumRasterOverlayEditor.cs without ion attached, but can I not use this function?
As you know, not all data is always in the user’s hands.
It would be great if it could be updated and managed with ion, but some data inevitably has to be requested from external data.
You are guessing the code that performs these functions with the above two codes. Did you guess correctly?
If yes, where should I ADD these?
CesiumRasterOverlay is a base class that all other types of overlays are derived from. It is not meant to be used on its own. In Cesium, raster overlays are handled differently based on their source, which is why there are different sub-types of overlays. The four overlays that are supported in Cesium Native, and by extension, Cesium for Unity and Cesium for Unreal, are ion, Bing, Tile Map Service (TMS), and Web Map Service (WMS).
So I’m not sure I understand what you mean by requesting from “external data”. What source are you trying to add raster overlays from?
This is a map API provided by other sites.
Since the original map file is not provided, the map of the region is obtained through the API, but the DEM data is registered in ion, and the DEM and maps of other regions try to use Cesium.
Let me just make sure I understand. You want to use another API to add raster overlays to the tilesets, but the data is in Cesium ion? Is something preventing you from using CesiumIonRasterOverlay?
Rendering vector data is the challenging part. Once we have good mechanisms for doing that, we can add a variety of sources of vector data with relatively little work. Vector data rendering is not something we’re currently working on, but hopefully we’ll be able to soon.