Skip to content
Snippets Groups Projects
Commit 094a8bbe authored by johnv's avatar johnv Committed by Andriy Podanenko
Browse files

Issue #923630 by johnv | Jettzilla: Markers not showing up on Gmaps no matter what: How to debug.

parent 1af15495
No related branches found
No related tags found
No related merge requests found
......@@ -332,24 +332,24 @@ function _gmap_base_js() {
$query['language'] = 'zh-CN';
$ret[url(gmap_views_protocol() . '://ditu.google.cn/maps/'.$file, array('query' => $query))] = array(
'type' => 'external',
'weight' => 2
'weight' => 2,
);
}
elseif ($query['language'] == 'zh-hant') {
$query['language'] = 'zh-TW';
$ret[url(gmap_views_protocol() . '://maps.googleapis.com/maps/'.$file, array('query' => $query))] = array(
'type' => 'external',
'weight' => 2
'weight' => 2,
);
}
else {
$ret[url(gmap_views_protocol() . '://maps.googleapis.com/maps/'.$file, array('query' => $query))] = array(
'type' => 'external',
'weight' => 2
'weight' => 2,
);
}
$ret[file_create_url('public://js/gmap_markers.js')] = array(
$ret[variable_get('file_public_path', conf_path() . '/files') . '/js/gmap_markers.js'] = array(
'type' => 'external',
'weight' => 2,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment