[ADD] After #671 is closed, find a legal way to incorporate Yahoo maps #676
Comments
Author: tom[at]compton.nu 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.
|
Author: bart[at]vanhauwaert.org 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. |
Author: koying 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. |
Author: koying (In [7236]) ADD : Initial commit of legal Yahoo background maps (refs #676) |
Author: koying (In [7379]) ADD : link to working webkit - part 2 - actual link (refs #676) |
Author: koying I think I can close this one, as the webkit seems to work reasonably well |
Reporter: koying
[Submitted to the original trac issue database at 10.42am, Friday, 8th February 2008]
Possible paths:
The text was updated successfully, but these errors were encountered: