summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-11-13 20:47:57 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-11-13 20:47:57 (GMT)
commit1a713c5c883ef20882a557ccd570706d84914f5b (patch)
tree3a8100b21dd7ab3834ac1ad32175ca7eedb1cd14
parent994f283eb593724b9e6b1b43f7b7f983ca198f69 (diff)
Patch across tiles using original osm id
-rw-r--r--src/lib/marble/layers/GeometryLayer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/marble/layers/GeometryLayer.cpp b/src/lib/marble/layers/GeometryLayer.cpp
index 72f77bb..31395a3 100644
--- a/src/lib/marble/layers/GeometryLayer.cpp
+++ b/src/lib/marble/layers/GeometryLayer.cpp
@@ -230,7 +230,7 @@ void GeometryLayerPrivate::updateTiledLineStrings(const GeoDataPlacemark* placem
if (!placemark->hasOsmData()) {
return;
}
- qint64 const osmId = placemark->osmData().id();
+ qint64 const osmId = placemark->osmData().oid();
if (osmId <= 0) {
return;
}
@@ -353,8 +353,8 @@ void GeometryLayerPrivate::removeGraphicsItems( const GeoDataFeature *feature )
if (placemark->isGloballyVisible() &&
placemark->geometry()->nodeType() == GeoDataTypes::GeoDataLineStringType &&
placemark->hasOsmData() &&
- placemark->osmData().id() > 0) {
- auto & items = m_osmLineStringItems[placemark->osmData().id()];
+ placemark->osmData().oid() > 0) {
+ auto & items = m_osmLineStringItems[placemark->osmData().oid()];
bool removed = false;
for (auto item: items) {
if (item->feature() == feature) {