The Nokia theme causes GMap to fail saying "Javascript is required to view this map" as discussed in other modules' forum posts.

Comments

atrasatti’s picture

Status: Active » Closed (works as designed)

The mobile theme removes most Javascript. Google Maps might work on mobiles such as iPhone and Android, but that also depends on that the GMap plugin does, so I don't think it's safe to allow "any" javascript through.

If you want to allow GMap to work you should add the GMap javascripts to $vars['scripts'] around line 145 of template.php, after:

} else {
 	// clean CSS, JS
 	$js = drupal_add_js();
 	$vars['scripts'] = _nokia_mobile_filter_js($js);
 	$css = $vars['css'];
 	$css['handheld']['theme']['/this_is_a_test.css'] = 1;
 	$vars['styles'] = _nokia_mobile_filter_css($css);
 	// Scale logo?
}