Constructor
new PMTilesLayer(options)
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | See below.
Properties
|
- Source:
Extends
Members
(protected) base
- Inherited From:
- Source:
glyphs :String
@protected
Type:
- String
- Source:
(protected) map
- Inherited From:
- Source:
(protected) maxZoom
maximal zoom level
- Inherited From:
- Source:
(protected) minZoom
minimal zoom level
- Inherited From:
- Source:
(protected) name
- Inherited From:
- Source:
(protected) native
- Inherited From:
- Source:
(protected) options
- Inherited From:
- Source:
pmtilesMaxZoom :Number
@protected
Type:
- Number
- Source:
sourceName :String
@protected
Type:
- String
- Source:
style :Object|String
@protected
Type:
- Object | String
- Source:
token :String
@protected
Type:
- String
- Source:
tokenHeader :String
@protected
Type:
- String
- Source:
(protected) transparent :Boolean
Type:
- Boolean
- Inherited From:
- Source:
url :String
@protected
Type:
- String
- Source:
(protected) visible
- Inherited From:
- Source:
Methods
clear() → {bemap.Layer}
Clear all features from this layer.
Delegates to map.clearLayer(this).
- Overrides:
- Source:
Returns:
this
- Type
- bemap.Layer
isVisible() → {boolean}
Return the visibility of the layer.
- Inherited From:
- Source:
Returns:
visible.
- Type
- boolean
onGetFeatureInfo(options) → {bemap.Listener}
Set get feature info call back.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | options.
Properties
|
- Inherited From:
- Source:
Returns:
listener;
- Type
- bemap.Listener
remove() → {bemap.Layer}
Remove the layer from the map.
- Inherited From:
- Source:
Returns:
this.
- Type
- bemap.Layer
setVisible() → {bemap.Layer}
Set the visibility of the layer.
Parameters:
| Name | Type | Description |
|---|---|---|
visible. |
boolean |
- Inherited From:
- Source:
Returns:
this;
- Type
- bemap.Layer
setZIndex() → {boolean}
Set the visibility of the layer.
Parameters:
| Name | Type | Description |
|---|---|---|
zIndex. |
boolean |
- Inherited From:
- Source:
Returns:
zIndex.
- Type
- boolean