@impargo/react-here-maps
Version:
React.js HERE Maps component
20 lines (19 loc) • 764 B
TypeScript
import type { DefaultLayers } from './types';
export interface UseRasterLayersProps {
map?: H.Map;
truckRestrictions?: boolean;
showActiveAndInactiveTruckRestrictions?: boolean;
trafficLayer?: boolean;
useSatellite?: boolean;
congestion?: boolean;
defaultLayers?: DefaultLayers;
apiKey: string;
enableRasterLayers: boolean;
language: string;
hidpi?: boolean;
/**
* @default false
*/
hideTruckRestrictionsWhenZooming?: boolean;
}
export declare const useRasterLayers: ({ map, useSatellite, trafficLayer, congestion, truckRestrictions, defaultLayers, apiKey, language, enableRasterLayers, showActiveAndInactiveTruckRestrictions, hidpi, hideTruckRestrictionsWhenZooming, }: UseRasterLayersProps) => void;