Problem with reprojection of ShapeLayer

From: Sonntag, Alexander <sonntag@psitrans.de>
Date: Wed Jan 16 2002 - 09:22:07 EST

Hi,

I have a problem in using the ShapeLayer class. I change the position of the
OMGraphics in the
OMGraphicList omgraphics per drag function. Therefore I use the generate()
or regenerate() method
on the OMGraphic that lies next to the clickpoint. These all works well. But
when I zoom, pan or change
the projection in another way the old positions of these OMGraphics reappear
(the
ones before dragging). It seems to me that every change of the projection
causes a new readout
of the shapefile. My question is: How can I achieve that all the ShapeLayers
are read out only once (while
starting the OMApplication) in order to change the projection without
resetting the OMGraphics' position?

Thanks in advance for any help

Alexander Sonntag

--
[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 Wed Jan 16 09:25:02 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT