Uploaded image for project: 'Map Macro'
  1. Map Macro
  2. MAP-13

Maps not working because of missing API key

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.2.5
    • Labels:
    • Similar issues:

      Description

      Tested with v1.2.3 and XWiki 8.2-M2

      The console error is:

      js:32 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error_.ab @ js:32
      util.js:211 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
      

      We should:

      • create an Administration area for the users to provide an API key
      • create a key for xwiki.org and use it temporary for development. The Administration config should not contain the xwiki.org key, but it should be documented.
      • other?

        Attachments

        1. configSection.png
          configSection.png
          45 kB
        2. error.png
          error.png
          297 kB
        3. errorInvalidKey.png
          errorInvalidKey.png
          49 kB
        4. mapMacroTest.png
          mapMacroTest.png
          245 kB
        5. noIssue.png
          noIssue.png
          214 kB
        6. warningMissingKey.png
          warningMissingKey.png
          220 kB

          Issue Links

            Activity

              People

              • Assignee:
                acotiuga Alex Cotiugă
                Reporter:
                evalica Ecaterina Moraru (Valica)
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

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