From 01a1babc62976754e5ae21fe0b8f67e6e5b15ef2 Mon Sep 17 00:00:00 2001 From: Dan Ames Date: Sun, 26 Jan 2025 10:03:03 -0700 Subject: [PATCH] Update great_circle.html adding documentation --- leaflet/great_circle.html | 139 +++++++++++++++++++++++++++++++++++++- 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/leaflet/great_circle.html b/leaflet/great_circle.html index e2415e6..9373c3e 100644 --- a/leaflet/great_circle.html +++ b/leaflet/great_circle.html @@ -5,12 +5,14 @@ Draw the Great Circle Path - +

Drawing the Great Circle on a Leaflet Map

By Dr. Dan Ames - Jan 23, 2025

+

This example demonstrates the implementation of a Leaflet map that allows users to visualize the great circle path between two points on the Earth's surface. It's designed as a learning resource for BYU Civil and Construction Engineering 514: Geospatial Software Development. This page showcases the integration of HTML forms for user input, CSS for styling, and JavaScript for dynamic map interaction and geospatial calculations using the Haversine formula.

+
@@ -39,8 +41,141 @@

Enter the Start and End Coordinates

Results:
+

Key Points with Sample Code

+ +

HTML Form Setup

+ + +

CSS Styling

+ + +

JavaScript Implementation

+ + - +