[OpenMap Users] Problem with OMArc

From: Ruben DF <rdocasalf_at_yahoo.es>
Date: Wed, 15 Dec 2010 17:45:37 +0000 (GMT)

Hi,

I'm having some troubles with OMArc component. Imagine I have 2 points drawn on the map (A and B, for example) and I want to get the arc between both of them (common case). First of all, center of both points is calculated by means of midPoint method (from Geo class). Afterwards, having center point, I can calculate the distance and azimuth between one of the points (A for example) and the center (with distanceKM and azimuth methods respectively from Geo class) The problem is related to generate the OMArc, since this appears slighlty moved, I mean, It seems that the azimuth between center and A does not match up (this effect is higher when I zoom the map in) and because of this, there is a short distance (several meters) between point A and one of the end of the arc.

Any ideas?? any help will be appreciate.
Thanks in advance

Regards
Ruben




--
[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 Wed Dec 15 2010 - 12:46:41 EST

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