[OpenMap Users] ESRI Layers, not showing attributes

From: Rick Lane <lane_richard_b_at_bah.com>
Date: Wed, 29 Jun 2005 12:07:38 -0400


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",

Is there a step I'm missing?


[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 Wed Jun 29 2005 - 12:09:12 EDT

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