diff options
author | YraFyra <yrafyra@gmail.com> | 2012-09-07 23:25:24 +0200 |
---|---|---|
committer | YraFyra <yrafyra@gmail.com> | 2012-09-07 23:25:24 +0200 |
commit | 8601726b97432406a7ebaec849e6a1d991f2b6a4 (patch) | |
tree | ba0623431ee6ffabb805135c7c398d22185c4747 | |
parent | 36a68a5e93d5ce74e3ce1ea36e844da96cfdae71 (diff) | |
download | cgeo-8601726b97432406a7ebaec849e6a1d991f2b6a4.zip cgeo-8601726b97432406a7ebaec849e6a1d991f2b6a4.tar.gz cgeo-8601726b97432406a7ebaec849e6a1d991f2b6a4.tar.bz2 |
Change of URLs used to 'Open in Browser'
-rw-r--r-- | main/src/cgeo/geocaching/cgTrackable.java | 2 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/cgWaypoint.java | 4 | ||||
-rw-r--r-- | main/src/cgeo/geocaching/connector/gc/GCConnector.java | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/main/src/cgeo/geocaching/cgTrackable.java b/main/src/cgeo/geocaching/cgTrackable.java index 58c9529..1cf867b 100644 --- a/main/src/cgeo/geocaching/cgTrackable.java +++ b/main/src/cgeo/geocaching/cgTrackable.java @@ -48,7 +48,7 @@ public class cgTrackable implements ILogable { return null; } } - return "http://coord.info/" + geocode.toUpperCase(); + return "http://www.geocaching.com/track/details.aspx?tracker=" + geocode.toUpperCase(); } public String getGuid() { diff --git a/main/src/cgeo/geocaching/cgWaypoint.java b/main/src/cgeo/geocaching/cgWaypoint.java index af6bab5..2613514 100644 --- a/main/src/cgeo/geocaching/cgWaypoint.java +++ b/main/src/cgeo/geocaching/cgWaypoint.java @@ -156,7 +156,7 @@ public class cgWaypoint implements IWaypoint, Comparable<cgWaypoint> { } public String getUrl() { - return "http://coord.info/" + geocode.toUpperCase(); + return "http://www.geocaching.com/seek/cache_details.aspx?wp=" + geocode.toUpperCase(); } @Override @@ -242,4 +242,4 @@ public class cgWaypoint implements IWaypoint, Comparable<cgWaypoint> { public String getCoordType() { return "waypoint"; } -}
\ No newline at end of file +} diff --git a/main/src/cgeo/geocaching/connector/gc/GCConnector.java b/main/src/cgeo/geocaching/connector/gc/GCConnector.java index 42ec663..0cfab2d 100644 --- a/main/src/cgeo/geocaching/connector/gc/GCConnector.java +++ b/main/src/cgeo/geocaching/connector/gc/GCConnector.java @@ -45,7 +45,7 @@ public class GCConnector extends AbstractConnector implements ISearchByGeocode, @Override public String getCacheUrl(cgCache cache) { // it would also be possible to use "http://www.geocaching.com/seek/cache_details.aspx?wp=" + cache.getGeocode(); - return "http://coord.info/" + cache.getGeocode(); + return "http://www.geocaching.com/seek/cache_details.aspx?wp=" + cache.getGeocode(); } @Override |