Hi Matt,
Thank you for the quick reply. Extra information. I tried it with multiple combinations:
- 2022.1.5f1. with URP
- 2022.1.5fs with HDRP
- 2021.3.4f1 LTS with URP
- 2021.3.4f1 LTS with HDRP
My OS is Windows 64 bit, my Graphics Card is a Nvidia 770 GTX, I have also created a build, same result as from the editor.
I have tried multiple image sources, but none work. I have not checked yet if there are actual calls to the endpoint, but i do know no textures are setup in the materials, except for the elevation texture. I don't know if there is some way to get lower level debugging information from the library to validate if the calls are working, i could snif the packages i guess..
Another thing I noticed is that it might be a localization issue in the tiling code? I had to adjust the routing example code to get the routing working, because the string interpolation code $"{long}, {lat}" would localize the floats using my dutch settings, so instead of adding for example 40.70 to the string, it would add 40,70. This would result in an error in the example. It might be that there is similar low level code within the imagelayer/basemap code, but I can't validate since I don't think it is open source/C#. To be clear, i made this adjustment in the routing example:
private string GetRouteString(GameObject[] stops)
{
ArcGISPoint startGP = stops[0].GetComponent<ArcGISLocationComponent>().Position;
ArcGISPoint endGP = stops[1].GetComponent<ArcGISLocationComponent>().Position;
string startString = $"{startGP.X.ToString(CultureInfo.InvariantCulture)}, {startGP.Y.ToString(CultureInfo.InvariantCulture)}";
string endString = $"{endGP.X.ToString(CultureInfo.InvariantCulture)}, {endGP.Y.ToString(CultureInfo.InvariantCulture)}";
return $"{startString};{endString}";
}
I haven't tested my setup on another pc yet, hopefully i can do that today.