package.dist.es5.components.scale-control.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-map-gl Show documentation
Show all versions of react-map-gl Show documentation
React components for Mapbox GL JS-compatible libraries
The newest version!
import * as React from 'react';
import type { ControlPosition, ScaleControlInstance } from '../types';
export declare type ScaleControlProps = OptionsT & {
unit?: string;
maxWidth?: number;
/** Placement of the control relative to the map. */
position?: ControlPosition;
/** CSS style override, applied to the control's container */
style?: React.CSSProperties;
};
declare function ScaleControl(props: ScaleControlProps): null;
declare const _default: React.MemoExoticComponent;
export default _default;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy