public static class MVTTileOverlayOptions.Builder
extends java.lang.Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
MVTTileOverlayOptions |
build()
创建MVTTileOverlayOptions
|
MVTTileOverlayOptions.Builder |
id(java.lang.String id)
geohub上MVT数据的服务id
|
MVTTileOverlayOptions.Builder |
key(java.lang.String key)
官网的key,需要是web服务key
|
MVTTileOverlayOptions.Builder |
url(java.lang.String url)
MVT数据的url
https://restapi.amap.com/rest/lbs/geohub/tiles/mvt
|
MVTTileOverlayOptions.Builder |
visible(boolean visible)
覆盖物是否可见
|
MVTTileOverlayOptions.Builder |
zIndex(float zIndex)
覆盖物的zindex
|
public MVTTileOverlayOptions.Builder url(java.lang.String url)
url
- public MVTTileOverlayOptions.Builder key(java.lang.String key)
key
- public MVTTileOverlayOptions.Builder id(java.lang.String id)
id
- public MVTTileOverlayOptions.Builder zIndex(float zIndex)
zIndex
- public MVTTileOverlayOptions.Builder visible(boolean visible)
visible
- public MVTTileOverlayOptions build()