Home Reference Source
import {DomOverlayer} from 'mapbox-plugins/src/layers/domOverlay.js'
public class | source

DomOverlayer

Extends:

Overlayer → DomOverlayer

initDomOverlayer

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

domOpts: *

public

doms: *[]

public

lastData: *[]

public

redraw: *

Method Summary

Public Methods
public
public

findDom(domId: *): *

public

setDoms(Doms: *)

updateDoms and redraw..

Private Methods
private

_init(): *

Inherited Summary

From class Overlayer
public

map: *

public

lnglat2pix(lng: *, lat: *): undefined[]

use Global map or this.map instance to project

public

setMap(map: *): *

private

_init()

to be overwrite in subClass

Public Constructors

public constructor() source

Override:

Overlayer#constructor

Public Members

public domContainer: * source

public domOpts: * source

public doms: *[] source

public lastData: *[] source

public redraw: * source

Public Methods

public clearDoms() source

public findDom(domId: *): * source

Params:

NameTypeAttributeDescription
domId *

Return:

*

public setDoms(Doms: *) source

updateDoms and redraw..

Params:

NameTypeAttributeDescription
Doms *

Private Methods

private _init(): * source

to be overwrite in subClass

Override:

Overlayer#_init

Return:

*