A layerOptions object is a method for constructing a tile layer for
immediate use, for example by passing it to the jQuery widget or
in the knockout binding.
Constructor methods
constructor( id: string , options: { useBackdrop?: boolean; maxConcurrentRequests?: number; requestor?: 'mapsjs'.tile.requestor; descriptor?: any; renderer?: 'mapsjs'.tile.renderer; requestProcessor?: any; visible?: boolean; opacity?: number; minZoomLevel?: number; maxZoomLevel?: number; tileBleedPix?: number; retainInterlevelContent?: boolean; enableTileFadeIn?: boolean; notifyErrorAction?: (msg?: string) => void; notifyLoadingQueueHasEmptiedAction?: () => void; } ) : layerOptions
Defined in mapsjs.d.ts:1350
Parameters
id: string
options: { useBackdrop?: boolean; maxConcurrentRequests?: number; requestor?: 'mapsjs'.tile.requestor; descriptor?: any; renderer?: 'mapsjs'.tile.renderer; requestProcessor?: any; visible?: boolean; opacity?: number; minZoomLevel?: number; maxZoomLevel?: number; tileBleedPix?: number; retainInterlevelContent?: boolean; enableTileFadeIn?: boolean; notifyErrorAction?: (msg?: string) => void; notifyLoadingQueueHasEmptiedAction?: () => void; }
Returns
layerOptions
Methods
public getId( ) : string
Defined in mapsjs.d.ts:1378
Gets ID associated with the underlying tile layer.
Returns
string
ID of the layer.
public getOptions( ) : any
Defined in mapsjs.d.ts:1383
Gets this layerOptions object as a JavaScript object.
Returns
any
public getTileLayer( ) : layer
Defined in mapsjs.d.ts:1372
Returns the underlying tile layer.
Returns
layer
The underlying tile layer.