-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Issues on mapper frontend on offline mode #1940
Comments
Which project was this for? I can see the buttons on this project: https://dev.fmtm.hotosm.org/mapnow/35 |
I can't see the buttons on https://dev.fmtm.hotosm.org/mapnow/35 (Naxa Demo project). |
Confirmed on mobile - this is a mobile only bug - will look into it! |
@NSUWAL123 if you could possibly look at this and do a sanity check, it would be really appreciated 🙏 I haven't really had a chance to check it thoroughly, but it's quite an important thing to fix. Such a weird error 😅 The buttons are visible on desktop, but not mobile, I think it's to do with the CSS classes, but on first look I couldn't work it out! |
Sure! |
The problem is different event target support for different browsers. Now the issue is the PMTile showed on the base maps list but didn't load due to s3 URL error. |
Wow, really great debugging! I definitely learnt something new 😁 I can look into the s3 URL issue |
Reminder to me: check the URLs on the basemap uploads |
Now I can see the buttons and the PM tiles.
Is there anything to add on this or is it ready to test a bit more and close? |
Nice! Perhaps the URL error was because @NSUWAL123 is using a project that was made prior to the basemap S3 upload changes? There is a migration script that can be used to upload all the basemaps for your local projects to local S3: docker compose exec api bash
python migrations/upload_basemaps_s3.py This can probably be closed then 😃 |
Describe the bug
The button for downloading and loading tiles on mapper frontend is missing
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The button should be visible for downloading the tiles as well as visualising the tiles on mapper frontend
Screenshots
![Image](https://private-user-images.githubusercontent.com/97273021/391838569-7c8d2e7f-f0e8-4929-9036-a3f283d32c53.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MDYxMzIsIm5iZiI6MTczOTUwNTgzMiwicGF0aCI6Ii85NzI3MzAyMS8zOTE4Mzg1NjktN2M4ZDJlN2YtZjBlOC00OTI5LTkwMzYtYTNmMjgzZDMyYzUzLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDA0MDM1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxYTdjOTY2MDA3ZGY3MDQ2ZmIxM2M0NDJmYzE5OTk4NjU1OTExNjZjOTM1ZGY4YjU2NjM2NGUxZjkxYTUxNWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PBUs4zjaxywz8efY8rqhnM-_xRGcK5xafLh8IUe2pUo)
The text was updated successfully, but these errors were encountered: