createPointAtBearing problem
Hi There
I am trying to use the mapviewer function createPointAtBearing() to generate some points on Mapviewer.
For some strange reason I cant get it right. I convert my Degrees to Radiance (Bearing) and still seem not to get the new point on a new location.
I am using projection 8037 or 4326 (lat/long)
If u use degrees 90 = radiance = 1.5 taking into account North = 0, then the point should display to the right of original point, but if you plave in various distance to point display anywhere on the page.
var mpoint15 = MVSdoGeometry.createPointAtBearing(xpoint12,ypoint12, 1.5707, 56, 4326);
Regards
Sarel
I am trying to use the mapviewer function createPointAtBearing() to generate some points on Mapviewer.
For some strange reason I cant get it right. I convert my Degrees to Radiance (Bearing) and still seem not to get the new point on a new location.
I am using projection 8037 or 4326 (lat/long)
If u use degrees 90 = radiance = 1.5 taking into account North = 0, then the point should display to the right of original point, but if you plave in various distance to point display anywhere on the page.
var mpoint15 = MVSdoGeometry.createPointAtBearing(xpoint12,ypoint12, 1.5707, 56, 4326);
Regards
Sarel
0