Closed (duplicate)
Project:
GMap Module
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2007 at 18:06 UTC
Updated:
3 Feb 2008 at 18:38 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedI believe I was missing a file, through my own careless use of CVS.
Anyway, this problem is not happening any more.
Comment #2
Dave Cohen commentedI don't know why I thought this was working. It turns out the map that appears in the location block does set a marker, but does not center over it. I noticed there is code in gmap_location_node_page() that does this:
But there is no equivalent in gmap_location_block_view().
Comment #3
inozz commented+1
Comment #4
Furayo commentedI had the same issue... I did several things... what about starting with gmap_location.module and add the following snippet:
right before the function gmap_location_block_view ends, I mean before:
Let me know if that works... you can also go to the gmap.module and in the function theme_gmap insert a
to check how the location is encoded in the $map array adequately.
Comment #5
Dave Cohen commentedHere's what I did. Maybe too simple to be the general solution. But it works for me where my location block shows only one marker at a time.
Comment #6
smitty commentedPleas have a look at: http://drupal.org/node/191223