public class RasterTileLayer extends TileLayer
swigCMemOwn
构造器和说明 |
---|
RasterTileLayer(long cPtr,
boolean cMemoryOwn) |
RasterTileLayer(TileDataSource dataSource)
从数据源构建RasterTileLayer对象。
|
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(RasterTileLayer obj) |
long |
getTextureCacheCapacity()
获取瓦片纹理缓存容量。
|
void |
setAllClickCallBack(boolean isAllClickCallBack)
设置是否任何点击都会回调,即使没有选中图元
|
void |
setLayerBrightness(float brightness)
设置图层亮度,0-1.0
|
void |
setLayerContrast(float contrast)
设置图层对比度,0-1.0
|
void |
setLayerOpacity(float opacity)
设置图层透明度,0-1.0,0表示完全透明,1.0表示完全不透明
|
void |
setLayerSaturation(float saturation)
设置图层饱和度,0-1.0
|
void |
setShowWaterXYZ(boolean showWaterXyz)
是否给瓦片加上水印(行列号、层级)
|
void |
setTextureCacheCapacity(long capacityInBytes)
Sets the tile texture cache capacity.
|
static RasterTileLayer |
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.
|
calculateMapTileBounds, clearTileCaches, deleteInGLThread, getCPtr, getDataSource, getFrameNr, getMaxOverzoomLevel, getMaxUnderzoomLevel, getName, getTileLoadListener, getTileSubstitutionPolicy, getUTFGridDataSource, getUTFGridEventListener, getZoomLevelBias, isPreloading, isSynchronizedRefresh, isUpdateInProgress, setFrameNr, setMaxOverzoomLevel, setMaxUnderzoomLevel, setPreloading, setSynchronizedRefresh, setTileLoadListener, setTileSubstitutionPolicy, setUTFGridDataSource, setUTFGridEventListener, setZoomLevelBias
equals, getCPtr, getLayerBrightness, getLayerContrast, getLayerOpacity, getLayerSaturation, getPriority, getUpdatePriority, getUUID, getVisibleZoomRange, hashCode, inVisibleZoomRange, isVisible, refresh, screenClip, setCullDelay, setPriority, setUpdatePriority, setVisible, setVisibleZoomRange, update
public RasterTileLayer(long cPtr, boolean cMemoryOwn)
public RasterTileLayer(TileDataSource dataSource)
dataSource
- 该图层加载数据的数据源。public static long getCPtr(RasterTileLayer obj)
public static RasterTileLayer swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public long getTextureCacheCapacity()
public void setTextureCacheCapacity(long capacityInBytes)
capacityInBytes
- The new tile bitmap cache capacity in bytes.public void setLayerOpacity(float opacity)
setLayerOpacity
在类中 Layer
opacity
- 透明度public void setLayerBrightness(float brightness)
setLayerBrightness
在类中 Layer
brightness
- 亮度public void setLayerContrast(float contrast)
setLayerContrast
在类中 Layer
contrast
- 对比度public void setLayerSaturation(float saturation)
setLayerSaturation
在类中 Layer
saturation
- 饱和度public void setAllClickCallBack(boolean isAllClickCallBack)
isAllClickCallBack
- 是否任何点击都会回调public void setShowWaterXYZ(boolean showWaterXyz)
showWaterXyz
- 是否给瓦片加上水印public java.lang.String swigGetClassName()
swigGetClassName
在类中 TileLayer
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 TileLayer