public class StravaMap extends Object implements StravaCacheable<String>
Strava's representation of a map. Contains only a pair of polylines suitable for use with Google maps.
If you want a detailed map that consists of GPS co-ordinates as in the original upload, then you're after StravaStream
| Constructor and Description |
|---|
StravaMap()
No args constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
String |
getPolyline() |
StravaResourceState |
getResourceState() |
String |
getSummaryPolyline() |
int |
hashCode() |
void |
setId(String id) |
void |
setPolyline(String polyline) |
void |
setResourceState(StravaResourceState resourceState) |
void |
setSummaryPolyline(String summaryPolyline) |
String |
toString() |
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String getId()
getId in interface StravaCacheable<String>public String getPolyline()
public StravaResourceState getResourceState()
getResourceState in interface StravaCacheable<String>public String getSummaryPolyline()
public int hashCode()
hashCode in class ObjectObject.hashCode()public void setId(String id)
id - the id to setpublic void setPolyline(String polyline)
polyline - the polyline to setpublic void setResourceState(StravaResourceState resourceState)
resourceState - the resourceState to setpublic void setSummaryPolyline(String summaryPolyline)
summaryPolyline - the summaryPolyline to setpublic String toString()
toString in class ObjectObject.toString()Copyright © 2016 Dan Shannon. All rights reserved.