34 const std::string& name,
36 const std::string& ionAccessToken,
38 const std::string& ionAssetEndpointUrl =
"https://api.cesium.com/");
43 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
44 const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
45 const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
46 pPrepareRendererResources,
47 const std::shared_ptr<spdlog::logger>& pLogger,
53 std::string _ionAccessToken;
54 std::string _ionAssetEndpointUrl;
56 struct AssetEndpointAttribution {
58 bool collapsible =
true;
61 struct ExternalAssetEndpoint {
62 std::string externalType;
67 std::string accessToken;
68 std::vector<AssetEndpointAttribution> attributions;
71 static std::unordered_map<std::string, ExternalAssetEndpoint> endpointCache;
74 const ExternalAssetEndpoint& endpoint,
76 const std::shared_ptr<CesiumAsync::IAssetAccessor>& pAssetAccessor,
77 const std::shared_ptr<CesiumUtility::CreditSystem>& pCreditSystem,
78 const std::shared_ptr<IPrepareRasterOverlayRendererResources>&
79 pPrepareRendererResources,
80 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...