Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. baystar47
    3. Posts
    B
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by baystar47

    • Monaca Localkit getCurrentPosition Doesn't Seem to Work

      I have upgraded Monaca Localkit to 2.1.3.

      During Monaca Localkit Preview, when I call the
      navigator.geolocation.getCurrentPosition(successFunc, errorFunc, geoOptions)
      function, I always get the following error.

      "Network location provider at ‘https://www.googleapis.com/’ : Returned error code 400

      It used to work in the previous Monaca Localkit version (I forgot the version #) and it works when I run the code with a regular browser such as Chrome.
      (I am running the code not on a phone but on my desktop Mac)
      I thought perhaps I need to specify a Google API Key which I have tried but still get an error.

      Is there an issue with Monaca Localkit using geolocation?
      Is there a work around??

      Thanks.

      posted in Monaca Tools
      B
      baystar47