32 const std::string& name,
34 const std::string& ionAccessToken,
36 const std::string& ionAssetEndpointUrl =
"https://api.cesium.com/");
41 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
42 const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
43 const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
44 pPrepareRendererResources,
45 const std::shared_ptr<spdlog::logger>& pLogger,
66 const std::string& name,
67 const std::string& overlayUrl,
68 const std::string& ionAccessToken,
73 std::string _overlayUrl;
74 std::string _ionAccessToken;
75 bool _needsAuthHeader =
false;
77 struct AssetEndpointAttribution {
79 bool collapsible =
true;
82 struct ExternalAssetEndpoint {
83 std::string externalType;
88 std::string accessToken;
89 std::vector<AssetEndpointAttribution> attributions;
92 static std::unordered_map<std::string, ExternalAssetEndpoint> endpointCache;
95 const ExternalAssetEndpoint& endpoint,
97 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
98 const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
99 const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
100 pPrepareRendererResources,
101 const std::shared_ptr<spdlog::logger>& pLogger,
IonRasterOverlay(const std::string &name, int64_t ionAssetID, const std::string &ionAccessToken, const RasterOverlayOptions &overlayOptions={}, const std::string &ionAssetEndpointUrl="https://api.cesium.com/")
Creates a new instance.
virtual CesiumAsync::Future< CreateTileProviderResult > createTileProvider(const CesiumAsync::AsyncSystem &asyncSystem, const std::shared_ptr< CesiumAsync::IAssetAccessor > &pAssetAccessor, const std::shared_ptr< CesiumUtility::CreditSystem > &pCreditSystem, const std::shared_ptr< IPrepareRasterOverlayRendererResources > &pPrepareRendererResources, const std::shared_ptr< spdlog::logger > &pLogger, CesiumUtility::IntrusivePointer< const RasterOverlay > pOwner) const override
Begins asynchronous creation of a tile provider for this overlay and eventually returns it via a Futu...