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) Users locations are geocoded by cron jobs and saved in the database, immediately after user creation or profile change. The map uses cluster (to group users) and progressive loading technologies if they are to many.
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 40,000 users (you can check the current cost for Geocoding, in the "Places" tab, knowing that you have $200 of usage every month for no charge, and that only when the module is activated all users will be geocoded).
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.