Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

geolocation

  1. RedWinter

    JavaScript Need Help to Debug my Code. My problem is that my longitude and latitude becomes undefined when i call them in position function.

    var ref = firebase.database().ref('Location/Lat'); var latitude; var longitude; ref.on("value", function(snapshot) { console.log(snapshot.val()); latitude = snapshot.val().Latitude; longitude = snapshot.val().Longitude; console.log(latitude, longitude)...
  2. S

    JavaScript Need some help with JSON file data retrieval.

    Could someone please help an inexperienced hobby programmer. I have run into a small problem of parsing data from a remote JSON file, which contains several children. I always need to parse the top (first) child, since it is always the newest. I need the latitude and logitude to place them on a...
Back
Top Bottom