package.dist.components.essentials.geo-projection.d.ts Maven / Gradle / Ivy
import { Component } from '..';
import { RenderTypes } from '../../interfaces/enums';
export declare class GeoProjection extends Component {
type: string;
renderType: RenderTypes;
render(): void;
/**
* Retrieves the D3 geographic projection based on the options provided.
*
* This method selects a geographic projection from the available D3 projections
* based on the `projection` property in the `thematic` options. If the projection
* is not supported or is missing, an error is thrown.
*
* @returns {d3.GeoProjection} - The D3 geographic projection corresponding to the selected option.
* @throws {Error} If the projection is not supported or is missing.
*/
getProjection(): any;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy