Location API Code Samples

JavaScript: