Hi Rubén,
On Jun 21, 2004, at 1:20 PM, Rubén Ruiz wrote:
> Hi all again,
>
> I don't undestand the next property for shapelayer:
>
> shapeLayer.pointImageURL=<URL for image to use for point objects>
>
> 1. Does it load a given image in every ESRIPoint of the layer?
No, it reuses it for each ESRIPoint.
> 2. What kind of images can i load? Gif & JPEG supose....
Anything Java can handle internally. The code uses a
javax.swing.ImageIcon to load the URL of the image. Certainly gifs and
jpegs, but I think tiffs, too. png.
> I want to load an image in certain points of my shapelayers, is it
> possible?
The AreaShapeLayer can do this, but you'll have to set the properties
for the URL for the default, and for each point with a particular
image. You could also extend the layer, and modify the code to set the
images in the points yourself.
> Do i have to use other kind of layer? Does any other layer support the
> pointImageURL property?
No, it depends on the layer.
> Another question by the way...
> Is there any way to get the corresponding ID of a OMGraphic associated
> to
> the row of the corresponding DBF file?
The appObject of an OMGraphic (OMGraphic.getAppObject()) contains an
Integer of the row ID.
- Don
> Maybe using NumAndBox?
>
>
> I would thank any explanation.
> Thanks in advance,
> Rubén.
>
>
>
> --
> [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, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Tue Jun 22 07:31:46 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:39 EDT