RE: [OpenMap Users] MapBean drawing outside its container?

From: Alex Firth <alexfirth_at_sympatico.ca>
Date: Wed, 15 Mar 2006 12:54:30 -0500

My buffering is done at the layer level using rendering hints, although the
problem occurs even if those hints are disabled. So the MapBean is just a
vanilla MapBean.

-----Original Message-----
From: Don Dietrick [mailto:dietrick_at_bbn.com]
Sent: March 15, 2006 12:47 PM
To: Alex Firth
Cc: 'Vincent, Chuck'; openmap-users_at_bbn.com
Subject: Re: [OpenMap Users] MapBean drawing outside its container?

By 'type' I mean either the BufferedMapBean or the BufferedLayerMapBean.

- Don

On Mar 15, 2006, at 12:27 PM, Alex Firth wrote:

> It's a standard MapBean (com.bbn.openmap.MapBean) in version 4.6.3,
> also had
> the problem in previous versions. I'm not sure what you mean by
> "type"...
>
>
> The layers showing the problem are
> com.bbn.openmap.layer.shape.ShapeLayer2
> But it occurs with any ShapeLayer class.
>
> One thing that I just noticed is that if I remove the enclosing
> JPanel, the
> problem occurs in my RasterLayers too (just a OMGraphicHandlerLayer
> extended
> for a single raster).
>
>
> -----Original Message-----
> From: Don Dietrick [mailto:dietrick_at_bbn.com]
> Sent: March 15, 2006 12:05 PM
> To: Alex Firth
> Cc: 'Vincent, Chuck'; openmap-users_at_bbn.com
> Subject: Re: [OpenMap Users] MapBean drawing outside its container?
>
> Alex,
>
> Were you seeing the problem with a standard MapBean (if so, which
> version and type)? If it was an extended MapBean, which class did
> you extend off of and what did the extension look like? Were the
> layers causing the problem backgrounded layers on a
> BufferedLayerMapBean?
>
> Chuck, how about you?
>
> - Don
>
> On Mar 15, 2006, at 11:19 AM, Alex Firth wrote:
>
>> I've had the same problem for months - enclosing in a JPanel didn't
>> help,
>> unfortunately. Note that only the shape layers get drawn outside
>> their
>> area...
>>
>>
>> Alex Firth
>> Mobile Detect, Inc
>>
>>
>> -----Original Message-----
>> From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-
>> users_at_bbn.com] On
>> Behalf Of Don Dietrick
>> Sent: March 14, 2006 11:12 AM
>> To: Vincent, Chuck
>> Cc: openmap-users_at_bbn.com
>> Subject: Re: [OpenMap Users] MapBean drawing outside its container?
>>
>> Hi Chuck,
>>
>> The MapBean sometimes acts weird in some components (JSplitPane,
>> etc). If you wrap it in a JPanel, those effects seem to go away.
>>
>> - Don
>>
>> On Mar 14, 2006, at 10:12 AM, Vincent, Chuck wrote:
>>
>>> We are using just the MapBean to draw single Shape Layer maps
>>> inside of
>>> our own application. When we resize the container that holds the
>>> MapBean it occasionally draws over the container boundary (see
>>> attached
>>> screen capture).
>>>
>>> Any idea why its doing this, and how it can be fixed?
>>>
>>> Thanks
>>> Chuck
>>>
>>>
>>> <geospatialDashboard.jpg>
>>
>> --
>> [To unsubscribe to this list send an email to "majdart_at_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_at_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_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Mar 15 2006 - 12:54:59 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT