Re: [OpenMap Users] getImageFromMapBean

From: Don Dietrick <dietrick_at_bbn.com>
Date: Mon, 13 Mar 2006 18:19:58 -0500

Hi David,

What version are you using? It sounds like a problem that was fixed
in the latest version, something about the projection getting messed
up in the layer and the layer always thinking that the projection
never changed after the image was created.

- Don

On Mar 13, 2006, at 1:21 AM, David.Marklund_at_Sjofartsverket.se wrote:

>
> I have problems with the ShapeLayers in my application. They seem
> to loose all kind of event handling (zoom, pan...) after creating a
> image with the code below. The shape layers freezes at their last
> position before the call to the image creating code.
>
>
>
> I have several other self-implemented layers also, but they work
> fine after the image is created. I use a BufferedMapBean and a
> LayerHandler to add my layers.
>
> Any idea of what is happening with the events in the Shape Layers ?
>
>
>
> // David
>
>
>
>
>
> SunJPEGFormatter formatter = new SunJPEGFormatter();
> formatter.setImageQuality(1.0f);
> .
> .
> .
>
> imageBytes = formatter.getImageFromMapBean(myMapBean); // if I
> comment out this row, the app works fine...
>
>
> <ALTERNATIVE.HTM>

--
[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 Mon Mar 13 2006 - 18:20:43 EST

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