diff options
author | koem <koem@petoria.de> | 2011-10-08 16:07:02 +0200 |
---|---|---|
committer | koem <koem@petoria.de> | 2011-10-08 16:07:02 +0200 |
commit | 6e950c529ab6d1df27841e88b4237180a2465b79 (patch) | |
tree | a46527355078d697536ee6a7ab79d5e708ade2d4 /main/src/cgeo/geocaching/StaticMapsProvider.java | |
parent | 9731ffa193c81c77ad64cb06c7574098113fd316 (diff) | |
download | cgeo-6e950c529ab6d1df27841e88b4237180a2465b79.zip cgeo-6e950c529ab6d1df27841e88b4237180a2465b79.tar.gz cgeo-6e950c529ab6d1df27841e88b4237180a2465b79.tar.bz2 |
always use WaypointType
Diffstat (limited to 'main/src/cgeo/geocaching/StaticMapsProvider.java')
-rw-r--r-- | main/src/cgeo/geocaching/StaticMapsProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/StaticMapsProvider.java b/main/src/cgeo/geocaching/StaticMapsProvider.java index 59990b7..1bf5655 100644 --- a/main/src/cgeo/geocaching/StaticMapsProvider.java +++ b/main/src/cgeo/geocaching/StaticMapsProvider.java @@ -80,7 +80,7 @@ public class StaticMapsProvider { waypoints.append("&markers=icon%3A"); waypoints.append(MARKERS_URL); waypoints.append("marker_waypoint_"); - waypoints.append(waypoint.type); + waypoints.append(waypoint.typee != null ? waypoint.typee.id : null); waypoints.append(".png%7C"); waypoints.append(String.format((Locale) null, "%.6f", waypoint.coords.getLatitude())); waypoints.append(','); |