Add support for local pmtiles tile package (via drag and drop) #755
Annotations
10 errors
Run npm run build:
src/components/App.tsx#L744
Type '{ onChange: (mapView: { zoom: number; center: { lng: number; lat: number; }; }) => void; options: Partial<MapOptions> & { showTileBoundaries: boolean; showCollisionBoxes: boolean; showOverdrawInspector: boolean; }; ... 6 more ...; onDataChange: (e: { ...; }) => void; }' is not assignable to type 'IntrinsicAttributes & Omit<Pick<$Subtract<{ onDataChange?(event: { map: Map$1 | null; }): unknown; onLayerSelect(...args: unknown[]): unknown; mapStyle: StyleSpecification; ... 4 more ...; onChange(value: { ...; }): unknown; } & WithTranslation<...>, WithTranslationProps>, "mapStyle" | ... 4 more ... | "tReady"> & I...'.
|
Run npm run build:
src/components/App.tsx#L744
Property 'file' does not exist on type 'Readonly<AppState>'.
|
Run npm run build:
src/components/App.tsx#L885
Parameter 'e' implicitly has an 'any' type.
|
Run npm run build:
src/components/App.tsx#L890
Object literal may only specify known properties, and 'file' does not exist in type 'AppState | ((prevState: Readonly<AppState>, props: Readonly<any>) => AppState | Pick<AppState, keyof AppState> | null) | Pick<...>'.
|
Run npm run build:
src/components/App.tsx#L908
Type '{ renderer: string; mapState: MapState; mapStyle: StyleSpecification & { id: string; }; inspectModeEnabled: boolean; sources: { [key: string]: SourceSpecification; }; ... 5 more ...; onFileSelected: (e: any) => void; }' is not assignable to type 'IntrinsicAttributes & Omit<$Subtract<{ mapStyle: object; inspectModeEnabled: boolean; onStyleChanged(...args: unknown[]): unknown; onStyleOpen(...args: unknown[]): unknown; sources: object; children?: ReactNode; onToggleModal(...args: unknown[]): unknown; onSetMapState(mapState: MapState): unknown; mapState?: MapSta...'.
|
Run npm run build:
src/components/App.tsx#L908
Property 'files' does not exist on type 'Readonly<AppState>'.
|
Run npm run build:
src/components/AppToolbar.tsx#L295
Property 'onFileSelected' does not exist on type 'Readonly<AppToolbarInternalProps>'.
|
Run npm run build:
src/components/MapMaplibreGl.tsx#L96
Object literal may only specify known properties, and 'protocol' does not exist in type 'Readonly<MapMaplibreGlState>'.
|
Run npm run build:
src/components/MapMaplibreGl.tsx#L139
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
|
Run npm run build:
src/components/MapMaplibreGl.tsx#L140
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
|
Loading