In this video I'll show you how to measure a distance between two points using GPS. Actually... mobile phones nowadays use a combination of things like satellites, cell towers and wifi to get location, but you'll learn more about that in the video.
We build a web app using HTML, CSS and JavaScript. The app records the location at point A and then at point B and then it will do the calculation for you. I teach you how to measure the straight line distance between two points. For locations that are nearby this is all you need, otherwise, you should use the great circle distance instead (maybe using the Haversine formula). Learn about that one here:
• Triangulation and Tril...
We compare the distance with that measured using commercial mapping services (Bing maps: www.bing.com/maps).
How I estimated the distance without getting wet:
• Using Triangulation In...
How I measured a tree using JavaScript:
• JavaScript Triangulati...
Most recent location-aware application development course:
• Location aware mobile ...
Check the others only for the projects:
• Location aware applica...
• Location aware applica...
⭐️ TABLE OF CONTENT ️⭐️
0:00 Intro
1:33 Project setup
2:46 Accessing geolocation in JavaScript
5:55 A and B functionality
7:17 Distance between two points
11:35 Euclidean versus Great circle distance
12:25 Styling the app
16 июл 2024