Giter Club home page Giter Club logo

Comments (6)

bhousel avatar bhousel commented on June 27, 2024

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.

tcql avatar tcql commented on June 27, 2024

@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 😵

from osm-sidewalker.

tcql avatar tcql commented on June 27, 2024

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.

bhousel avatar bhousel commented on June 27, 2024

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.

bhousel avatar bhousel commented on June 27, 2024

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.

tcql avatar tcql commented on June 27, 2024

@bhousel cool 👍 it'd be nice

from osm-sidewalker.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.