Re: [OpenMap Users] Layer dosen't "update" after call to MapBean.setCenter(lat, lon)

From: Davidian <>
Date: Thu, 31 Jan 2008 05:35:24 -0800 (PST)


Yes, I've confirmed that the layer is getting a ProjectionChanged event
every time I call setCenter. As a matter of fact, it looks like it is
getting two such events. I'm sure that is because I am calling setCenter()
on the MapBean, and then following that with setScale().

Also, I am extending OMGraphicHandlerLayer. I checked the code in that
class, and generate() is getting called for sure in the prepare() method.

Thanks for your help so far.


oland wrote:
> Hi
> Does the layer receive a projection change event after the call to
> setCenter?
> Override prepare and check that generate is called on the list returned
> by getList() and that the list is not empty when this is done.
> BR
> Carsten

View this message in context:
Sent from the OpenMap mailing list archive at
[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Jan 31 2008 - 08:36:16 EST

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