TileLayer
A tile layer object containing tiles and other properties.
Constructor Summary
Public Constructor | ||
public |
constructor(parentMap: TileMap, options: object) TileLayer constructor. |
Member Summary
Public Members | ||
public |
The name of the tile layer. |
|
public |
properties: Map<string, *> Custom properties of the layer. |
|
public |
The tiles of the layer. |
Public Constructors
public constructor(parentMap: TileMap, options: object) source
TileLayer constructor.
Params:
Name | Type | Attribute | Description |
parentMap | TileMap | The parent map for this layer. |
|
options | object | Options for the layer. Can also be layer data you loaded from JSON or similar. |
|
options.name | string |
|
|
options.tiles | Tile[] |
|
|
options.properties | Map<string, *> |
|