I followed this tutorial
http://groups.drupal.org/node/19614

but only get a see map link. I have tried all sorts of permissions fixes and block locations but I can't get a map to show up.
I've set all my defaults ect...

Anyone see this and been able to fix it?
THANKS!

Comments

astridman’s picture

same here. subscribing.

ChaosD’s picture

subscribing.... having the same problem

JakobMetzger’s picture

Version: 6.x-1.0 » 6.x-1.1-rc1

have tried pretty much the same thing, blocks, permissions, reinstall, upgraded to latest version, etc...
"See Map" works, macros even work but I have not been able to get the Location map block to come up correctly.

Youdaman’s picture

Same problem. Tried putting the "Location map" block into one of the regions via the Blocks admin, but no luck.

It works for this guy: http://www.drupalove.com/drupal-video/gmap-and-location-modules-screencast

So I'm guessing it's a version-specific bug because I've seen it working but can't get it working following the same steps.

Youdaman’s picture

Seems the previous version works, or at least displays the map below the address details.

I tried the 6.x.1.0 version: http://ftp.drupal.org/files/projects/gmap-6.x-1.0.tar.gz

However it seems the map width and height don't work correctly.

Youdaman’s picture

I actually got it working (at least for Page and Story nodes) with gmap-6.x-1.1-rc1 using the instructions on http://groups.drupal.org/node/19614 -- the first time I tried it I missed the step of setting the API key via the "Configure parameters" under admin/settings/location/geocoding -- you have to set the API key for the Location module as well as the GMap module, i.e. in two places.

I still have the problem of the width not being taken into account, i.e. the map displays with a width of whatever div/region it's in, so that if you set the Location map block to display in the Content region it is as wide as that region, which looks bad with a small height.

I also noticed that I can get the map to embed/display inline for nodes but not for users.

Another thing is that for the Collection settings of a Location for a node, I noticed that even if I set the "Additional" field to "Do not collect" it still displays in the form.

I'll raise the above as seperate issues.

Youdaman’s picture

The issues above still apply, but only if you don't use the Views approach.

I've successfully created a View that shows a set of the nodes with Location data as points on a single Google map. That said, if you're having trouble with the "default" displays for Users and Nodes, create a View.

A good starting point is enabling the "location_table" and "location_directory" views (listed under admin/build/views, and provided by the Location module), and having a look at their settings. The easiest way forward then is to clone one of those and modify it to suit your exact field/filter requirements -- which is probably what you'll want instead of the "default" User/Node maps.

Youdaman’s picture

Status: Active » Closed (fixed)

As per http://www.drupaltherapy.com/gmap you can "see" a map by adding the Location Map block -- also click "configure" next to the Location Map block to set up how the gmap is rendered (it has a map macro with settings that override the default height/width etc).