Comments (6)
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
from osm-sidewalker.
@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
no OSM features. that's nifty
from osm-sidewalker.
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.
from osm-sidewalker.
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.
from osm-sidewalker.
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.
from osm-sidewalker.
@bhousel cool
from osm-sidewalker.
Related Issues (11)
- Score confidence
- What comes out HOT 1
- How often does the interactive map get updated? HOT 2
- Figure out why tile selection is broken HOT 1
- run global analysis
- cut down on false positives
- push daily stats
- add permalink HOT 1
- Does it support finding sidewalks with cycleways? HOT 1
- Open in JOSM not working for bounding box HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osm-sidewalker.