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:
8 sites
4 downloads
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 http://www.edulabs.org

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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

Comments RSS

Show comments
  • Alexander Lambin
    Wed, 27 Mar 2013, 2:03 PM
    Hello!
    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?

    Alexander
  • it's me
    Wed, 27 Mar 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,
    David
  • Alexander Lambin
    Wed, 27 Mar 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)
  • Alexander Lambin
    Wed, 27 Mar 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/mysite.com/public_html/blocks/simple_map/edit_form.php on line 6

    Fatal error: require_once(): Failed opening required 'blocks/simple_map/upload_form.php' (include_path='/home/server/web/mysite.com/public_html/lib/zend:/home/server/web/mysite.com/public_html/lib/pear:.:/usr/share/pear:/usr/share/php') in /home/server/web/mysite.com/public_html/blocks/simple_map/edit_form.php on line 6

    Module Simple map earned after I file my $googleAPIkey block_simple_map.php prescribed.
    Module configuration mode does not work.
  • Alexander Lambin
    Thu, 28 Mar 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, 30 Mar 2013, 6:07 AM
    @Alexander: I did upload a new version, which sould fix the issue.
  • Alexander Lambin
    Sat, 30 Mar 2013, 4:17 PM
    David, I replaced with a new unit. Now moodle gave this error:
    Warning: require_once(/home/server/web/mysite.com/public_html/blocks/simple_map/blocks/simple_map/upload_form.php): failed to open stream: No such file or directory in /home/server/web/mysite.com/public_html/blocks/simple_map/edit_form.php on line 6

    Fatal error: require_once(): Failed opening required '/home/server/web/mysite.com/public_html/blocks/simple_map/blocks/simple_map/upload_form.php' (include_path='/home/server/web/mysite.com/public_html/lib/zend:/home/server/web/mysite.com/public_html/lib/pear:.:/usr/share/pear:/usr/share/php') in /home/server/web/lestest.by/public_html/blocks/simple_map/edit_form.php 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?
  • Alexander Lambin
    Sat, 30 Mar 2013, 5:14 PM
    Updated to Moodle 2.4.3 (Build: 20130318). The error does not change.
  • Alexander Lambin
    Sat, 30 Mar 2013, 6:09 PM
    David, including localization for Russian Module
    http://lestest.by/block_simple_map_ru.rar
  • it's me
    Wed, 3 Apr 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,
    David
  • Mark Davis
    Tue, 3 Jun 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, 5 Jun 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, 25 Jun 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.
  • Georg Wiesinger
    Tue, 11 Nov 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...
  • pjiml kolo
    Thu, 12 Jul 2018, 4:18 PM
    the Configure button to enter a Google Maps API Key is not working properly can i use it from here https://maps-drivingdirections.com/
    can anyone tell me the right one.
1 2
Please login to post comments