API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeTileLayerSelector

@codexo/exojs-tilemap / tilemap / stable

A layer selector inside a TileMapBandDefinition: either a stable layer **id** (`number`) or a **unique** layer **name** (`string`). Selectors resolve across the map's tile **and** image layers. Names that are shared by more than one layer (of either kind) are rejected as ambiguous - reference such layers by id. An id shared by a tile layer and an image layer (possible only in fallback-ordered maps, which never validated cross-kind uniqueness) is equally ambiguous - reference such layers by a unique name.

0
props
0
methods
0
events
Import
import { TileLayerSelector } from '@codexo/exojs-tilemap'

A layer selector inside a TileMapBandDefinition: either a stable layer **id** (`number`) or a **unique** layer **name** (`string`). Selectors resolve across the map's tile **and** image layers. Names that are shared by more than one layer (of either kind) are rejected as ambiguous - reference such layers by id. An id shared by a tile layer and an image layer (possible only in fallback-ordered maps, which never validated cross-kind uniqueness) is equally ambiguous - reference such layers by a unique name.

Definition1
number | string
Source