Closed (duplicate)
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2009 at 20:45 UTC
Updated:
18 Nov 2011 at 15:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
srobert72 commentedHere is patch to enable Google Bar.
Just a checkbox in
admin/settings/gmappage.Comment #2
srobert72 commentedPatch from #1 has been reposted in new issue in all-in-one patch.
It is now compatible with last DEV version
6.x-1.x-dev (2009-Dec-16)See #679804: Patch for 4 new features in GMap
Comment #3
monotaga commentedWith the changes to the Googlebar, the Googlebar is now defaulting to being collapsed and isn't showing up properly (see attached).
How do we change the options passed in the javascript file so that showOnLoad = true? (http://code.google.com/apis/maps/documentation/reference.html#GGoogleBar...) I'm assuming it's got to be done somewhere in modules/gmap/js/gmap.js, but I'm not having luck trying to plug in the right code. (My js skills aren't that great...)
Any thoughts?
Thanks!
Mark
Comment #4
monotaga commentedI figured out something that appears to work. Comments?
Comment #5
monotaga commentedOops, that one wasn't complete. Try this one instead.
Comment #6
rooby commentedMarking as duplicate of #679804: Patch for 4 new features in GMap
@monotaga:
The problem you are seeing is due to css from system.css & style.css in garland (if you are using garland, otherwise somewhere else).
I have added a small css fix to the patch that will be committed that addresses this.
Comment #7
retuam commentedHello. And how can I set google bar on adding node page, not just in searching on viewing of node? It is not
"googlebar": 1in<!--//--><![CDATA[//><!--...Comment #8
mrpeanut commentedWould also like to enable Google bar on the map used to enter location data (i.e. on user profiles, nodes, etc.). This would enable users to search for their city/state, click where they live, then save.
Comment #9
mayur.pimple commentedi want google bar in map/macro page so that we can get location.
in Macro text.
Comment #10
schackattack commentedI don't know about the macro, but for now I made it work by adding $map['behavior']['googlebar'] = TRUE; after line 352 in location.module. Location module version 6.x-3.1. Just a quickfix...
Comment #11
akleinwaechter commentedThat works:
[gmap zoom=4 |center=1.3182430568620136,24.697265625 |width=100% |height=300px |control=Small |type=Map |behavior=+googlebar]