Re: [OpenMap Users] OMLine or OMPoly with segments

From: Don Dietrick <>
Date: Thu, 15 Nov 2007 16:33:26 -0500

Hi Prakash,

I think you'd have to extend OMLine and ArcCalc to do what you want -
namely, have your OMLine pass the rendering off to your ArcCalc, and
have your ArcCalc.render(Graphics) method paint the segments the way you
want, making Graphics calls with the colors you want between each set of

Hope this helps,


P T wrote:
> Hi,
> I can draw an arc between two points using OMLine with starting
> and ending lat/lons and ArcCalc.
> However, I want to segment this arc into several arcs so that I can
> manipulate these individual
> segments (e.g. change color, add arrow etc). I can use OMPoly but
> looks like it requires knowledge
> of lat/lons for intermediate points. How can I draw an arc with
> multiple segments by
> specifying the end points and overall line arc angle only (not
> individual segments arc angles)?
> Thanks in advance!
> Prakash
> ------------------------------------------------------------------------
> Climb to the top of the charts! Play Star Shuffle: the word scramble
> challenge with star power. Play Now!
> <>

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Nov 15 2007 - 16:33:39 EST

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