[josm-dev] ewmsplugin on win32
Dirk Stöcker
openstreetmap at dstoecker.de
Wed Oct 15 07:27:29 BST 2008
On Tue, 14 Oct 2008, joakim at verona.se 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.
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
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list