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

bdragon’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.