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

From: Bivens, Hugh P <hpbiven_at_sandia.gov>
Date: Tue, 11 Oct 2005 19:20:50 -0400 (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_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

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT