Re: [OpenMap Users] convert GeneralPath[] to GraphicsList

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Fri, 3 May 2013 19:22:31 -0400

Hi CK,

What is in the GeneralPath? What kind of coordinates?

In general, if they are lat/lon degrees, you can use a PathIterator to grab the values, and use them to create a double[] of lat, lon, lat, lon, etc values. Then you can create an OMPoly with those coordinates.

The OMGraphicList is just a container, so you'd add the OMPoly to that if you have more than one and want to group them.

Hope this helps,

Don

On May 3, 2013, at 10:06 AM, SK wrote:

> How to convert array of GeneralPaths to GrathicsList?
>
> Thank you.
>
> CK

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri May 03 2013 - 19:25:27 EDT

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