public class VectorLayer extends Layer
swigCMemOwn
构造器和说明 |
---|
VectorLayer(long cPtr,
boolean cMemoryOwn) |
VectorLayer(VectorDataSource dataSource)
从数据源构造VectorLayer对象。
|
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(VectorLayer obj) |
VectorDataSource |
getDataSource()
返回这个矢量图层的矢量数据源。
|
boolean |
getNeedElevation()
获取图元是否需要自动从高程对象中获取高程
|
VectorElementEventListener |
getVectorElementEventListener()
返回矢量元素事件监听器。
|
boolean |
hitTest(MapPos posWGS84)
点击测试,检测是否有图元能被选中
|
boolean |
isUpdateInProgress()
Tests whether this layer is being currently updated.
|
void |
setAllClickCallBack(boolean isAllClickCallBack)
设置是否任何点击都会回调,即使没有选中图元
|
void |
setNeedElevation(boolean needElevation)
设置图元是否需要自动从高程对象中获取高程
|
void |
setSelectedAvailable(boolean available)
设置图元能否被选中
|
void |
setVectorElementEventListener(VectorElementEventListener eventListener)
设置矢量元素事件监听器。
|
static VectorLayer |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
deleteInGLThread, equals, getCPtr, getLayerBrightness, getLayerContrast, getLayerOpacity, getLayerSaturation, getPriority, getUpdatePriority, getUUID, getVisibleZoomRange, hashCode, inVisibleZoomRange, isVisible, refresh, screenClip, setCullDelay, setLayerBrightness, setLayerContrast, setLayerOpacity, setLayerSaturation, setPriority, setUpdatePriority, setVisible, setVisibleZoomRange, update
public VectorLayer(long cPtr, boolean cMemoryOwn)
public VectorLayer(VectorDataSource dataSource)
dataSource
- 该图层加载数据的数据源。public static long getCPtr(VectorLayer obj)
public static VectorLayer swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public void setNeedElevation(boolean needElevation)
needElevation
- public boolean getNeedElevation()
public VectorDataSource getDataSource()
public VectorElementEventListener getVectorElementEventListener()
public void setVectorElementEventListener(VectorElementEventListener eventListener)
eventListener
- 矢量元素事件监听器。public boolean isUpdateInProgress()
Layer
isUpdateInProgress
在类中 Layer
public void setSelectedAvailable(boolean available)
available
- 图元能否被选中public void setAllClickCallBack(boolean isAllClickCallBack)
isAllClickCallBack
- 是否任何点击都会回调public boolean hitTest(MapPos posWGS84)
posWGS84
- 点击测试经纬度public java.lang.String swigGetClassName()
swigGetClassName
在类中 Layer
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 Layer