getLatLonArray() gives you the lat/lon points of the polygon in radians.
getLat and getLon only give you the poly anchor point if the polygon is
a RENDERTYPE_OFFSET.
- Don
On Thursday, March 6, 2003, at 09:35 AM, ijtejedor wrote:
> hello again,
>
> I can read OMText object; get its data value, its latitude position and
> longitude position. But with a OMPoly object I can't get its Latitude
> and
> its longitude initial. I can get its rawllpts using getLatLonArray(),
> but its
> latitudes and longitudes are relative to some position that I don't
> know,
> the upperleft of the projection, the lowerright, the center... I try
> to get
> this information from the OMPoly: objOMPoly.getLat(); but always
> return 0.
>
> How i get the absolute position of the polilines in radians?
>
> thanks.
> un saludo.
> Iván
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Thu Mar 6 11:22:45 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:35 EDT