Displays users on a map - filter by spaces, groups or profile fields.
Displays users on a map - filter by Spaces, Groups or Profile fields.
(1) User locations are geocoded by cron jobs and stored in the database immediately after user creation or profile change. The map uses clustering (to group users) and progressive loading technologies when there are too many users.
You can:
If you want to geocode users coordinates from their address (in their profile), you need a Google Geocoding API Key and a paid account, but you won't be charged if you have less than about 10,000 users (you can check the current cost for geocoding, in the "Places" section). If you have more than 10,000 users, you will be charged for about $0.003 per additional user, but only when you first activate the module, because later users will be geocoded as new registrations or address changes are received, so it's very unlikely that you will have more than 10,000 addresses to geocode per month.
Only addresses are sent to Google to obtain their coordinates, no other personal information, so Google cannot know who the addresses sent correspond to.
Users are displayed in the center of their city or zip code if "street" profile field visibility is unchecked (in the settings), except for administrators; if it is checked, the localization is accurate.
This module finds coordinates from the profile address. The "country" field is therefore mandatory, as well as at least the "zip" or "city" field. If the former users did not choose their country, and they all live in the same country, you can define a default country for them by opening this link as administrator (replace my-humhub.com and CODE): https://my-humhub.com/members_map/config/add-default-country-to-all-users?defaultCountryCode=CODE
PHP must have curl
extension.