react-arcgis-wmws
Version:
React component to display a public arcgis online webmap, webscene or feature table. Uses the ESM version of the ArcGIS Javascript API. Does not use esri-loader.
14 lines (13 loc) • 443 B
TypeScript
/// <reference types="react" />
import "@arcgis/core/assets/esri/themes/light/main.css";
interface IViewerProps {
[key: string]: any;
dimension: '2d' | '3d';
itemId: string;
dockPopup?: boolean;
showLegend?: boolean;
env?: 'prod' | 'qa' | 'uat' | 'dev';
}
declare const Viewer: ({ dimension, itemId, dockPopup, showLegend, env, ...props }: IViewerProps) => JSX.Element;
export { Viewer };
export type { IViewerProps };