On Mar 31, 2004, at 6:01 PM, Ian Erickson wrote:
> Alright OpenMappers,
>
> I know that this topic has been asked, and discussed before, but I'm
> at a
> loss as to how best to implement a ShapeLayer with Labels. I have
> extended
> the OMGraphicHandlerLayer and created what I would call an
> AnnotationLayer
> that renders points and labels fairly well but...
>
> I need to implement a ShapeLayer (of polygon, polyline, or point data)
> with
> labels. What is the best way to approach such a requirement? I think
> what
> I would like to do is implement a version of the ShapeLayer class with
> the
> LabeledOMGraphic geometries. Does this sound reasonable? Is there an
> example of code or a resource that would be a good starting point?
> Any help
> would be greatly appreciated!
I'd modify/extend ESRIPolygonRecord to use LabeledOMPolys, maybe as an
option when a DbfTableModel is provided. Then the record can look up
and use the label (or any other attribute) as provided in the table.
- Don
>
> I'm using 4.6.0
>
> - Ian Erickson
>
>
> --
> [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"]
>
-- [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 Fri Apr 2 08:25:06 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT