Re: [OpenMap Users] pointsymbol - point

From: Don Dietrick <>
Date: Mon, 6 Sep 2004 10:44:21 -0400

Hi Andrea,

On Sep 4, 2004, at 8:01 AM, Andrea Leone wrote:

> Hi,
> Another simple question!
> if I want to use a  pointsymbol to specify GIF or image file(symbol)
> to use for Points, how have I to use the  pointSymbolProperty?
> I mean, could this work?
> mygeo.pointSymbol=com.bbn.image.pointsymbol.gif
> or
> mygeo.pointSymbol=data/image/pointsymbol.gif

This one. The string is converted to a URL, the ImageIcon javadocs
say, so if the path is to a resource in a classpath, it should work,

The code should probably be modified to call the
PropUtils.getResourceOrFileOrURL(String) method, so it would work for

> and what kind of image can I use? Gif, jpeg, tiff, bmp…..

Anything Java can handle in ImageIcon, which is what you've listed. I
think png, too.

Don Dietrick,
BBN Technologies, Cambridge, MA

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Mon Sep 06 2004 - 10:45:39 EDT

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