Index: includes/layer_types/mapbox.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/mapbox/includes/layer_types/mapbox.inc,v
retrieving revision 1.9
diff -u -p -r1.9 mapbox.inc
--- includes/layer_types/mapbox.inc	10 Feb 2010 19:04:15 -0000	1.9
+++ includes/layer_types/mapbox.inc	11 Feb 2010 00:52:20 -0000
@@ -12,6 +12,7 @@ class openlayers_layer_type_mapbox exten
       'projection' => array('900913'),
       'baselayer' => TRUE,
       'layer_handler' => 'MapBox',
+      'type' => 'png',
     );
   }
 
@@ -42,6 +43,12 @@ class openlayers_layer_type_mapbox exten
         '#title' => t('BaseLayer'),
         '#description' => t('Uncheck to make this map an overlay')
       ),
+      'type' => array(
+        '#title' => t('File extension'),
+        '#type' => 'select',
+        '#default_value' => $this->data['type'],
+        '#options' => drupal_map_assoc(array('png', 'jpg')),
+      ),
       /*
       'mini_attribution' => array(
         '#type' => 'checkbox',
