Preparing search index...
The search index is not available
HarmonyNEXT地图SDK
HarmonyNEXT地图SDK
map
TileLayer
Class TileLayer
Abstract
瓦片图层定义
Since
1.2.0
Hierarchy (
view full
)
BaseLayer
TileLayer
ImageTileLayer
Index
Constructors
constructor
Accessors
name
visible
Methods
get
Layer
Id
get
Update
Type
get
Timer
Escape
set
Url
String
get
Url
String
set
Max
Tile
Tmp
set
Source
Region
get
Source
Region
set
Tile
Provide
set
Display
Level
update
to
Bundle
set
Visible
Constructors
constructor
new
Tile
Layer
(
mLayerTag
,
tileProvider
)
:
TileLayer
Parameters
mLayerTag
:
string
tileProvider
:
TileProvider
Returns
TileLayer
Accessors
name
get
name
(
)
:
string
只读
Returns
string
Since
1.0.0
visible
get
visible
(
)
:
boolean
获取图层当前状态
Returns
boolean
Since
1.0.0
set
visible
(
val
)
:
void
设置图层当前状态
Parameters
val
:
boolean
Returns
void
Since
1.0.0
Methods
get
Layer
Id
get
Layer
Id
(
)
:
string
Returns
string
get
Update
Type
get
Update
Type
(
)
:
number
Returns
number
get
Timer
Escape
get
Timer
Escape
(
)
:
number
Returns
number
set
Url
String
set
Url
String
(
url
)
:
void
Parameters
url
:
string
Returns
void
get
Url
String
get
Url
String
(
str
)
:
string
Parameters
str
:
string
Returns
string
set
Max
Tile
Tmp
set
Max
Tile
Tmp
(
maxTileTmp
)
:
void
Parameters
maxTileTmp
:
number
Returns
void
set
Source
Region
set
Source
Region
(
bound
)
:
void
Parameters
bound
:
Bounds
Returns
void
get
Source
Region
get
Source
Region
(
)
:
Bounds
Returns
Bounds
set
Tile
Provide
set
Tile
Provide
(
tileProvide
)
:
void
Parameters
tileProvide
:
TileProvider
Returns
void
set
Display
Level
set
Display
Level
(
minDisplay
,
maxDisplay
)
:
void
Parameters
minDisplay
:
number
maxDisplay
:
number
Returns
void
update
update
(
)
:
void
主动调用绘制一次图层数据
Returns
void
to
Bundle
to
Bundle
(
)
:
default
Returns
default
set
Visible
set
Visible
(
visible
)
:
void
设置图层当前状态
Parameters
visible
:
boolean
Returns
void
Since
1.0.0
Settings
Theme
OS
Light
Dark
On This Page
constructor
name
visible
get
Layer
Id
get
Update
Type
get
Timer
Escape
set
Url
String
get
Url
String
set
Max
Tile
Tmp
set
Source
Region
get
Source
Region
set
Tile
Provide
set
Display
Level
update
to
Bundle
set
Visible
HarmonyNEXT地图SDK
Loading...
瓦片图层定义
Since
1.2.0