Dirk Stöcker <[EMAIL PROTECTED]> writes: > On Tue, 14 Oct 2008, [EMAIL PROTECTED] wrote: > >>> I found a fix: >>> >>> In ymap.html change >>> mapDiv.style.width = new_width; >>> mapDiv.style.height = new_height; >>> map.resizeTo( new YSize(new_width, new_height)); >>> >>> to >>> map.resizeTo( new YSize(new_width, new_height)); >>> mapDiv.style.width = new_width; >>> mapDiv.style.height = new_height; >> >> This fix doesnt quite work for me. I get "overlapping" tiles, >> portions of the tiles are repeated. >> (cant really describe it better) >> >> The webkit downloader seems to work, though. > > I hate JavaScript. With the images I tested it worked fine for both. > > Can you try to find a solution which works for both? > e.g.
I see that my comment about the webkit downloader was unclear. What I meant was that I've only tested the webkit downloader, and it downloads images fine, but somewhere they get wrongly scaled. Some further questions: - where is the emwsplugin source located? - where are the tiles cached? It would be nice if it would be possible to get behaviour aproximating the Potlach editor, through a plugin, for us mapper wannabes. PS if its any consolation I also hate javascript :) > > map.resizeTo( new YSize(new_width, new_height)); > mapDiv.style.width = new_width; > mapDiv.style.height = new_height; > map.resizeTo( new YSize(new_width, new_height)); > > or > > mapDiv.style.width = new_width; > mapDiv.style.height = new_height; > map.resizeTo( new YSize(new_width, new_height)); > mapDiv.style.width = new_width; > mapDiv.style.height = new_height; > > or something like this ... > > Ciao -- Joakim Verona _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
