-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7492 from shehzan10/rhumb-lines
Add Rhumb Line Support to Polygon and Polyline Geometries
- Loading branch information
Showing
33 changed files
with
1,514 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
define([ | ||
'./freezeObject' | ||
], function( | ||
freezeObject) { | ||
'use strict'; | ||
|
||
/** | ||
* ArcType defines the path that should be taken connecting vertices. | ||
* | ||
* @exports ArcType | ||
*/ | ||
var ArcType = { | ||
/** | ||
* Straight line that does not conform to the surface of the ellipsoid. | ||
* | ||
* @type {Number} | ||
* @constant | ||
*/ | ||
NONE : 0, | ||
|
||
/** | ||
* Follow geodesic path. | ||
* | ||
* @type {Number} | ||
* @constant | ||
*/ | ||
GEODESIC : 1, | ||
|
||
/** | ||
* Follow rhumb or loxodrome path. | ||
* | ||
* @type {Number} | ||
* @constant | ||
*/ | ||
RHUMB : 2 | ||
}; | ||
|
||
return freezeObject(ArcType); | ||
}); |
Oops, something went wrong.