| Constructor and description |
|---|
GooglePolylineEncoder
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Geometry |
read(java.lang.String str, int precision)Decode the encoded String as a LineString
|
|
java.lang.String |
write(Geometry geometry, int precision)Encode a LineString
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Decode the encoded String as a LineString
str - The encoded Stringprecision - The precision which defaults to 5Encode a LineString
lineString - The LineStringprecision - The precision (defaults to 5)