Re: [OpenMap Users] Possible bug in Layer subclasses

From: Don Dietrick <>
Date: Mon, 27 Sep 2004 10:36:34 -0400

Hi Sedat,

On Sep 24, 2004, at 4:35 PM, Sedat Acemoglu wrote:

> Hi,I have an esri shape file and i use EsriLayer to view the file.How
> do i label the shapefile.I know long way is to override paint() and
> load OMText and show label.Is there another solution?

You wouldn't override paint(). You would override prepare(), create
OMText objects, and add them to the OMGraphicList returned from

You might want to look at the com.bbn.openmap.plugin.esri.EsriPlugIn
instead, and see how it uses the DbfTableModel with the OMGraphicList
to link up the attributes (dbf) with the location geometry (shp).

  - Don

Don Dietrick,
BBN Technologies, Cambridge, MA

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Sep 27 2004 - 10:37:06 EDT

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