Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

[ADD] After #671 is closed, find a legal way to incorporate Yahoo maps #676

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 7 comments

Comments

@openstreetmap-trac
Copy link

Reporter: koying
[Submitted to the original trac issue database at 10.42am, Friday, 8th February 2008]

Possible paths:

  • Use the firefox hack ( la JOSM)
  • Wait for QT 4.4 which will have Webkit integrated
  • Use QtScript (if comaptible with Yahoo AJAX api)
@openstreetmap-trac
Copy link
Author

Author: tom[at]compton.nu
[Added to the original trac issue at 11.26am, Friday, 8th February 2008]

I did play with this for JOSM using the Javascript stuff that recent versions of Java have, but never got very far.

The problem is that the API doesn't have things like "give me an image for this area" or "give me tiles for this area", but rather "render a map of this area in this

on the page". So you need to fake up enough of the DOM for it to find a div element and populate it with tiles, then extract the images from those tiles.

@openstreetmap-trac
Copy link
Author

Author: bart[at]vanhauwaert.org
[Added to the original trac issue at 12.22pm, Saturday, 9th February 2008]

Technically the best way would be to wait for Qt 4.4 (out Q1 2008 I hope) which would include WebKit. That would allow us to load up and display pages including those from yahoo maps within Merkaartor. To get the content as a backdrop I see to possibilities

A custom QNetworkManager where we can filter all network traffic and filter all images.

Rendering the Webkit widget to a QPixmap and then crop and scale to the area we are interested in.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 10.33am, Sunday, 10th February 2008]

Yes, waiting fot Qt 4.4/webkit seems the soundest solution.

Waiting for the release, I can still make some progress using the technology preview.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 1.25pm, Tuesday, 1st April 2008]

(In [7236]) ADD : Initial commit of legal Yahoo background maps (refs #676)

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 11.27am, Wednesday, 16th April 2008]

(In [7378]) ADD : link to working webkit - part 1 - .pro (refs #676)
ADD : Merkaartor icon (closes #832)
FIX : French translation

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 11.30am, Wednesday, 16th April 2008]

(In [7379]) ADD : link to working webkit - part 2 - actual link (refs #676)

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 12.30pm, Sunday, 1st June 2008]

I think I can close this one, as the webkit seems to work reasonably well

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

No branches or pull requests

1 participant