Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem loading tiles #18

Open
Rmaan opened this issue Apr 4, 2021 · 1 comment
Open

Problem loading tiles #18

Rmaan opened this issue Apr 4, 2021 · 1 comment

Comments

@Rmaan
Copy link

Rmaan commented Apr 4, 2021

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 git@github.com: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
Copy link
Author

Rmaan commented Apr 4, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant