Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some Ion imagery assets attempt to load from localhost instead of the correct URLs #455

Open
azrogers opened this issue Apr 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@azrogers
Copy link
Contributor

azrogers commented Apr 17, 2024

As identified on the forums, Cesium for Unity (and potentially all cesium-native clients) attempts to load some Ion imagery overlays from the incorrect URLs. For example, for asset 2411391, the request to the Ion endpoint gives:

{
    "type": "IMAGERY",
    "externalType": "BING",
    "options": {
        "url": "//dev.virtualearth.net",
        "mapLayer": "Foreground",
        "mapStyle": "AerialWithLabelsOnDemand",
        "key": "<key removed>"
    },
    "attributions": [...]
}

Based on this information, Cesium for Unity should calculate the URL https://dev.virtualearth.net/REST/v1/Imagery/Metadata/AerialWithLabelsOnDemand?incl=ImageryProviders&key=<key removed>&uriScheme=https, as CesiumJS does. Instead it tries to make a request for the URL http://localhost/REST/v1/Imagery/Metadata/AerialWithLabelsOnDemand?incl=ImageryProviders&key=<key removed>&uriScheme=https, which obviously fails.

@j9liu
Copy link
Contributor

j9liu commented May 6, 2024

@azrogers is this fixed as of CesiumGS/cesium-native#864?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants