dota-interactive-map icon indicating copy to clipboard operation
dota-interactive-map copied to clipboard

Problem loading tiles

Open Rmaan opened this issue 3 years ago • 1 comments

Hello, I'm trying to run the project but map is blank and I get HTTP 404 for URLs like http://localhost:3000/tiles/723/default/0/tile_2_0.jpg I tried these so far:

I did git submodule init and update but they don't do anything at all. As far as I understand you haven't committed assets/tiles to repo. Usually in Github you can see a link to respective submodule repository if it's committed. Something like image

So instead I manually add the submodule by

git submodule add [email protected]:devilesk/dota-map-tiles.git assets/tiles

but then I found out https://github.com/devilesk/dota-map-tiles doesn't have 7.23 maps at all. Newest one is 7.20 map. So I tried to change base map to 7.20 but still I get 404s like http://localhost:3000/tiles/720/default/0/tile_3_0.jpg I checked and I have the files in assets folder:

➜  dota-interactive-map git:(master) ✗ ls ./assets/tiles/720/default/0/tile_3*
./assets/tiles/720/default/0/tile_3_0.jpg ./assets/tiles/720/default/0/tile_3_2.jpg
./assets/tiles/720/default/0/tile_3_1.jpg ./assets/tiles/720/default/0/tile_3_3.jpg

Rmaan avatar Apr 04 '21 23:04 Rmaan

I figured out that I need to run build again. Now I can see 7.20 maps but not newer ones.

Rmaan avatar Apr 04 '21 23:04 Rmaan