Can i load google maps xml

I have two sets of local tiles, one set of xml in tms format and the other set of xml from google maps, I can easily reference the xml from tms in cesiumTileMapServiceRasterOverlay and load the local tiles without any problem. But I still want to use googlemaps xml, when I use google’s xml it is able to read the xml format, but it seems like there is a problem with the configuration, can this be loaded properly. Or how to configure google’s xml correctly for cesium to load correctly?

Here is the xml content of Google Maps

<?xml version="1.0" encoding="utf-8" ?>
<source_list version="1.0" creator="Global Mapper - http://www.globalmapper.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.globalmapper.com/OSL/1/0" xsi:schemaLocation="http://www.globalmapper.com/OSL/1/0 http://www.globalmapper.com/OSL/1/0/gmc.xsd">
  <source type="TMS">
    <name>My Map Set Name</name>
    <FileExt>png</FileExt>
    <LatLonBounds>106.5454101562,29.5161103861,106.7211914062,29.649868678</LatLonBounds>
    <NumZoomLevels>19</NumZoomLevels>
    <TileSize>256</TileSize>
    <BaseURL><![CDATA[file:///W:/ct_google_maps/Z%z/%x/%y.png]]></BaseURL>
    <NativeProj>EPSG:3857</NativeProj>
  </source>
</source_list>

When he loads it in UE, the log suggests that the tile can’t be found. My guess is that it’s because the coordinate system in the xml or the coordinates corresponding to the location indicated by the xy of this tile are not properly configured.

UE logs

Hi @youtoom,

Can you share a screenshot of your settings on the CesiumTileMapServiceRasterOverlay component? It looks like the URL is resolving in a way that may be undesired, e.g., containing double slashes in the middle of the URL. That may be due to how the base URL is specified on the overlay.