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.

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)

_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to