Geolocation Issue

0 favourites
  • 5 posts
  • Not sure if this is a bug, or I just did it wrong. Reluctant to post in the bug forum with all the rules there, and I could just have made a mistake.

    I've been messing around with Geolocation, and the Geolocation Request action will work with a button, but it apparently won't work 'On start of layout' for some reason. Logically, you should be able to start up the program and ping for Geolocation simply. I've even tried Compare Time (3 seconds) to try and get an initial Geolocation result, but no luck.

    Any suggestions or insight would be very helpful.

  • I DID A LITTLE TRICK for my app with geolocalisation

    at the start of your app when the user click on "PLAY" or "START" you need to activate the geolocalisation at that moment, geolocalisattion doesn't work without click action first time, geolocalisation need an "on click" event to work

  • Ah, so it requires a click to begin. Good to know.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • yeep without that you can't run the geolocalisaion

    but geolocalisation use a lot of battery, so you have to be carrefull on how yo use it.

  • Yeah, that's why I was trying to use the Geo Request, rather than the Geo Watch. I feel like pinging a Request every 10 seconds is probably better than constantly watching for location changes.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)