Unless I've misunderstood the usage of theme('gmap', $map) it is broken. It only displays the default settings map. I'm using the latest snapshot.

My code;
$map = array(
'id' => 'map',
'control' => 'Small',
'tcontrol'=> 'on',
'zoom' => 10,
'center' => $lat . ',' . $lon,
'width' => '100%',
'height' => '222px',
'type' => 'Satellite',
);
theme('gmap, $map);

Comments

alippai’s picture

Priority: Normal » Critical

The API.txt is outdated, please update it :(

bdragon’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of http://drupal.org/node/181208.
Thank you for your issue.