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
Comment #1
bdragon commentedAdded to DRUPAL-5. (I also added it to the settings page.)
Thanks!
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.