Tom Hughes wrote:
> It's not immediately clear from the bug details that there is any
> replacement - my best guess at the moment is that there is but that it
> can only be activated programmatically, and possible only in debug
> builds.

I emailed Robert O'Callahan, one of the Mozilla Gecko developers.

I asked:

 > Is there any other way of doing what they want to do with Firefox 3?

And he replied:

 > Yes. One way would be to write a Firefox extension or a custom
 > XULRunner app and use canvas.drawWindow.

So the good news is that you don't need a debug build :-)
http://developer.mozilla.org/en/docs/Drawing_Graphics_with_Canvas#Additional_Features

A custom XULRunner app is probably a bit heavyweight for what we want. I 
would suggest that the YWMS team look into creating a lightweight 
Firefox extension which uses some form of IPC to exchange data with the 
running JOSM.

Of course, once you have an extension, assuming the deal with Yahoo 
doesn't prevent it, you would probably just want to grab the tile images 
directly from the DOM rather than screenshot the page and try and find 
the edges of the map section. So perhaps canvas.drawWindow isn't 
actually what you want.

Gerv


_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Reply via email to