[OSM-dev] JOSM YWMS on OS X

Callum Noble callum at notthesame.co.uk
Thu Aug 30 15:55:46 BST 2007


I've been working on a simpler way to get the YWMS plugin working for JOSM.

I've taken a firefox plugin called Screengrab! and without really 
knowing what I am doing striped it down to just a command to save to 
save the page to a png on the click of a button.

I modified the java plugin to use watch for the firefox plugin saving a 
file and load it and process it instead of using the PAINT_ON_LOADed file.

Could someone else using os x try this out - I've put some instructions 
up at:
http://wiki.openstreetmap.org/index.php/Talk:JOSM/Plugins/YWMS

It should be possible to trigger the saving of the canvas to png to be 
done automatically - but the furthest I could get was to get an alert 
box to trigger onload. Needs some attention from someone that knows some 
javascript/xul.


Hope this will be of some help though,
-- 
Callum





More information about the dev mailing list