Hi,
I need to display the locations of the users set in their User Accounts.
For example - I have 3 users from location1, 5 users from location2
I have installed the module Geolocation Field.
I have created the Taxonomy Vocabulary "Location"
I have added in the vocabulary new field field_map with Widget Geolocation map
So when creating the Term "Location1" I have to choose the Address of the location and that address gives me Lon and Lat coordinates.
I have created the new filed in User's Form "field_location" and linked this to Term list from Vocabulary "Location"
Then I have created the View Page, I have set Relationship with User's field "field_location".
I have added the Field name "field_map"
I have set View format to "Map (Google API, via IPGV&M)"
in the Settings I have set Grouping by "field_location"
I have set Name of latitude field in Views query to Taxonomy Term "field_map" ( where the lon and lat stored )

as the result it's shows me the Map with All locations that user have supplied, but when I'm clicking on the pin, it's shows only one user on the balloon.

What I have found out so far:
1. when I have set the field in User's form not term but the Geolocation Field and entering the Address manually for each user-for example 3 users the location1 and 5 users with the location2 and in the Views using that field as the Lat - then it's works fine, I can see all the usernames in the balloons. But I don't want users to enter the address manually, but to choose from the predefined list of common Areas.

2. It's shows only one LAST user in the list in the balloon. ( as per screenshot )

3. I have tried another module Geolocation Views and that gave me the same result that with one user name in the balloon.

so I'm pretty much sure it's not the issue with the module, but it's me doing something wrong.

Can someone open my eyes what is wrong here?
SO - I need to make users to set their location from the predefined list and show the pins with the usernames in the balloon on the map.
OR
Show the pins on the map with the number of the users in the predefined location and by clicking on the pin populate the table bellow the map with the usernames in that location.

Please let me know if I have explained well or if you need more information.
Screenshot of the result attached for references.

Thank you in Advance
Kos.

CommentFileSizeAuthor
locations.PNG121.43 KBKoshaK
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

KoshaK created an issue. See original summary.

KoshaK’s picture

Issue summary: View changes