Uploaded image for project: 'Interactive Maps Application'
  1. Interactive Maps Application
  2. INTMAP-25

Geolocation request error while using the current user location button

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      When hitting the "Show current location" button, I get the following error in the JavaScript console, at line number 1732 of leaflet.js:

      A Geolocation request can only be fulfilled in a secure context.
      

      The line raising the error seems to be the following:

      return t.watch ? this._locationWatchId = navigator.geolocation.watchPosition(n, o, t)  : navigator.geolocation.getCurrentPosition(n, o, t),
      

      Environment: Firefox 67.0b10 (64-bit)

        Attachments

          Activity

            People

            • Assignee:
              GinPachi Fawad Ali
              Reporter:
              slauriere slauriere
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: