Using Drupal 7 with GMap + Location for User Profile

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
ChrizUK's picture

Evening Everyone,

I'm new to Drupal so bare with me :). I have figured out how to collect a users location details at registration and it displays nicely on the users profile But...... Now i'm trying to figure out why the map will not show up with the users marker location.

Everything works on the global node and user map shipped with Gmap but I am looking to implement just the sole users location on every profile page.

I've read this post http://groups.drupal.org/node/20939 but got lost at "2. Style: Gmap (defaults settings are okay - data source is location.module. Pick a nice marker colour.)". I've already been through the whole process of patching the Gmap module for use with UK postcodes and changed the database settings from uk to gb.

I don't want to give up now surely if you can display a link to map you can display the map?

Grateful for any guidance on the matter.

Chris

P.s attached an image for anyone to see what end result I have in my head.

AttachmentSize
profilepreview.jpg113.31 KB

Comments

same problem here

vishalkhialani's picture

Hi,
I am having the same problem here . Hope someone can help us out

Cheers,
vishal

Here is the Solution

GaneshKumar's picture

While adding the Map field, Do the following:
1. Set "Point (default)" in Geometry Type.
2. Under Reject Results disable this option: APPEOXIMATE:indicares that the returned result is approximate. option.
3. In Multi-value input handling - select Match Multiples (default)

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: