sylvainar / ROS-OSM-map-integration

This web app goes connects to the ROS core using rosbridge, and display the position of the bot on an OSM map.
27 stars 15 forks source link

Problem with local tiles #3

Open johschmitz opened 6 years ago

johschmitz commented 6 years ago

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. 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).

What could be wrong?

sylvainar commented 6 years ago

Did you download the tiles from OpenStreetMaps ? It's been a while since I haven't run this project, but I remember using TileMill.