Index: views/openlayers_views_style_data.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/openlayers/modules/openlayers_views/views/openlayers_views_style_data.inc,v retrieving revision 1.1.2.24 diff -u -p -r1.1.2.24 openlayers_views_style_data.inc --- views/openlayers_views_style_data.inc 5 Sep 2010 21:24:58 -0000 1.1.2.24 +++ views/openlayers_views_style_data.inc 7 Sep 2010 10:49:44 -0000 @@ -322,7 +322,7 @@ class openlayers_views_style_data extend } } - switch ($data_source['value']) { + switch ( array_shift(array_keys($data_source['value'])) ) { case 'other_latlon': $lat_field = $fields[$data_source['other_lat']]['field_alias']; $lon_field = $fields[$data_source['other_lon']]['field_alias'];