Labels with ESRIPlugin

From: Bart Jourquin <bart.jourquin@fucam.ac.be>
Date: Mon Sep 09 2002 - 05:09:25 EDT

Hi,

Using the ESRIPlugin, I would like to display the content of one of the
.dbf fields as labels.

What is the best way to do that?

I tried to implement a LocationHandler (derived from
AbstractLocationHandler) with info from an ESRIPlugin, so that I can
build up the locations. I pass the ESRIGraphicList to my location
handler and use a jdbc connexion to "select recno(), DesiredFieldName
from TableName where MyFilter". The trivial relation between recno() and
GraphicList entries makes it possible to compute the lat/lon for each
selected label. If no filter is to be implemented, the GraphicList and
the dbfTableModel gives enough info to build-up the locations.

The problem is that it doesn't seem to be possible to add an existant
LocationHandler to a LocationLayer.

Is there another way do obtain what I want?

-- 
Prof Dr Bart Jourquin
F.U.Ca.M. - G.T.M.
Chaussée de Binche, 151a
B7000 Belgium
Tel. : +32 65 323293
Fax. : +32 65 315691
http://message.fucam.ac.be/~jourquin
--
[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 Mon Sep 9 05:13:53 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT