aboutsummaryrefslogtreecommitdiffstats
path: root/examples/demos/osmbuildings/request.cpp
Commit message (Collapse)AuthorAgeFilesLines
* OSM Demo: Refactor the tile sort algorithmFriedemann Kleint2024-10-111-0/+9
| | | | | | | | | Introduce a OSMTileData::distanceTo() function and a named lambda for readability. Pick-to: 6.8 Change-Id: I7989c6095fc18f9a2bfaa713a1b4b1c0cc162e31 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* OSM Demo: Small cleanupsFriedemann Kleint2024-10-021-29/+29
| | | | | | | | | | | | | - Fix some spelling errors - Avoid contains()/value() antipattern. - Move the URL constants into the source do not use tr() on them - Remove unused lambda parameters Noticed while porting to Python. Pick-to: 6.8 Change-Id: I531959984a99dd9113311f43c460c5270e50aa2b Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* OSM Demo: Make OSMTileData a hashable type using the new comparison macrosFriedemann Kleint2024-10-021-0/+5
| | | | | | | | | Store it in the m_buildingsHash instead of a string key, saving a few allocations. Pick-to: 6.8 Change-Id: I6d3e58726ca2d8dc3569915770e96eed9b4f3517 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Fix warnings floods of the OSM DemoFriedemann Kleint2024-09-261-4/+14
| | | | | | Pick-to: 6.8 Change-Id: I3f412b281a866aff74b174e1df8a8858d873cef1 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Brush up the OSM DemoFriedemann Kleint2024-09-191-52/+55
| | | | | | | | | | | | | | | | - Fix clang-tidy warnings * Initialize variables * Implicit cast to bool * Use auto for template casts * Use upper case float literals - Use string literals - Fix coding style (move braces up) - Streamline code Task-number: PYSIDE-2206 Pick-to: 6.8 Change-Id: I5e469cef711ed9f89987d64e5a1b9df2ce49eb15 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
* Add Qt exclusive demo tokenSadegh Taghavi2024-06-241-6/+24
| | | | | | | | | | Add Qt exclusive demo token provided by OSM using an AWS API endpoint as a proxy. Add the ability to change the example token by the user in runtime. Fixes: QTBUG-124144 Pick-to: 6.7 6.8 Change-Id: I590f0c31b795edede7ba6b23c6bbc3ef0a5bb468 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* OSM Buildings DemoSadegh Taghavi2024-01-181-0/+297
It's a demonstration of using qtQuick3d to load and render big scene Change-Id: Ie9065bd71f69f622f07c3bf78520cfbea0b2ce8b Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>