diff --git a/Changelog b/Changelog
index 794b25f..6595647 100644
--- a/Changelog
+++ b/Changelog
@@ -1,6 +1,11 @@
Changelog for @PACKAGE@
----------------------------------------------------------------------
+2011-09-12 v2.0.6 (Thomas Seifert)
+
+ - Added hook google_maps_user_list to be able to filter the list
+ of users shown on the map
+
2011-04-11 v2.0.5 (Maurice Makaay)
- Restored the functionality of searching for the user's location
diff --git a/addon/usermap.php b/addon/usermap.php
index 805b77b..bcdb5cf 100644
--- a/addon/usermap.php
+++ b/addon/usermap.php
@@ -33,6 +33,48 @@
// Retrieve the data for the users that were found.
$users = phorum_api_user_get($user_ids);
+/**
+ * [hook]
+ * google_maps_user_list
+ *
+ * [availability]
+ * Google Maps Module > 2.0.5
+ *
+ * [description]
+ * This hook can be used for filtering
+ * the list of users shown on the Google Maps Map.
+ *
+ * [category]
+ * Module Google Maps
+ *
+ * [when]
+ * Right before the Google Maps module shows the map
+ *
+ * [input]
+ * An array of users which are supposed to be shown on the map
+ *
+ * [output]
+ * Same as input.
+ *
+ * [example]
+ *
+ * function phorum_mod_foo_google_maps_user_list($users)
+ * {
+ * foreach($users as $uid => $user) {
+ * // remove user with username 'admin' from the shown users
+ * if($user['username'] == 'admin') {
+ * unset($users[$uid]);
+ * }
+ * }
+ *
+ * return $users;
+ * }
+ *
+ */
+if (isset($PHORUM['hooks']['google_maps_user_list'])) {
+ $users = phorum_hook('google_maps_user_list', $users);
+}
+
// Setup a list of markers to plot on the map.
$show = array();
foreach ($users as $user)
diff --git a/info.txt b/info.txt
index af52840..e82f630 100644
--- a/info.txt
+++ b/info.txt
@@ -1,6 +1,6 @@
title: Google Maps
desc: This module implements Google Maps functionality in the user profile. The user can indicate in the control center where he/she lives and this location can be displayed to others on the profile viewing screen.
-version: 2.0.5
+version: 2.0.6
require_version: 5.2.16
author: Maurice Makaay
url: http://www.phorum.org/phorum5/read.php?16,119681