Closed (fixed)
Project:
GMap Module
Version:
6.x-1.0-rc2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2008 at 23:22 UTC
Updated:
16 Mar 2009 at 07:40 UTC
I normally use autozoom on my nodes and it works great. But now I need to provide my own zoom level. Whenever I add my zoom level to the $element variable for theme_gmap() it just gets ignored. If I turn off the gmap autozoom behavior setting my zoom level works. So I need to be able to switch off the autozoom from where my module calls theme('gmap', $my_map_data).
How can I accomplish this? Is it possible. My first thought was to override theme_gmap, but I want this to be contained within a module and not spread into the template.
Thanks.
Comments
Comment #1
bdragon commentedSomething like
$map['behavior']['autozoom'] = FALSE;should do it...Comment #2
rares commentedmarking as answered