Working with Geolocation in HTML5
This course will teach you how to get a user’s location and place that location on a map.
What you'll learn
Getting a user's position and mapping in websites is very common today. In this course, Working with Geolocation in HTML5, you’ll learn to retrieve a user’s location from their browser and show their location on a map. First, you’ll explore the geolocation object available in all modern browsers. Next, you’ll discover how to display that location on a map, and use Google Maps to place markers at that location. Next, you’ll use Google Maps to get directions from one location to another. Finally, you’ll learn how the Geocoding features of Google Maps will then be used to search for addresses. When you’re finished with this course, you’ll have the skills and knowledge of geolocation and geocoding needed to embed and use mapping software within any HTML page.
Table of contents
- Version Check 0m
- Overview of the Geolocation Course 2m
- Demo of Final Application 2m
- Using the Geolocation Object 2m
- Displaying Geolocation Positioning Info 4m
- Handling Errors with Geolocation 2m
- Geolocation Options for Better Accuracy 2m
- Wrap Geolocation into a Closure 4m
- Watching your Position 3m
- Module Summary and What's Next 1m
- Overview of Google Maps 2m
- How to Embed a Google Map 5m
- Demo of Embedding a Google Map 4m
- Load Google Maps Dynamically 3m
- Add a Marker and a Title 2m
- Add an Informational Window 3m
- Use a Picture for a Marker 1m
- Two Markers and Two Windows 4m
- Create an Array of Map Objects 4m
- Module Summary and What's Next 1m