mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-20 12:19:11 +02:00
Compare commits
No commits in common. "001fa34cdd62354e218359254e63f3cafc91859d" and "f2ae75d7f5e4e1bfc759663b5b26c3100b65febc" have entirely different histories.
001fa34cdd
...
f2ae75d7f5
@ -173,13 +173,9 @@ static bool polygonCb(const MapData::Poly *polygon, void *context)
|
|||||||
static bool polygonPointCb(const MapData::Poly *polygon, void *context)
|
static bool polygonPointCb(const MapData::Poly *polygon, void *context)
|
||||||
{
|
{
|
||||||
QList<MapData::Point> *points = (QList<MapData::Point>*)context;
|
QList<MapData::Point> *points = (QList<MapData::Point>*)context;
|
||||||
uint baseType = polygon->type()>>16;
|
if (!(polygon->type()>>16 == BUISGL && polygon->label().isEmpty()))
|
||||||
|
|
||||||
if (!polygon->label().isEmpty() || baseType == TSSLPT || baseType == RCTLPT
|
|
||||||
|| baseType == I_TRNBSN || polygon->type() == SUBTYPE(I_BERTHS, 6))
|
|
||||||
points->append(MapData::Point(polygon->type(), polygon->bounds().center(),
|
points->append(MapData::Point(polygon->type(), polygon->bounds().center(),
|
||||||
polygon->label(), polygon->param()));
|
polygon->label(), polygon->param()));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user