I just loaded the new GMAP update and all of my maps just went belly up. They all are using the lat and lon set as the system default and not the ones for the node.
I am using the following code for displaying maps on my pages:
echo theme('gmap', array('#settings' => gmap_parse_macro('[ |zoom=14 |center='.$lat.', '.$lon.' |width=100% |height=250px |control=Small |type=Satellite |tcontrol=off |scontrol=on |ocontrol=off]')));
Where I set the $lat and $lon variables myself. The map is being presented but the center is completely wrong.
Please help!
Comments
Comment #1
keithmorr commentedI just noticed that the newest release notes mention:
"Fix up a bunch of strict notices in gmap_parse_macro()."
Is this my problem? Do I need to change the syntax of the string I am using to call the map?
Comment #2
askttt commentedmy macro generated maps are dead as well
Comment #3
Cactii1 commentedThe CENTER tag is also ignored in the new 6.x-1.0-beta5 version as well when the code from the Build GMap Macro Utility is used in the BODY of a node.
Comment #4
bdragon commentedOK, I found where I screwed up, fixed!
http://drupal.org/cvs?commit=143547
http://drupal.org/cvs?commit=143548
I'll push another beta out shortly.
Comment #5
bdragon commentedFixing statuses.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.