Commit Graph

4 Commits

Author SHA1 Message Date
Friedemann Kleint 49bf5a003e OSM Demo: Make OSMTileData a hashable type using the new comparison macros
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>
2024-10-02 17:24:42 +02:00
Friedemann Kleint 45be79b81a Brush up the OSM Demo
- 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>
2024-09-19 12:38:56 +02:00
Sadegh Taghavi 3b602e8a35 Add Qt exclusive demo token
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>
2024-06-24 08:04:22 +00:00
Sadegh Taghavi 180704c87c OSM Buildings Demo
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>
2024-01-18 15:39:32 +02:00