I have extended the gmap.js code just a little bit, so that it can also create the small zoom-control without any pan-control. I have called the option "Micro". See code patch below:

 // GMap overseer singleton
 Drupal.gmap = new function() {
@@ -237,6 +237,7 @@
     if(obj.currentcontrol) {
       map.removeControl(obj.currentcontrol);
     }
+       if (obj.vars.controltype=='Micro') map.addControl(obj.currentcontrol = new GSmallZoomControl());
     if (obj.vars.controltype=='Small') map.addControl(obj.currentcontrol = new GSmallMapControl());
     if (obj.vars.controltype=='Large') map.addControl(obj.currentcontrol = new GLargeMapControl());
   });

Comments

bdragon’s picture

Status: Active » Fixed

Added to DRUPAL-5. (I also added it to the settings page.)
Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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