Ancestor for all Leaflet layer definitions.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Id | string | optional | |
| Type | bbbfly.Map.Layer.type | ||
| Display | bbbfly.Map.Layer.display | fixed | optional |
| NameRes | string | optional Layer name resource ID | |
| Name | string | object | optional Layer name by language | |
| ZIndex | number | optional Layer z-index | |
| Opacity | number | optional Layer opacity | |
| ClassName | string | optional Layer element CSS class name |
Members
-
static display enum string
-
Name Type Default Description fixed string fixed Always shown visible string visible Optional, shown as default -
static type enum string
-
Supported map layer types.
Name Type Default Description color string ColorLayer image string ImageLayer tile string TileLayer wms string WMSLayer arcgis_online string ArcGISOnlineLayer arcgis_server string ArcGISServerLayer arcgis_enterprise string ArcGISEnterpriseLayer mapbox_tile string MapboxTileLayer mapbox_style string MapboxStyleLayer