[josm-dev] ewmsplugin on win32
joakim at verona.se
joakim at verona.se
Wed Oct 15 07:34:42 BST 2008
Dirk Stöcker <openstreetmap at dstoecker.de>
writes:
> 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.
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
More information about the josm-dev
mailing list