kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
33 lines (32 loc) • 1.08 kB
TypeScript
/**
* Add new layers to both existing maps
* @param {Object} splitMaps
* @param {Object|Array<Object>} layers
* @returns {Array<Object>} new splitMaps
*/
export declare function addNewLayersToSplitMap(splitMaps: any, layers: any): any;
/**
* Remove an existing layer from split map settings
* @param {Object} splitMaps
* @param {Object} layer
* @returns {Object} Maps of custom layer objects
*/
export declare function removeLayerFromSplitMaps(splitMaps: any, layer: any): any;
/**
* This method will compute the default maps layer settings
* based on the current layers visibility
* @param {Array<Object>} layers
* @returns {Array<Object>} layer visibility for each panel
*/
export declare function getInitialMapLayersForSplitMap(layers: any): any;
/**
* This method will get default splitMap settings based on existing layers
* @param {Array<Object>} layers
* @param {Object} options
* @returns {Array<Object>} split map settings
*/
export declare function computeSplitMapLayers(layers: any, options?: {
duplicate: boolean;
}): {
layers: any;
}[];