I have enabled gmap_location, enabled the "Location map" block, and have nodes with location information. I can go to /map/node and get the gmap of all the node locations.

However, when I go to a node that has location information, I am not seeing the gmap displayed. I dug around in the code and it looks like this should be handled by gmap_location_node_page() in gmap_location.module.

I put some debug in, and it appears that this function is not being called when a node is being viewed.

I have cleared the cache many times and it makes no difference.

How is this function supposed to hook in to the viewing of a page?

PS. gmap macros in the node body view just fine.

Comments

theactiveme’s picture

try this tut..maybe it'll help. took me some tinkering but got mine to work

http://alanpalazzolo.com/story/drupal-5-custom-gmap-node

bkat’s picture

Status: Active » Closed (fixed)

Actually it looks like some code I added to work around an issue I was having in location is to blame. I'm going to close this.