[OpenMap Users] RenderType and Location??

From: Bader Mohammad Halawani <st202475_at_ccse.kfupm.edu.sa>
Date: Wed, 11 May 2005 18:00:23 +0300

hi openmap communite

how can I make the RENDERTYPE for LOCATION to be RENDERTYPE_LATLON.
I had extend locationHndler class and implement (get) method to add location
to the Vector in that method as will as label.
label is readed from DBF and added to the location constructor.
BUT the label is not changed as mapBean scale changed (zoom-in and zoom-out).
It still hold the same size which looks noisyand alot of codensed point.

could you please provide any solution to me.
thanks alot.

the code is below.
============================================================================
//inside get method of myLocationHandler
while (EsriIt.hasNext()) {
                   EsriPoint esripoint = (EsriPoint) EsriIt.next();
                    Location location = new BasicLocation(esripoint.getLat(),
esripoint.getLon(), ((String)(DBFtable.getValueAt((count), 1))) , null);
                   
                location.setLocationHandler(this);
                    location.getLabel().setLinePaint(colors[count % 8]);
                    location.setShowName(true);
                    location.setShowLocation(true);
                    graphicList.addElement(location);
                count++;
                        }
                 return graphicList;

=============================================================================

__________________________________________
Bader M.H. Halawani
COmputer Engineering department (COE)
KFUPM university

--
[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 May 11 2005 - 11:27:26 EDT

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