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_at_sandia.gov
Albuquerque, NM USA
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Oct 11 2005 - 19:25:53 EDT