Navit slows down dramatically if POI icons are not found
|Reported by:||la7qz om||Owned by:||KaZeR|
I recently had an issue after installing a new map layout when Navit slowed down to the point of being unresponsive.
After starting Navit from a terminal I discovered the problem was that the links to the POI icons was broken in the layout I had installed. The reason Navit was slowing down was that it was repeatedly attempting and failing to load the same POI icons. I assume once per occurrence of that particular type of ICON on the map.
My suggestion is that when loading a POI icon has failed, a flag should be set and Navit no longer attempts to load that icon. If more than three different POI icons fail to load, a second flag could be set and Navit quits all future attempts at loading POI icons for that session.
Some way of notifying the user of what is going on would be useful. Maybe replace missing POI icons with a questionmark on screen at run time and notify the user what happened on exit.