-
Notifications
You must be signed in to change notification settings - Fork 18
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
Release/2.0.1 #604
Release/2.0.1 #604
Changes from all commits
b92094c
0e4645a
f268254
9ea6b76
78e480c
5fbd287
76e98bf
23b9f69
57ed69f
b202f20
fc8bdb9
6445e5c
5d3496c
dc7db2a
60c3583
509934f
b7e2c81
ebbaaa3
72b984d
8d90bc8
912ef77
1f73ea1
0e719b5
bf0da1a
b1b2c18
1bd3610
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,8 @@ class Tiled2dMapRasterSource | |
|
||
virtual bool hasExpensivePostLoadingTask() override; | ||
|
||
virtual std::shared_ptr<::TextureHolderInterface> postLoadingTask(const std::shared_ptr<TextureLoaderResult> &loadedData, | ||
const Tiled2dMapTileInfo &tile) override; | ||
virtual std::shared_ptr<::TextureHolderInterface> postLoadingTask(std::shared_ptr<TextureLoaderResult> loadedData, | ||
Tiled2dMapTileInfo tile) override; | ||
Comment on lines
+43
to
+44
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The change in parameter types for the Consider verifying the impact of this change on performance and memory usage, especially in high-load scenarios or where the |
||
|
||
|
||
private: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -125,7 +125,7 @@ class Tiled2dMapSource : | |
protected: | ||
virtual bool hasExpensivePostLoadingTask() = 0; | ||
|
||
virtual R postLoadingTask(const L &loadedData, const Tiled2dMapTileInfo &tile) = 0; | ||
virtual R postLoadingTask(L loadedData, Tiled2dMapTileInfo tile) = 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The modification of the Review the usage of the |
||
|
||
MapConfig mapConfig; | ||
std::shared_ptr<Tiled2dMapLayerConfig> layerConfig; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ class Tiled2dMapVectorSource : public Tiled2dMapSource<std::shared_ptr<djinni::D | |
|
||
virtual bool hasExpensivePostLoadingTask() override; | ||
|
||
virtual Tiled2dMapVectorTileInfo::FeatureMap postLoadingTask(const std::shared_ptr<DataLoaderResult> &loadedData, const Tiled2dMapTileInfo &tile) override; | ||
virtual Tiled2dMapVectorTileInfo::FeatureMap postLoadingTask(std::shared_ptr<DataLoaderResult> loadedData, Tiled2dMapTileInfo tile) override; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the previous file, the change in parameter types for the As with the previous file, it's advisable to assess the impact of this change on performance and memory usage, particularly in scenarios where the |
||
|
||
const std::vector<std::shared_ptr<::LoaderInterface>> loaders; | ||
const std::unordered_set<std::string> layersToDecode; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addition of the
failedToLoad
virtual function to theGeoJSONTileDelegate
class is a significant improvement in error handling. This function provides a standardized way for subclasses to respond to loading failures, enhancing the robustness and reliability of the codebase. It's essential to ensure that all subclasses ofGeoJSONTileDelegate
implement this new method appropriately, handling loading failures in a way that maintains the integrity and functionality of the application.Recommend reviewing all subclasses of
GeoJSONTileDelegate
to ensure they implement thefailedToLoad
method effectively, providing meaningful error handling and recovery mechanisms where necessary.