I found that the line:
loc = new URLRasterLocation(lat, lon, name, iconURL);
in CSVLocationHandler.java.
and tried the lines :
loc.setLocationMarker(new OMPoint(lat,lon,3));
and
loc.setLocationMarker(new OMCircle(lat,lon,3));
after it and it managed to change the graphic.
It would seem like a good idea to add a graphic property and graphic
attribute property to the CSVLocationHandler such as:
public static final String OmGraphicProperty = " omGraphic";
which could take on values of Point, Circle, Rect, etc. Also adding a size
property such as:
public static final String OmGraphicSizeProperty = " omGraphicSize";
which would be associated to radius for point and circle. Or more specific
properties for each graphic that are only valid if the specific graphic is
described by OmGraphicProperty.
If there are any other suggestions I would like to here them
Thanks,
Luke
-----Original Message-----
From: Luke A. Catania (TEC) [mailto:lcatania@tec.army.mil]
Sent: Wednesday, February 05, 2003 9:52 PM
To: 'openmap-users@bbn.com'
Subject: Specifying Graphic type and size for
LocationLayer/CSVLocationHandler
I am displaying locations using LocationLayer and CSVLocationHandler. The
little box or point graphic representing the location is pretty small. Is
there anyway to specify the size of this graphic, so I can control the size?
Even specify the graphic type, such as box or a point or circle. Can it be
specified either by modifying an existing class or through a property?
Thanks,
Luke
-- [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 Wed Feb 5 22:09:44 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT