com.supermap.mapping.dyn
Class DynamicPolygon
- java.lang.Object
-
- com.supermap.mapping.dyn.DynamicElement
-
- com.supermap.mapping.dyn.DynamicPolygon
-
public class DynamicPolygon extends DynamicElement
The dynamic layer region 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 DynamicPolygon()
Create a new region 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 region 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
-
-
-
-
Constructor Detail
-
DynamicPolygon
public DynamicPolygon()
Create a new region object on the dynamic layer.
-
-
Method Detail
-
fromGeometry
public boolean fromGeometry(Geometry geometry)
Create a new region object on the dynamic layer through Geometry.- Specified by:
fromGeometry
in classDynamicElement
- Parameters:
geometry
- Geographic elements- Returns:
- Whether it is successful.
-
-