Closed zouyaoji closed 1 year ago
I think you should do this. http://192.168.2.114{s}/tiles/arcgis_black/{z}/{x}/{reverseY}.png
@zouyaoji Subdomains are a different part of the URL.
Here's an example of how they work with UrlTemplateImageryProvider
// Access the CartoDB Positron basemap, which uses an OpenStreetMap-like tiling scheme.
const positron = new Cesium.UrlTemplateImageryProvider({
url : 'http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png',
credit : 'Map tiles by CartoDB, under CC BY 3.0. Data by OpenStreetMap, under ODbL.'
});
Sandcastle example:
Browser:
Operating System:
UrlTemplateImageryProvider, when my subdomains are in the port number, throws an error like the following:
http://192.168.2.114:570{s}/tiles/arcgis_black/{z}/{x}/{reverseY}.png
Uncaught (in promise) TypeError: Port "570{s}" is not a valid port.