Hi Anoop,
Looks like you are calling generate() with a null oldProjection.
It's probably being called when the layer is initialized, and before the
layer is added to the map. The layer will probably only have a valid
projection after the layer is added to the map.
- Don
On Sunday, December 23, 2001, at 11:03 PM, anoop wrote:
> hi,
> can anybody tell me why do i get this error message in the console..
> i am using a gif image on my map and calling generate(oldProjection)
> in the class DemoLayer.
> But as far as the map and its functionality is concerned there doesnt
> seem to be any problem..it is working fine.
>
> *** ERROR ***
>
> OMRasterObject: null projection in position!
>
> *************
>
> regards,
> anoop
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Dec 26 13:56:14 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT