[OpenMap Users] Date: Tue, 11 Oct 2005 17:20:24 -0600

From: Bivens, Hugh P <hpbiven@sandia.gov>
Date: Tue Oct 11 2005 - 19:20:50 EDT

I'm having the same problem that Mark had adding a CSVTiledImagePlugin
to his app:
http://openmap.bbn.com/mailArchives/openmap-users/2004-01/2174.html

I'm doing what Don suggested, using SimpleMap2 as an example. I add the
CSVTiledImagePlugIn programmitacally like this:

CSVTiledImagePlugIn plugin = new CSVTiledImagePlugIn();
Properties props = new Properties();
props.put("prettyName", "Hugh1");
props.put("tileFile", "data/trash.csv");
props.put("fileHasHeader", "false");
plugin.setProperties(props);
mapHandler.add(plugin);

But after I add it and I look at the layers

Layer layers[] = _layerHandler.getLayers();
for (int i = 0; i < layers.length; i++)
{
  System.out.println("Got layer: " + layers[i].getName());
}

The layer "Hugh1" is not there. My other 2 layers are there, however.
I'm not getting any error messages either.

Any ideas why the CSVTiledImagePlugIn isn't getting added?

I am using 4.6.2 on windows.

Thanks!
Hugh

___________________________________________________
Hugh P. Bivens +1 (505) 284-6822
Sandia National Laboratories hpbiven@sandia.gov
Albuquerque, NM USA

--
[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 Tue Oct 11 19:27:27 2005

This archive was generated by hypermail 2.1.8 : Tue Oct 11 2005 - 19:27:29 EDT