Add-ons
  1. Add-ons
  2. CONTRIB-3080

Google OpenStreetMaps/OpenLayers will not render with API key code for Map activity

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.11
    • Fix Version/s: None
    • Component/s: Module: Map
    • Labels:
      None
    • Database:
      MySQL
    • Workaround:
      Hide

      We have not been able to come up with a workaround. Maps will work when selecting Google maps but not OpenStreetMaps/OpenLayers. Please see attached file with screen shot of error when adding the Map activity to a course.

      Show
      We have not been able to come up with a workaround. Maps will work when selecting Google maps but not OpenStreetMaps/OpenLayers. Please see attached file with screen shot of error when adding the Map activity to a course.
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      23268

      Description

      Generated API key at: http://wiki.openstreetmap.org/wiki/Main_Page
      -Went to Manage activities in Site admin, viewed Map settings.
      -Choose map provider to be OPenStreetMaps/OpenLayers
      -Add generated API key to site
      -Went to course and added new Map activity (click on activity drop-down list and choose Map)
      -Added Map name
      -Added Map description
      -Show student locations on Map is set to Yes
      -Require students consent to appearing on this map is set to No
      -Allow students to add extra map locations is set to Yes
      -Show address field for extra locations is set to No address
      -Saved activity and when you view the map all you see is navigation arrows

        Activity

        There are no comments yet on this issue.

          People

          • Votes:
            11 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development