Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/layers/GeometryLayer.cpp
Context not available. | |||||
24 | #include "GeoDataLinearRing.h" | 24 | #include "GeoDataLinearRing.h" | ||
---|---|---|---|---|---|
25 | #include "GeoDataMultiGeometry.h" | 25 | #include "GeoDataMultiGeometry.h" | ||
26 | #include "GeoDataPolygon.h" | 26 | #include "GeoDataPolygon.h" | ||
27 | #include "GeoDataBuilding.h" | ||||
27 | #include "GeoDataPolyStyle.h" | 28 | #include "GeoDataPolyStyle.h" | ||
28 | #include "GeoDataStyle.h" | 29 | #include "GeoDataStyle.h" | ||
29 | #include "GeoDataIconStyle.h" | 30 | #include "GeoDataIconStyle.h" | ||
Context not available. | |||||
412 | if (item->zValue() == 0) { | 413 | if (item->zValue() == 0) { | ||
413 | item->setZValue(poly->renderOrder()); | 414 | item->setZValue(poly->renderOrder()); | ||
414 | } | 415 | } | ||
416 | } else if (const auto building = geodata_cast<GeoDataBuilding>(object)) { | ||||
417 | item = GeoPolygonGraphicsItem::createGraphicsItem(placemark, building); | ||||
415 | } else if (const auto multigeo = geodata_cast<GeoDataMultiGeometry>(object)) { | 418 | } else if (const auto multigeo = geodata_cast<GeoDataMultiGeometry>(object)) { | ||
416 | int rowCount = multigeo->size(); | 419 | int rowCount = multigeo->size(); | ||
417 | for (int row = 0; row < rowCount; ++row) { | 420 | for (int row = 0; row < rowCount; ++row) { | ||
Context not available. |