mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Fixed GeoJSON waypoint properties parsing
This commit is contained in:
parent
211ff46487
commit
7febd2971e
@ -83,7 +83,7 @@ static void setWaypointProperties(Waypoint &waypoint,
|
|||||||
QColor color(0x7e, 0x7e, 0x7e);
|
QColor color(0x7e, 0x7e, 0x7e);
|
||||||
int size = MARKER_SIZE_MEDIUM;
|
int size = MARKER_SIZE_MEDIUM;
|
||||||
|
|
||||||
if (!properties.isObject()) {
|
if (properties.isObject()) {
|
||||||
QJsonObject o(properties.toObject());
|
QJsonObject o(properties.toObject());
|
||||||
|
|
||||||
if (o["name"].isString())
|
if (o["name"].isString())
|
||||||
|
Loading…
Reference in New Issue
Block a user