[OpenMap Users] Problems adding an image

From: Juan Proyecto <juanproyecto@terra.es>
Date: Wed Jan 08 2003 - 05:30:23 EST

Hi everybody,

    First of all, I would like to wish you all (openmapers) a Happy New Year!!

And now, letīs go bak to work:

    Iīm having problems trying to display an image on my openmap application. I obtain this error:

*** ERROR ***
OMRasterObject.render: Attempting to draw a Image that is not ready! Image proba
bly wasn't available.
*************

and, this is a piece of the code I use:

ImageIcon ii=new ImageIcon("C:\\gis\\openmap-4.5.3\\com\\bbn\\openmap\\examples\\todo\\band.gif");

OMRaster ras=new OMRaster(43.46f,-3.79f,-20,0,ii);

lista.add(ras);

return lista;

where lista is an OMGraphicList.

I have gone over it many times but I canīt solve it. I appreciate any help you could give.

Thank you all,

                Juan.

--
[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 8 05:35:48 2003

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