Giter Club home page Giter Club logo

Comments (6)

tyrasd avatar tyrasd commented on May 13, 2024

Hey! Thanks for your suggestions!
Actually, there is already a quite similar functionality at Export->"as interactive map". Did you try that? Of course, it doesn't print the embed code yet.
Also, I think it would be even better to make this as prominent as an own "embed" button next to "share" (rather than just another option of the share dialog). :)

from overpass-turbo.

Vanuan avatar Vanuan commented on May 13, 2024

Oh, I didn't notice that. Though I don't think there should be a separate button. As a user I expected to find the HTML code under the "Share" button. I think there should be a clear distinction between links that can be shared and links that allow you to download a map.

Naturally, interactive map is just an overpass ide without toolbars and an editor.

Thanks.

from overpass-turbo.

tyrasd avatar tyrasd commented on May 13, 2024

I see... you're probably right. Most importantly, this should be freed from the "Export" prison. :D

from overpass-turbo.

Vanuan avatar Vanuan commented on May 13, 2024

I have a question: why "interactive Map" uses "uncompessed query", like ?Q=<query>..., while "permalink" uses "compressed" one: ?q=PHVuaW9...?

from overpass-turbo.

Vanuan avatar Vanuan commented on May 13, 2024

Additional difference I noticed is that index.html first loads map view and then runs the query, while map.html first runs the query and then loads map view.

from overpass-turbo.

tyrasd avatar tyrasd commented on May 13, 2024

The "interactive Map" on map.html is a bit unfinished, that's why it cannot read compressed queries and has to execute the query first before zooming to the data. It also misses some more features...

Of course, I plan on improving that, but I think I'll have to do some code restructuring first in order to re-use the code that is currently working for the main IDE.

from overpass-turbo.

Related Issues (20)

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.