public class IconSequence extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
IconSequence()
A symbol that can be draw on
Polyline |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFixedRotation()
Sets fixed rotation state.
|
Symbol |
getIcon()
Get the icon to render on the line.
|
String |
getOffset()
Get the distance from the start of the line at which an icon is to be
rendered.
|
String |
getRepeat()
Get the distance from the start of the line at which an icon is to be
rendered.
|
static IconSequence |
newInstance()
A symbol that can be draw on
Polyline |
void |
setFixedRotation(boolean fixedRotation)
Sets fixed rotation.
|
void |
setIcon(Symbol symbol)
Set the icon to render on the line.
|
void |
setOffset(String offset)
Set the distance from the start of the line at which an icon is to be
rendered.
|
void |
setRepeat(String repeat)
Set the distance between consecutive icons on the line.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringprotected IconSequence()
Polylinepublic static final IconSequence newInstance()
PolylineIconSequencepublic final void setFixedRotation(boolean fixedRotation)
true, each icon in the sequence has
the same fixed rotation regardless of the angle of the edge on which it
lies. Defaults to false, in which case each icon in the
sequence is rotated to align with its edge.fixedRotation - public final boolean getFixedRotation()
public final void setIcon(Symbol symbol)
symbol - public final Symbol getIcon()
public final void setOffset(String offset)
offset - public final String getOffset()
public final void setRepeat(String repeat)
offset - public final String getRepeat()
Copyright © 2011-2014 GWT Maps API V3. All Rights Reserved.