Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Can this also have an iD button? #1

Closed
lxbarth opened this issue Oct 27, 2015 · 6 comments
Closed

Can this also have an iD button? #1

lxbarth opened this issue Oct 27, 2015 · 6 comments

Comments

@lxbarth
Copy link

lxbarth commented Oct 27, 2015

We should always offer both if available possible.

@bhousel
Copy link

bhousel commented Oct 27, 2015

Followup from chat w @tcql

How to open iD with url parameters to set lng/lat/zoom and a selected element:
https://github.com/openstreetmap/iD/blob/master/API.md#url-parameters

This is how it's done in to-fix, but I dont see code to actually preselect the way via the url parameter.

And for fun, here is the same code in keepright 😨

@tcql
Copy link
Contributor

tcql commented Oct 27, 2015

@bhousel so, interesting: looks like iD on openstreetmap.us is https, but references non-https content, which means the page can't, for example, load ways/nodes/etc unless you explicitly allow mixed content in your browser

screen shot 2015-10-27 at 11 26 41 am

screen shot 2015-10-27 at 11 31 50 am

no OSM features. that's nifty 😵

@tcql
Copy link
Contributor

tcql commented Oct 27, 2015

got it working for now by using embedded iD in openstreetmap.org.

@lxbarth looks like we can't preselect multiple ways using iD, so the "Open in iD" button is only available when you select a single way.

@tcql tcql closed this as completed Oct 27, 2015
@bhousel
Copy link

bhousel commented Oct 27, 2015

Oh weird! try with https://openstreetmap.us/iD/master instead - the mixed content bug was fixed earlier this year.

https://openstreetmap.us/iD/release is really old. I'll have to ping Ian Dees about that.

@bhousel
Copy link

bhousel commented Oct 27, 2015

looks like we can't preselect multiple ways using iD, so the "Open in iD" button is only available when you select a single way.

BTW, if you really want multiple features preselected - open a ticket in iD repository, and I'll add it. I don't think this would be too hard to do.

@tcql
Copy link
Contributor

tcql commented Oct 27, 2015

@bhousel cool 👍 it'd be nice

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

No branches or pull requests

3 participants