Index: includes/layer_types/wms.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openlayers/includes/layer_types/Attic/wms.inc,v
retrieving revision 1.1.2.9
diff -r1.1.2.9 wms.inc
60a61,77
>         // TODO: validate the field, only positive integers shall be allowed
>         'buffer' => array(
>           '#type' => 'textfield',
>           '#default_value' => isset($this->data['params']['buffer']) ?
>             $this->data['params']['buffer'] : 2,
>           '#title' => t('Buffer'),
>           '#description' => t('Used only when not in single-tile mode, this specifies umber of extra rows and colums of tiles on each side which will surround the minimum grid tiles to cover the map')
>         ),
>         // TODO: validate the field, only positive numbers shall be allowed
>         //       numbers below 1 might also not make much sense
>         'ratio' => array(
>           '#type' => 'textfield',
>           '#default_value' => isset($this->data['params']['ratio']) ?
>             $this->data['params']['ratio'] : 1.5,
>           '#title' => t('Ratio'),
>           '#description' => t('Used only when in single-tile mode, this specifies the ratio of the size of the single tile to the size of the map')
>         )
Index: includes/layer_types/wms.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/openlayers/includes/layer_types/Attic/wms.js,v
retrieving revision 1.1.2.7
diff -r1.1.2.7 wms.js
12a13,17
> 
>   /* TODO: have PHP take care of the casts here, not JS! */
>   options.params.buffer = parseInt(options.params.buffer, 10);
>   options.params.ratio = parseFloat(options.params.ratio);
> 
