Revision d68eb5f...
Go back to digest for 3rd July 2011Optimization in Educational
Dennis Nienhüser committed changes in [marble] /plugins/runner/monav:
Memory optimization for people using a large number of offline maps.
Country bounding box polygons are rather big for some countries in the
new offline routing maps. When all countries are installed in Marble,
they sum up to ~75 MB which is too much for the mobile version. Discard
those larger than ~40 kB and only store the rectangular bbox as an
approximation. Work around the to be expected false positives by
querying other matching country maps if the first guess was wrong.
File Changes
Modified 4 files
- /plugins/runner/monav
- src/MonavMap.cpp
- src/MonavPlugin.cpp
- src/MonavPlugin.h
- src/MonavRunner.cpp
4 files changed in total