Re: [OpenMap Users] Ask about dbf

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 13 Jul 2005 19:49:24 -0400

Hey X-Man,

You can read the dbf file with the DbfTableModel. The order of the
OMGraphics in the OMGraphicList created from reading a shape file
(either by EsriGraphicList or by the SpatialIndex) matches the order
of the entries in the DbfTableModel. You can pass the value you want
from the DbfTableModel to the OMGraphic as a OMLabeler attribute
under the OMGraphic.LABEL key, and that would put up labels. Check
the DemoLayer for label on OMGraphic details, some of the OMGraphics
have OMLabelers added as attribtues.

Cheers,

- Don

On Jul 7, 2005, at 10:16 PM, x-man82 wrote:

> Hai, I need help with attribute name, how to put street name on the
> dbf file to map.
>
>
>
> Thanks you
>
>

--
[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 Jul 13 2005 - 19:49:58 EDT

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