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
Add Mapillary to detail pages #480
Comments
I've created a mapillary user "sozialhelden" for this and put in in the shared 1p-vault. |
as step one, just Mapillary. |
@schultyy In case there is no mapillary photo, I now see a black rectangle. Example: https://staging.wheelmap.org/nodes/3017232832 Can the default background color of the widget be white or be omitteded completely? |
@holgerd Sure, I'll have a look into that. I'll try to not render it then if there's nothing to show. |
@schultyy Yes, not rendering if empty is a good soloution if that's possible! |
@holgerd On Staging there's now a version available which only renders Mapillary if there's actual content available. Otherwise it stays hidden. |
great! LGTM |
As discussed on Slack this will go into production beginning next week |
@schultyy cc @holgerd Seems like the mapillary view we've implemented is not complete. "There are however missing assets that can't be loaded like https://asset3.wheelmap.org/assets/stepper-play.svg that make the icons for navigation not be visible. Wold be great if you can fix that for a better integration :)" |
Yes, I'm seeing the missing assets in e.g. https://wheelmap.org/nodes/2370599905 |
Thanks @peterneubauer for commenting on this. Could you write down your further recommendations on how to fix the navigation icons? |
So I found out why there's a 500:
It appears to be a NGINX rule which is either missing or not working properly. UPDATE: On Staging we get 404 errors instead of 500. |
To check whether the problem is in the NGINX configuration or with wheelmap, I created a small example application with the snippet from the Mapillary-js GitHub page. There everything works just fine. Even though the browser receives HTTP 500 errors right now, they occur because the file cannot be found. |
Thanks, @schultyy, let's try this. |
@Svenyo We have deployed our fix to staging today. Can you please review the fix, e.g. via this node? https://staging.wheelmap.org/nodes/1229408775 Merci. |
@1000miles Looks great! Can be deployed to prodution. |
Is in production now 🙆 . |
Great, looks good! |
Suggestion from the OSM forum:
Add Mapillary and OpenStreetView to detail pages
https://forum.openstreetmap.org/viewtopic.php?id=55958
Sounds like a good idea, maybe as an addition instead of a replacement of Google Streetview.
https://github.com/mapillary/mapillary-js seems to be free for non-profits and I did not find a widget option for OSV yet.
The text was updated successfully, but these errors were encountered: