Skip to content

PNG export broken in Firefox and Chromium #791

@dreua

Description

@dreua

Steps to reproduce:

  1. Enter a basic query, e.g. https://overpass-turbo.eu/?template=key&key=craft
  2. Run query (tried it with high zoom levels, just one result on the map)
  3. Choose export -> as png image

Results:

"prepare map" loads forever

Image

Browser console:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'addTo')
    at a.addControl (leaflet-src.js:4996:13)
    at BT.onExportImageClick (ide.ts:2275:16)
    at HTMLAnchorElement.<anonymous> (ide.ts:1770:14)
    at HTMLAnchorElement.dispatch (jquery.js:5145:27)
    at sr.handle (jquery.js:4949:28)

I wonder if it is completely broken or if it works for anyone in a specific browser (let me know if it does).

Finally I'd like to thank all the people involved in creating and maintaining Overpass, it is really useful tool! ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions