0) ? '100%' : $map['width']; $map['height'] = (strpos($map['height'], '%') > 0) ? '100%' : $map['height']; // Create output $output = '
'; return $output; } /** * Theme function to be able to override styles */ function theme_openlayers_styles($styles = array(), $map = array()) { // Default is to just send the processed styles back return $styles; }