Create a Geolocation Control

This sample shows how to create a custom geolocaiton control that displays the users location on the map.