Hello,
I'm trying to load a shape file with attributes at runtime, without going
through the built-in "add layer" menu included with OpenMap. I have a dbf,
shp, and shx file, and when using the aforementioned "add layer" method, it
works fine, but whenever I create an ESRILayer object, it seems the graphics
draw, but some of the attributes (such as color) are not preserved
(everything is black).
String dbf = "c:/EEE1Lines.dbf";
String shp = "c:/EEE1Lines.shp";
String shx = "c:/EEE1Lines.shx";
EsriLayer layer = new EsriLayer("Thinger",
dbf,
shp,
shx,
DrawingAttributes.DEFAULT);
Is there a step I'm missing?
Thanks,
Rick
-- [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 Jun 29 12:10:01 2005
This archive was generated by hypermail 2.1.8 : Wed Jun 29 2005 - 12:10:03 EDT