kepler.gl
Version:
kepler.gl is a webgl based application to visualize large scale location data in the browser
33 lines (32 loc) • 811 B
TypeScript
/**
* Allows to break down a url into multiple params
* from http://blog.stevenlevithan.com/archives/parseuri
*/
export declare function parseUri(str: string): {
[key: string]: any;
};
export declare namespace parseUri {
var options: {
strictMode: boolean;
key: string[];
q: {
name: string;
parser: RegExp;
};
parser: {
strict: RegExp;
loose: RegExp;
};
};
}
/**
* Validates an url
* @param str
*/
export declare function validateUrl(str: any): boolean;
/**
* Checks whether a given URL points to a PMTiles file.
* @param url The URL to check.
* @returns True if the URL includes '.pmtiles', otherwise false.
*/
export declare const isPMTilesUrl: (url?: string | null) => boolean | undefined;