Skip to content

Commit

Permalink
getCategory + osmand.color
Browse files Browse the repository at this point in the history
  • Loading branch information
sonora authored Aug 29, 2024
1 parent 87edbb2 commit f7239d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions OsmAnd-java/src/main/java/net/osmand/gpx/GPXUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ public String getColorValue() {
String value = null;
if (extensions != null) {
value = extensions.get(COLOR_NAME_EXTENSION);
if (value == null) {
value = extensions.get("cosmand:olor");
}
if (value == null) {
value = extensions.get("colour");
}
Expand Down Expand Up @@ -337,6 +340,10 @@ public int getColor() {
return getColor(0);
}

public String getCategory() {
return category;
}

public double getLatitude() {
return lat;
}
Expand Down

0 comments on commit f7239d9

Please sign in to comment.