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

local GPX file loads, but does not show up on the map #1436

Closed
tyrasd opened this issue May 8, 2013 · 15 comments
Closed

local GPX file loads, but does not show up on the map #1436

tyrasd opened this issue May 8, 2013 · 15 comments
Assignees
Labels
bug A bug - let's fix this!

Comments

@tyrasd
Copy link
Member

tyrasd commented May 8, 2013

I was able to drop a GPX file on the iD editor, and apparently it loads fine as it is possible to zoom on to the extend of the file. However, no trace is visible on the map.

@tyrasd
Copy link
Member Author

tyrasd commented May 8, 2013

This looks like a CSS-issue only. Because, when I add width and height values to the SVG-element for the gpx, the trace shows up.

@tmcw
Copy link
Contributor

tmcw commented May 8, 2013

@tyrasd is this in Opera?

@tyrasd
Copy link
Member Author

tyrasd commented May 8, 2013

Hm, yes. Opera 12.15, but also Chrome 23.0 and Firefox 20.0

@tmcw
Copy link
Contributor

tmcw commented May 8, 2013

This broke in 62e53fc looking for a fix now.

@tmcw tmcw closed this as completed in 2871e74 May 8, 2013
@tmcw tmcw reopened this May 8, 2013
@tyrasd
Copy link
Member Author

tyrasd commented May 8, 2013

I'd say .layer-layer > svg also needs width and height set to 100%

@ghost ghost assigned jfirebaugh May 8, 2013
@tyrasd
Copy link
Member Author

tyrasd commented May 8, 2013

Still doesn't work in Opera and Firefox :(

@jfirebaugh
Copy link
Member

Grrr... browsers

@jfirebaugh jfirebaugh reopened this May 8, 2013
@jfirebaugh
Copy link
Member

Still not working on Opera, but I don't think it ever did.

@tmcw
Copy link
Contributor

tmcw commented May 8, 2013

Opera supports the ondrop event and I think I remember it working, but now the official example they post (and their article about drag and drop) are incorrect. I filed a ticket to their opaque bug tracker.

@tyrasd
Copy link
Member Author

tyrasd commented May 8, 2013

@jfirebaugh: Strange. Here, this works just fine on Opera, too. 👍

@matclab
Copy link

matclab commented May 9, 2013

Does not work on chromium 26.0.1410.63 (192696) on linux either here (id 1.0.0)…

@jfirebaugh
Copy link
Member

@matclab (and anyone else testing): Are you using http://www.openstreetmap.us/iD/master/? That's the only iD instance that has the latest code, where this should be fixed.

@matclab
Copy link

matclab commented May 9, 2013

@jfirebaugh You are right of course. It works well with http://www.openstreetmap.us/iD/master/. Thanks for the tip (though it was not clear commming from the "report a bug" link in the 1.0.0 version that I should verify against the master) !
Anyway I'm very impressed by the new editor ! You've made a really great job !

@jfirebaugh
Copy link
Member

@matclab Thanks, and good point; I will add a note to CONTRIBUTING.md about verifying bug fixes.

@steevithak
Copy link

I'm having this problem too. I'm using the Chrome browser v28.0.1500.71 on a Redhat Fedora GNU/Linux box. I can't find a way to load traces from OSM at all. If I load them from my local computer, they load but are displayed underneath the roadway layer, so they are almost completely hidden from view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug - let's fix this!
Projects
None yet
Development

No branches or pull requests

5 participants