Closed (won't fix)
Project:
GMap Module
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2007 at 17:02 UTC
Updated:
14 Apr 2013 at 23:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
astroboy commentedI've changed themodule a bit, to it now displays multiple locations: here is my code (its not formatted cleanly but it works, i'll leav it up to you guys to make a proper patch)
replace function _gmap_location_getlatlon with :
replace function gmap_location_map_add_node() with:
Comment #2
kehan commentedNice! thanks a lot. I've reformatted the code and have attached the patch.
Comment #3
attiks commentedupdate to display multiple locations on map/node and map/node/xxx
WARNING: this will break the special handling of og nodes!!!
change in function gmap_location_node_page
into
change in function gmap_location_map_add_node
into
Comment #4
attiks commentedNew updated patch that will add label (node->title) and click event to the markers
Comment #5
attiks commentedSorry, fix for comment #4, i used
$newmarker['autoclick'] = true;but this will open the text right awayComment #6
fishhaddock1 commentedHello... I have the same issue with gmap for drupal 6.x ... when there are more than one locations in a node, the gmap block does not display both locations. The problem is that those functions in the drupal 5 patch do not exist for drupal 6 version.. the module must have been extensively rewritten??
Comment #7
toledo commentedI would like to have another gmap block with a different location on a different page.
How can I make more than one block with another location for another page/node?
Comment #8
toledo commentedI figured it out. Didn't have the right admin screen up. Dumb.
Comment #10
johnvClosing this very old issue. Please reopen if it is still valid.