Then I tried
var CONFIG_tile_source = 'local';var CONFIG_tile_local_path = 'tiles/{z}/{x}/{y}.png';
Did not work, not tiles displayed in the background.
also
python -m SimpleHTTPServer 8081
and then
var CONFIG_tile_local_path = 'http://localhost:8081/tiles/{z}/{x}/{y}.png';
Does not seem to work.
var CONFIG_tile_source = 'server';
works (tiles from the internet).
I created a subfolder
tiles
Then I tried
var CONFIG_tile_source = 'local';
var CONFIG_tile_local_path = 'tiles/{z}/{x}/{y}.png';
Did not work, not tiles displayed in the background. alsopython -m SimpleHTTPServer 8081
and thenvar CONFIG_tile_local_path = 'http://localhost:8081/tiles/{z}/{x}/{y}.png';
Does not seem to work.var CONFIG_tile_source = 'server';
works (tiles from the internet).What could be wrong?