public static class StaticMapsRequest.Path
extends java.lang.Object
implements com.google.maps.internal.StringJoin.UrlValue
Constructor and Description |
---|
Path() |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(LatLng point)
Add a point to the path.
|
void |
addPoint(java.lang.String point)
Add a point to the path.
|
void |
color(java.lang.String color)
Specifies a 24-bit color (example: color=0xFFFFCC) or a predefined color from the set {black,
brown, green, purple, yellow, blue, gray, orange, red, white}.
|
void |
fillcolor(java.lang.String color)
Specifies a 24-bit color (example: color=0xFFFFCC) or a predefined color from the set {black,
brown, green, purple, yellow, blue, gray, orange, red, white}.
|
void |
geodesic(boolean geodesic)
Indicates that the requested path should be interpreted as a geodesic line that follows the
curvature of the earth.
|
java.lang.String |
toUrlValue() |
void |
weight(int weight)
Specifies the thickness of the path in pixels.
|
public void weight(int weight)
weight
- The thickness of the path in pixels.public void color(java.lang.String color)
color
- The color of the path.public void fillcolor(java.lang.String color)
color
- The fill color.public void geodesic(boolean geodesic)
geodesic
- Whether the path is geodesic.public void addPoint(java.lang.String point)
point
- The point to add.public void addPoint(LatLng point)
point
- The point to add.public java.lang.String toUrlValue()
toUrlValue
in interface com.google.maps.internal.StringJoin.UrlValue