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

Maps not working because of missing API key

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 1.2.5
    • 1.2.3

    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. error.png
          297 kB
          Ecaterina Moraru (Valica)
        2. mapMacroTest.png
          245 kB
          Alex Cotiugă
        3. configSection.png
          45 kB
          Alex Cotiugă
        4. errorInvalidKey.png
          49 kB
          Alex Cotiugă
        5. noIssue.png
          214 kB
          Alex Cotiugă
        6. warningMissingKey.png
          220 kB
          Alex Cotiugă

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: