rename map icons
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 611 B After Width: | Height: | Size: 611 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 616 B |
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 505 B |
Before Width: | Height: | Size: 477 B After Width: | Height: | Size: 477 B |
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 673 B |
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 647 B |
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 456 B |
Before Width: | Height: | Size: 502 B After Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 467 B |
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 516 B |
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 636 B After Width: | Height: | Size: 636 B |
@ -93,7 +93,7 @@ void PoiLayer::load(const QString &filename)
|
|||||||
foreach (const QString &c, categories) {
|
foreach (const QString &c, categories) {
|
||||||
QString t = tags.value(c, "");
|
QString t = tags.value(c, "");
|
||||||
if (!t.isEmpty()) {
|
if (!t.isEmpty()) {
|
||||||
QString icon = m_iconPath+"/"+t+".png";
|
QString icon = m_iconPath+"/"+c+"-"+t+".png";
|
||||||
if (QFile::exists(icon)) {
|
if (QFile::exists(icon)) {
|
||||||
if (!m_iconCache.contains(t)) {
|
if (!m_iconCache.contains(t)) {
|
||||||
m_iconCache.insert(t, new QPixmap(icon));
|
m_iconCache.insert(t, new QPixmap(icon));
|
||||||
|