@loaders.gl/wms
Version:
Framework-independent loaders for the WMS (Web Map Service) standard
27 lines • 1.04 kB
TypeScript
import type { Source, SourceArrayDataSourceType, DataSourceOptions } from '@loaders.gl/loader-utils';
import type { WMSSourceOptions } from "../../wms-source.js";
export type ImageSourceType = 'wms' | 'arcgis-image-server' | 'template';
/**
* * @deprecated Use createDataSource from @loaders.gl/core
*/
type CreateImageSourceOptions = DataSourceOptions & WMSSourceOptions & {
type?: ImageSourceType | 'auto';
};
/**
* Creates an image source
* If type is not supplied, will try to automatically detect the the
* @param url URL to the image source
* @param type type of source. if not known, set to 'auto'
* @returns an ImageSource instance
*
* @deprecated Use createDataSource from @loaders.gl/core
*/
export declare function createImageSource<SourceArrayT extends Source[]>(options: {
url: string;
type: string;
loadOptions: any;
options: Readonly<CreateImageSourceOptions>;
sources: Readonly<Source[]>;
}): SourceArrayDataSourceType<SourceArrayT>;
export {};
//# sourceMappingURL=create-image-source.d.ts.map