Hi Tri,
If you are using an OMRaster for the icon, you can just call
OMRaster.setImage(Image). You could create an extension of OMRaster to
hold pointers to different images, and call your own method on your
extension to set the image that is currently used based on some setting.
- Don
On Tuesday, January 21, 2003, at 08:21 PM, Tri Tran wrote:
> Hi Don,
>
> Currently I have icons (from .gif file) on map to represent an object,
> how
> to change icon for those when their status is different. I will have to
> defind an array of gif file {online.gif, offline.gif, charging.gif
> ...} and
> apply one of it to the icon when it's status changed.
>
> Thanks
>
> --
> [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"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Jan 22 13:56:06 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:34 EDT