UNPKG

@geogirafe/lib-geoportal

Version:

GeoGirafe is a flexible application to build online geoportals.

17 lines (16 loc) 618 B
import GirafeSingleton from '../../base/GirafeSingleton'; export default class OrderingManager extends GirafeSingleton { private stateManager; private timeoutId?; private get state(); constructor(type: string); private registerEvents; /** * This method do a reorder of all layers present in the treeview * in order to keep a order attribut corresponding to what the use wants. * This order will be used by the map component to calculate the list of layers in the right order */ private reorderLayers; private reorderLayersRecursively; private getSortedLayers; }