Skip to content

Add support for local pmtiles tile package (via drag and drop) #755

Add support for local pmtiles tile package (via drag and drop)

Add support for local pmtiles tile package (via drag and drop) #755

Triggered via pull request January 23, 2025 17:59
Status Failure
Total duration 3m 22s
Artifacts

ci.yml

on: pull_request
build docker
1m 22s
build docker
build artifacts
45s
build artifacts
Matrix: build-node
Matrix: e2e-tests
Fit to window
Zoom out
Zoom in

Annotations

42 errors and 3 warnings
build on ubuntu-latest: 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...'.
build on ubuntu-latest: src/components/App.tsx#L744
Property 'file' does not exist on type 'Readonly<AppState>'.
build on ubuntu-latest: src/components/App.tsx#L885
Parameter 'e' implicitly has an 'any' type.
build on ubuntu-latest: 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<...>'.
build on ubuntu-latest: 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...'.
build on ubuntu-latest: src/components/App.tsx#L908
Property 'files' does not exist on type 'Readonly<AppState>'.
build on ubuntu-latest: src/components/AppToolbar.tsx#L295
Property 'onFileSelected' does not exist on type 'Readonly<AppToolbarInternalProps>'.
build on ubuntu-latest: src/components/MapMaplibreGl.tsx#L96
Object literal may only specify known properties, and 'protocol' does not exist in type 'Readonly<MapMaplibreGlState>'.
build on ubuntu-latest: src/components/MapMaplibreGl.tsx#L139
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
build on ubuntu-latest: src/components/MapMaplibreGl.tsx#L140
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
build artifacts: 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...'.
build artifacts: src/components/App.tsx#L744
Property 'file' does not exist on type 'Readonly<AppState>'.
build artifacts: src/components/App.tsx#L885
Parameter 'e' implicitly has an 'any' type.
build artifacts: 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<...>'.
build artifacts: 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...'.
build artifacts: src/components/App.tsx#L908
Property 'files' does not exist on type 'Readonly<AppState>'.
build artifacts: src/components/AppToolbar.tsx#L295
Property 'onFileSelected' does not exist on type 'Readonly<AppToolbarInternalProps>'.
build artifacts: src/components/MapMaplibreGl.tsx#L96
Object literal may only specify known properties, and 'protocol' does not exist in type 'Readonly<MapMaplibreGlState>'.
build artifacts: src/components/MapMaplibreGl.tsx#L139
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
build artifacts: src/components/MapMaplibreGl.tsx#L140
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
build on macos-latest: 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...'.
build on macos-latest: src/components/App.tsx#L744
Property 'file' does not exist on type 'Readonly<AppState>'.
build on macos-latest: src/components/App.tsx#L885
Parameter 'e' implicitly has an 'any' type.
build on macos-latest: 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<...>'.
build on macos-latest: 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...'.
build on macos-latest: src/components/App.tsx#L908
Property 'files' does not exist on type 'Readonly<AppState>'.
build on macos-latest: src/components/AppToolbar.tsx#L295
Property 'onFileSelected' does not exist on type 'Readonly<AppToolbarInternalProps>'.
build on macos-latest: src/components/MapMaplibreGl.tsx#L96
Object literal may only specify known properties, and 'protocol' does not exist in type 'Readonly<MapMaplibreGlState>'.
build on macos-latest: src/components/MapMaplibreGl.tsx#L139
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
build on macos-latest: src/components/MapMaplibreGl.tsx#L140
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
E2E tests using chrome
The process '/usr/local/bin/npm' failed with exit code 2
E2E tests using firefox
The process '/usr/local/bin/npm' failed with exit code 2
build on windows-latest: 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...'.
build on windows-latest: src/components/App.tsx#L744
Property 'file' does not exist on type 'Readonly<AppState>'.
build on windows-latest: src/components/App.tsx#L885
Parameter 'e' implicitly has an 'any' type.
build on windows-latest: 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<...>'.
build on windows-latest: 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...'.
build on windows-latest: src/components/App.tsx#L908
Property 'files' does not exist on type 'Readonly<AppState>'.
build on windows-latest: src/components/AppToolbar.tsx#L295
Property 'onFileSelected' does not exist on type 'Readonly<AppToolbarInternalProps>'.
build on windows-latest: src/components/MapMaplibreGl.tsx#L96
Object literal may only specify known properties, and 'protocol' does not exist in type 'Readonly<MapMaplibreGlState>'.
build on windows-latest: src/components/MapMaplibreGl.tsx#L139
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
build on windows-latest: src/components/MapMaplibreGl.tsx#L140
Property 'file' does not exist on type 'Readonly<MapMaplibreGlInternalProps>'.
build on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build artifacts
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build docker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636