mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 03:42:09 +01:00
Do not duplicate BUISGL areas with points
This commit is contained in:
parent
816681f267
commit
f2ae75d7f5
@ -173,8 +173,9 @@ static bool polygonCb(const MapData::Poly *polygon, void *context)
|
||||
static bool polygonPointCb(const MapData::Poly *polygon, void *context)
|
||||
{
|
||||
QList<MapData::Point> *points = (QList<MapData::Point>*)context;
|
||||
points->append(MapData::Point(polygon->type(), polygon->bounds().center(),
|
||||
polygon->label(), polygon->param()));
|
||||
if (!(polygon->type()>>16 == BUISGL && polygon->label().isEmpty()))
|
||||
points->append(MapData::Point(polygon->type(), polygon->bounds().center(),
|
||||
polygon->label(), polygon->param()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user