or.geolocation.watchPosition(
                function ( Position ) {
                    window.coords = Position.coords;
            coords = window.coords;
            console.log(coords);
            window.L = L;
            window.map = L.map('map').setView([Position.coords.latitude, Position.coords.longitude ], 14);
            console.log("map" + window.map);
            L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data &copy; <a href="http://openstreetmap.org