TkinterMapView icon indicating copy to clipboard operation
TkinterMapView copied to clipboard

Support for local map tile servers without http:

Open Kdebaas opened this issue 3 years ago • 0 comments

Hi,

request_image() supports online mapservers and offline database. But it would be great if it would also support offline directories in the form of tileserver = /path/{z}/{x}/{y}.jpg. It could access the images directly with Image.open, without inserting requests.get. But I don't know how you would detect whether the supplied tileserver is an url or a path.

Usecase would be e.g. a standalone PC as a kiosk with its own local tileserver, without the need to install a webserver.

Cheers

Kdebaas avatar Jun 07 '22 14:06 Kdebaas