Skip to content

Problem loading tiles #18

@Rmaan

Description

@Rmaan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions