[OpenMap Users] Load image problem

From: Erling Andreas Fagerlie <erlingfagerlie@gmail.com>
Date: Thu Dec 28 2006 - 04:44:29 EST

Hi all,
I would like to place an image in the openmap bean, and I do like this;

CSVTiledImagePlugIn csv = new CSVTiledImagePlugIn();
csv.setFileHasHeader(true);
URL url = getClass().getResource("kh.csv");
CSVFile csv_file = new CSVFile(url);
csv.setTilefile(csv_file);
PlugInLayer pl = new PlugInLayer();
pl.setPlugIn(csv);
pl.setVisible(true);
mapBean.add(pl);

The content of kh.csv;

63.1221,7.7197,63.102,7.76319,http://www.mywebserver.com/kh.jpeg

Can anyone please tell me what I'm doing wrong?

Regards

Erling

--
[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 Thu Dec 28 05:09:58 2006

This archive was generated by hypermail 2.1.8 : Thu Dec 28 2006 - 05:10:23 EST