com.supermap.mapping.dyn
Class DynamicLine
- java.lang.Object
-
- com.supermap.mapping.dyn.DynamicElement
-
- com.supermap.mapping.dyn.DynamicLine
-
public class DynamicLine extends DynamicElement
The dynamic layer line object class.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.supermap.mapping.dyn.DynamicElement
DynamicElement.ElementType, DynamicElement.OnClickListener, DynamicElement.OnDownAndUpListener, DynamicElement.OnLongPressListener
-
-
Constructor Summary
Constructors Constructor and Description DynamicLine()
Create a new line object on the dynamic layer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description boolean
fromGeometry(Geometry geometry)
Create a new line object on the dynamic layer through Geometry.-
Methods inherited from class com.supermap.mapping.dyn.DynamicElement
addAnimator, addPoint, dispose, getBounds, getGeoPoints, getID, getMinShowScale, getName, getNameColor, getNameOffsetX, getNameOffsetY, getNamePosition, getNameSize, getNameTextAlign, getOnDownAndUpListener, getOnLongPressListener, getPart, getStyle, getTag, getType, getUserData, isNameVisible, setMinShowScale, setName, setNameColor, setNameOffsetX, setNameOffsetY, setNamePosition, setNameSize, setNameTextAlign, setNameVisible, setOnClickListenner, setOnDownAndUpListener, setOnLongPressListener, setStyle, setTag, setUserData, updatePoint
-
-
-
-
Method Detail
-
fromGeometry
public boolean fromGeometry(Geometry geometry)
Create a new line object on the dynamic layer through Geometry.- Specified by:
fromGeometry
in classDynamicElement
- Parameters:
geometry
- Geographic elements- Returns:
- Whether it is successful.
-
-