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 as well, 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...
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 as well, 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...
--
[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 - 01:59:43 EST