Displaying map from a local file?

I how can I implement a functionality of “Load map from filesystem”, in which the user will be able to select a local file, such as (but does not have to be) a GeoTIFF file.

I have encountered the following library, which has a video of what appears to be loading files from the local storage, but without source code, so I assume it to be possible:

Thank you

P.S. If using something like Electron to pass the data is needed, it works for me as well.

Hi there,

I think it depends on the data, but you’ll likely need to upload it to a server to process and host the data.

Using Cesium ion may be a plausible solution if the uploaded file format is supported.