1 Reply Latest reply: Feb 17, 2013 10:31 AM by 991495 RSS

    navigator.geolocation found but getCurrentLocation fails even when stripped

    991495
      Yesterday I built geolocation into my app. It was working perfectly and then it just stopped.

      The details:
      Application Express 4.2.1.00.08
      http://apex.oracle.com/pls/apex/f?p=60559:1

      I started building out page 1. As it goes with trouble shooting, I spawned new pages 2 through 6. When I finally had everything working exactly the way I wanted (geolocation built in Execute when Page Loads and loaded into page and application items), I deleted page 1 and copied page 6 there. I went through and fixed all references. At the same time I moved the breadcrumb to page 0.

      I then loaded the new page 1. Geolocation was no longer working. The if navigator.geolocation code works but the call to getCurrentLocation failed. I tested using alerts. (On an aside, is there a better approach to debugging this?) I then stripped the callback function leaving only an alert. Still no success.

      I'd love some feedback.