Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
fix header
Browse files Browse the repository at this point in the history
  • Loading branch information
andriiheonia committed May 9, 2024
1 parent d9f67bc commit de447eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ <h3><a name="ex4" class="anchor" href="#ex4"><span class="octicon octicon-link">
<!-- END: Example 4 -->

<!-- Example 5 -->
<h3><a name="ex5" class="anchor" href="#ex5"><span class="octicon octicon-link"></span>Geo points on the globe</a></h3>
<h3><a name="ex5" class="anchor" href="#ex5"><span class="octicon octicon-link"></span>Geo Points on a Globe</a></h3>
<p>All calculations in hull.js are based on cartesian coordinate system. If you use it for calculation and data visualization on the global map, don't forget that globe has the shape of geoid, latitude and longitude are angles (not points with X and Y), and after projection we have some map distortion. So, for the better accuracy you need to convert latitudes and longitudes to cartesian coordinates, calculate concave hull and then convert points back to the geo points. For example (using <a href="http://leafletjs.com/" target="_blank">Leaflet</a> library):</p>
<pre><code>var pointset = [
{ lng:-20, lat:90 },
Expand Down

0 comments on commit de447eb

Please sign in to comment.