Skip to content

Commit

Permalink
Adjust for changes in cesium-native.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Nov 20, 2024
1 parent 90bad7a commit 027a8dc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ UCesiumBingMapsRasterOverlay::CreateOverlay(
TCHAR_TO_UTF8(*this->BingMapsKey),
mapStyle,
"",
CesiumGeospatial::Ellipsoid::WGS84,
options);
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ UCesiumWebMapTileServiceRasterOverlay::CreateOverlay(
wmtsOptions.tileWidth = this->TileWidth;
wmtsOptions.tileHeight = this->TileHeight;

const CesiumGeospatial::Ellipsoid& ellipsoid =
options.ellipsoid.value_or(CesiumGeospatial::Ellipsoid::WGS84);
const CesiumGeospatial::Ellipsoid& ellipsoid = options.ellipsoid;

if (this->Projection ==
ECesiumWebMapTileServiceRasterOverlayProjection::Geographic) {
Expand Down

0 comments on commit 027a8dc

Please sign in to comment.