Skip to content

Calculate the heading and pitch angle in ArcGIS API for JavaScript 3D.

Notifications You must be signed in to change notification settings

Aiooioo/arcgis-jsapi-heading-pitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

arcgis-jsapi-heading-pitch

Calculate the heading and pitch angle in ArcGIS API for JavaScript 3D.

  1. Convert the input points from geo coordinate system to internal render coordinate system
  2. Calculate affine transformation matrix from input geo coordinate system of the original point
  3. Get the inversed affine transformation matrix
  4. Apply the inversed matrix to the direction of internal render coordinate system
  5. Normalize the final direction vector
  6. Get heading and pitch from direction

About

Calculate the heading and pitch angle in ArcGIS API for JavaScript 3D.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published