had problems with the examples in API.txt; the following changes were necessary to make them work for me:
- array described had to be wrapped as #settings element in another array before passing to theme function
- 'GMap' in one theme function example had to be lower case 'gmap'
here are correspondingly revised lines:
line 79
$output1 = theme('gmap', array('#settings'=>$map_array));
line 144
$output2 = theme('gmap', array('#settings'=>$map_array2));
Comments
Comment #1
bdragon commentedCommitted, thanks!
http://drupal.org/cvs?commit=151306
http://drupal.org/cvs?commit=151308