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
Tags 7.x-2.4-beta2
No related merge requests found
...@@ -332,24 +332,24 @@ function _gmap_base_js() { ...@@ -332,24 +332,24 @@ function _gmap_base_js() {
$query['language'] = 'zh-CN'; $query['language'] = 'zh-CN';
$ret[url(gmap_views_protocol() . '://ditu.google.cn/maps/'.$file, array('query' => $query))] = array( $ret[url(gmap_views_protocol() . '://ditu.google.cn/maps/'.$file, array('query' => $query))] = array(
'type' => 'external', 'type' => 'external',
'weight' => 2 'weight' => 2,
); );
} }
elseif ($query['language'] == 'zh-hant') { elseif ($query['language'] == 'zh-hant') {
$query['language'] = 'zh-TW'; $query['language'] = 'zh-TW';
$ret[url(gmap_views_protocol() . '://maps.googleapis.com/maps/'.$file, array('query' => $query))] = array( $ret[url(gmap_views_protocol() . '://maps.googleapis.com/maps/'.$file, array('query' => $query))] = array(
'type' => 'external', 'type' => 'external',
'weight' => 2 'weight' => 2,
); );
} }
else { else {
$ret[url(gmap_views_protocol() . '://maps.googleapis.com/maps/'.$file, array('query' => $query))] = array( $ret[url(gmap_views_protocol() . '://maps.googleapis.com/maps/'.$file, array('query' => $query))] = array(
'type' => 'external', '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', 'type' => 'external',
'weight' => 2, '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