I'm afraid I don't have an answer for you, I've not seen that problem.
- Don
On Apr 29, 2004, at 12:54 PM, Johan Duflost wrote:
>
> Hi Don,
>
> Excuse me for this late answer. Thank you for your help but I don't
> think
> it's a scale problem. In fact, the mapbean is printed with the
> complementary
> colors ! Strange, isn't it ? The black lines are rendered white, the
> red
> points are rendered green, ...
>
> I hope you will be able to help me again !
>
> Johan
>
>
> ----- Original Message -----
> From: "Don Dietrick" <dietrick@bbn.com>
> To: "Johan Duflost" <johan.duflost@belgacom.net>
> Cc: <openmap-users@bbn.com>
> Sent: Friday, April 16, 2004 11:27 PM
> Subject: Re: [OpenMap Users] printing with openmap
>
>
>> Hi Johan,
>>
>> I'd check your size of your MapBean against the size of the print
>> area.
>> I think the MapBeanPrinter tries to scale the map to fit the page,
>> at
>> least in one dimension, and you might be seeing an effect of the
>> scaling. I'd make the map window bigger before printing to see if
>> that
>> helps, and then at least you would know you're on the right track.
>>
>> You might want to modify the MapBeanPrinter to call the Layers'
>> renderDataForProjection() method instead, creating a new Projection
>> for
>> that method call that better fits the size of the page you are
>> printing
>> to by setting the height and width of the projection. You might have
>> to play around with the scaling algorithm to make that happen
>> correctly, though.
>>
>> Hope this helps,
>>
>> Don
>>
>> On Apr 16, 2004, at 9:45 AM, Johan Duflost wrote:
>>
>>> Hello all ,
>>>
>>> I use the jnlp version of openmap and I try to print the mapbean and
>>> it works but the quality of the printed image is very bad and
>>> unusable. I use MapBeanPrinter in a Layer. I simply invoke printMap
>>> on
>>> the mapbean which is returned by the getAncestorOfClass method of
>>> SwingUtilities.
>>>
>>> Printing is a very important feature for end users. Do you know where
>>> I made a mistake ?
>>>
>>> Thank you in advance.
>>>
>>> Best regards,
>>>
>>> Johan Duflost
>>>
>>> Johan Duflost
>>> Analyst Programmer
>>> Belgian Biodiversity Information Facility (BeBIF)
>>> Universite Libre de Bruxelles (ULB)
>>> Boulevard du Triomphe - Campus de la Plaine
>>> B-1050 Bruxelles
>>> 02 650 57 51
>>> http://gis.bebif.be
>>
>>
>>
>>
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Apr 29 13:03:38 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT