Simple map

Blocks ::: block_simple_map
Maintained by it's meDavid Bogner
This block provides a Google map search for places you uploaded via a csv file. For example you can upload a list of libraries of your country and then, the user can find the closest library for the given address of the user.
Latest release:
21 sites
3 fans
Current versions available: 3

For the user the block works like that: The user sees, that he can find for example libraries, that are near to him/her. So the user enters his/her address in a text field and the nearest libraries will be found and shoen on a map. The nearest library is shown first in the list.

New release 1.1: No API key is needed anymore. Should work out of the box now.

As administrator you find a link in the Simple Map block to upload and edit the places, that should be shown on the map. Click on that link. You have to upload a csv file, that is exactly as described on the upload page. Most fields are optional. You do not have to give the latitude and longitude coordinates, they are calculated automatically for you, so leave them blank, if you don't know them. But you have to fill out the address.

You can also add places manually instead of uploading a CSV file.

For customizing the block further you can contact us at


Screenshot #0
Screenshot #1
Screenshot #2


it's me
David Bogner (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Wed, Mar 27, 2013, 2:03 PM
    I installed the unit Simple MAP. However, when you click on the Configure button to enter a Google Maps API Key, the script displays a blank white window. Without entering a Google Maps API Key, the unit does not work. How to fix?

  • it's me
    Wed, Mar 27, 2013, 4:38 PM
    Hello Alexander,

    did you scroll to the top of the page? There is an autofocus, that might you direct you to the bottom of the page. If that's not the issue, could you tell me what moodle version do you use? What's the message, if you turn on debugging->developer mode?

    Best regards,
  • Wed, Mar 27, 2013, 6:56 PM
    David, you have made a very useful module.
    If you are going to develop, it may be, you can realize it:
    1. Creating objects, drawing them directly on the map (not always the object has an address)
    2. The ability to create object types Line and Polygon
    3. Separation of objects of the type, with the ability to add new types. Different types has different image tags.
    4. Sort different types of objects in the tree
    5. Distribution of objects into different groups, and filtering by groups
    6. Differentiation of users to different types of objects and roles, according to their study group
    7. Localization file for the Russian language (I can do)
  • Wed, Mar 27, 2013, 8:13 PM
    Moodle 2.4.2 (Build: 20130311).

    message is:
    Warning: require_once(blocks/simple_map/upload_form.php): failed to open stream: No such file or directory in /home/server/web/ on line 6

    Fatal error: require_once(): Failed opening required 'blocks/simple_map/upload_form.php' (include_path='/home/server/web/') in /home/server/web/ on line 6

    Module Simple map earned after I file my $googleAPIkey block_simple_map.php prescribed.
    Module configuration mode does not work.
  • Thu, Mar 28, 2013, 5:57 PM
    If I understand correctly, for a route, the module assumes that the user is walking. Is it possible that it paved the route for a car?
  • it's me
    Sat, Mar 30, 2013, 6:07 AM
    @Alexander: I did upload a new version, which sould fix the issue.
  • Sat, Mar 30, 2013, 4:17 PM
    David, I replaced with a new unit. Now moodle gave this error:
    Warning: require_once(/home/server/web/ failed to open stream: No such file or directory in /home/server/web/ on line 6

    Fatal error: require_once(): Failed opening required '/home/server/web/' (include_path='/home/server/web/') in /home/server/web/ on line 6

    Edit_form.php file in the directory /blocks/simple_map/ present. Moodle 2.4.2 (Build: 20130311). My $googleAPIkey wrote again to the file manually block_simple_map.php
    What do you think about the development of the Simple map module?
  • Sat, Mar 30, 2013, 5:14 PM
    Updated to Moodle 2.4.3 (Build: 20130318). The error does not change.
  • Sat, Mar 30, 2013, 6:09 PM
    David, including localization for Russian Module
  • it's me
    Wed, Apr 3, 2013, 6:39 PM
    @Alexander: I think you have a permission problem, because I can't reproduce the error. You can go into the simple_map directory an then try: sudo chmod 777 upload_form.php (not recommended on production sites) and if the works try chmod 755 again. Perhaps you have to change the owner of the file...

    Thank you for the russian version. I will integrate it as soon as possible.

    Best regards,
  • Tue, Jun 3, 2014, 11:37 PM
    Do you have any plans to update this plugin to 2.6 and/or 2.7 (it doesn't seem to work in 2.6 which we are on)?
  • it's me
    Thu, Jun 5, 2014, 5:36 PM
    Hi Mark, we will support 2.7. but we move from 2.5 to 2.7 in summer, so july or august. but if there is only little things to fix and you post the error message in dev mode, than I could have a look to fix it earlier.
  • it's me
    Wed, Jun 25, 2014, 4:51 PM
    @Mark Davis and all others: New version fixed a bug. Adding locations is now possible again. Google shut down access to the old API and we added support for the new API now.
  • Tue, Nov 11, 2014, 2:56 PM
    Hey! The plugin does not work anymore! An error message pops up saying that the API key isn't valid anymore! Would love to try this plugin...
  • Thu, Jul 12, 2018, 4:18 PM
    the Configure button to enter a Google Maps API Key is not working properly can i use it from here
    can anyone tell me the right one.
1 2
Please login to post comments