Don,
We are reusing a layer from another map that uses LLXY projection. That layer used OMCircle. When we created this new map tool based on the Cartesian projection points where not drawn past -180 to 180 and -90 to 90. That's why we switched it to OMPoint.
So far the Cartesian projection is working. On thing we noticed was the NavMouseMode would not zoom in. The method Cartesian.getScale(Point2D ulWorldPoint, Point2D lrWorldPoint, Point2D point1, Point2D point2) was not returning the correct scale, but we worked around that. The second two parameters needed to be 0,0 and projection.getWidth(), projection.getHeigth().
-Kevin
----- Original Message -----
From: "Don Dietrick" <dfdietrick@gmail.com>
To: "Kevin Pfarr" <kevin.pfarr@asolutions.com>
Cc: openmap-users@bbn.com
Sent: Friday, January 27, 2012 1:29:29 PM
Subject: Re: [OpenMap Users] OMArc uses LatLonPoint
Hi Kevin,
I can do that, but what's the difference between that and using an
Arc2D object in an OMShape? Do you get different results?
You are the first person to write in saying you're using the Cartesian
projection (and I'm assuming, OMShape), how's it working for you?
- Don
On Fri, Jan 27, 2012 at 11:35 AM, Kevin Pfarr
<kevin.pfarr@asolutions.com> wrote:
> We are using OpenMap 5.0 and ran into a problem with OMArc not drawing past the bounds of world; -180 to 180 and -90 to 90 due to the class LatLonPoint representing the center. Since we are using a Cartesian projection we do not care about those bounds. So could OMArc use Point2D instead of LatLonPoint for the center?
>
> Found a work around by using OMPoint instead.
>
> Thanks,
> Kevin
>
>
> --
> Kevin Pfarr Senior Software Engineer
>
> Asynchrony Solutions, Inc.
> 1701 Washington Avenue
> Saint Louis, Missouri 63103
> www.asolutions.com
>
> --
> [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 Jan 27 17:35:56 2012
This archive was generated by hypermail 2.1.8 : Fri Jan 27 2012 - 17:35:56 EST