I have done everything correctly according to all documentation and I watched a video on how to do it but my mao do not show on the node creation page and I cannot place a marker on a map. PLEASE HELP!!

Comments

tom_o_t’s picture

Do you get any javascript errors in firebug?
Did you get the Google Maps API key and enter it in both places?
Did you enable locations for your content type?

Will need some more info to help!

Good luck...

vip_sa’s picture

What do you mean the API key in both places cause I just know of one? I did enable locations for the content ype and I manage to enter a location but the map is not there so I cannot place a marker on a map and have viewers of the site then look at the map. Ideally I would like my users to print the map too but let me get it to be there first. Any help will be great thank you!

tom_o_t’s picture

The API key needs to be set for both the location module and the gmap module - see http://groups.drupal.org/node/19614 - if the map's not loading that's the most likely reason.

vip_sa’s picture

I live in South Africa friend the option is not available to me. The map that is supposed to show on the node creation page is not showing and I cannot place a marker there.

venusrising’s picture

I am having the same issue and my API is for the US

budda’s picture

@tom_o_t
I only see a setting field for the Google Maps API key on /admin/settings/gmap
What other page is it on as I can't find it?

I've created two nodes with locations, and a View but nothing shows.

The map appear fine when editing a node.

tom_o_t’s picture

The other area to add the API Key is in the location settings, there's a link next to each country that geocoding is enabled for. However the recent location module automatically gets the key from gmap when that module is being used - /admin/settings/location/geocoding/us/google

Do you get any javascript errors for your view? Are lat & long definitely being saved for your nodes? Is there a url where people can look at your map to check for errors? If not, you could try exporting the code that you've used to make the view and pasting it here.

pm530’s picture

I have the same problem. All settings have been check. Also, the map/node not showing any node.

pm530’s picture

correction:
The map is showing correctly. to cornelombaard : check if you are using location_cck_field. Gmap block is not working with it. User the core location setting for nodes. (in my case, this was the problem).

vip_sa’s picture

I got it fixed and in my case the problem was the theme. When I used a specific theme it just didn't want to work and so when I changed themes it worked. Thank you!

venusrising’s picture

I fixed my missing map by moving javascript back to head but now it SEO results are impacted. Does anyone have any ideas?

rooby’s picture

Status: Active » Fixed

To be able to display google maps you only need to enter the API key on the gmap settings page.

CCK location shoudl work in views now. To use all the location information you need a relationship between the node and the location via the cck location field.

Everyone reporting problems in this issue have said they have fixed it so I'm closing this.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.