Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
1f360f93
Commit
1f360f93
authored
10 years ago
by
Allen Gilliland
Browse files
Options
Downloads
Plain Diff
Merge pull request #200 from metabase/ag-fix-maps-js
fix link to google_maps.js file, which was broken.
parents
677b2b1a
b05ebf05
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resources/frontend_client/app/js/google_maps.js
+23
-0
23 additions, 0 deletions
resources/frontend_client/app/js/google_maps.js
resources/frontend_client/index.html
+1
-1
1 addition, 1 deletion
resources/frontend_client/index.html
with
24 additions
and
1 deletion
resources/frontend_client/app/js/google_maps.js
0 → 100644
+
23
−
0
View file @
1f360f93
window
.
google
=
window
.
google
||
{};
google
.
maps
=
google
.
maps
||
{};
(
function
()
{
function
getScript
(
src
)
{
document
.
write
(
'
<
'
+
'
script src="
'
+
src
+
'
"
'
+
'
type="text/javascript"><
'
+
'
/script>
'
);
}
var
modules
=
google
.
maps
.
modules
=
{};
google
.
maps
.
__gjsload__
=
function
(
name
,
text
)
{
modules
[
name
]
=
text
;
};
google
.
maps
.
Load
=
function
(
apiLoad
)
{
delete
google
.
maps
.
Load
;
apiLoad
([
0.009999999776482582
,[[[
"
https://mts0.googleapis.com/vt?lyrs=m@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/vt?lyrs=m@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
],
null
,
null
,
null
,
null
,
"
m@267000000
"
,[
"
https://mts0.google.com/vt?lyrs=m@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
,
"
https://mts1.google.com/vt?lyrs=m@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
]],[[
"
https://khms0.googleapis.com/kh?v=152
\
u0026hl=en-US
\
u0026
"
,
"
https://khms1.googleapis.com/kh?v=152
\
u0026hl=en-US
\
u0026
"
],
null
,
null
,
null
,
1
,
"
152
"
,[
"
https://khms0.google.com/kh?v=152
\
u0026hl=en-US
\
u0026
"
,
"
https://khms1.google.com/kh?v=152
\
u0026hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/vt?lyrs=h@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/vt?lyrs=h@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
],
null
,
null
,
null
,
null
,
"
h@267000000
"
,[
"
https://mts0.google.com/vt?lyrs=h@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
,
"
https://mts1.google.com/vt?lyrs=h@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/vt?lyrs=t@132,r@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/vt?lyrs=t@132,r@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
],
null
,
null
,
null
,
null
,
"
t@132,r@267000000
"
,[
"
https://mts0.google.com/vt?lyrs=t@132,r@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
,
"
https://mts1.google.com/vt?lyrs=t@132,r@267000000
\
u0026src=api
\
u0026hl=en-US
\
u0026
"
]],
null
,
null
,[[
"
https://cbks0.googleapis.com/cbk?
"
,
"
https://cbks1.googleapis.com/cbk?
"
]],[[
"
https://khms0.googleapis.com/kh?v=84
\
u0026hl=en-US
\
u0026
"
,
"
https://khms1.googleapis.com/kh?v=84
\
u0026hl=en-US
\
u0026
"
],
null
,
null
,
null
,
null
,
"
84
"
,[
"
https://khms0.google.com/kh?v=84
\
u0026hl=en-US
\
u0026
"
,
"
https://khms1.google.com/kh?v=84
\
u0026hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/mapslt?hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/mapslt?hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/mapslt/ft?hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/mapslt/ft?hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/vt?hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/vt?hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/mapslt/loom?hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/mapslt/loom?hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/mapslt?hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/mapslt?hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/mapslt/ft?hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/mapslt/ft?hl=en-US
\
u0026
"
]],[[
"
https://mts0.googleapis.com/mapslt/loom?hl=en-US
\
u0026
"
,
"
https://mts1.googleapis.com/mapslt/loom?hl=en-US
\
u0026
"
]]],[
"
en-US
"
,
"
US
"
,
null
,
0
,
null
,
null
,
"
https://maps.gstatic.com/mapfiles/
"
,
"
https://csi.gstatic.com
"
,
"
https://maps.googleapis.com
"
,
"
https://maps.googleapis.com
"
],[
"
https://maps.gstatic.com/intl/en_us/mapfiles/api-3/17/7
"
,
"
3.17.7
"
],[
487737768
],
1
,
null
,
null
,
null
,
null
,
null
,
""
,[
"
visualization
"
],
null
,
1
,
"
https://khms.googleapis.com/mz?v=152
\
u0026
"
,
null
,
"
https://earthbuilder.googleapis.com
"
,
"
https://earthbuilder.googleapis.com
"
,
null
,
"
https://mts.googleapis.com/vt/icon
"
,[[
"
https://mts0.googleapis.com/vt
"
,
"
https://mts1.googleapis.com/vt
"
],[
"
https://mts0.googleapis.com/vt
"
,
"
https://mts1.googleapis.com/vt
"
],[
null
,[[
0
,
"
m
"
,
267000000
]],[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
,
null
,
null
,
null
,
null
,
null
,
null
,[[
47
],[
37
,[[
"
smartmaps
"
]]]]],
0
],[
null
,[[
0
,
"
m
"
,
267000000
]],[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
,
null
,
null
,
null
,
null
,
null
,
null
,[[
47
],[
37
,[[
"
smartmaps
"
]]]]],
3
],[
null
,[[
0
,
"
m
"
,
267000000
]],[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
,
null
,
null
,
null
,
null
,
null
,
null
,[[
50
],[
37
,[[
"
smartmaps
"
]]]]],
0
],[
null
,[[
0
,
"
m
"
,
267000000
]],[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
,
null
,
null
,
null
,
null
,
null
,
null
,[[
50
],[
37
,[[
"
smartmaps
"
]]]]],
3
],[
null
,[[
4
,
"
t
"
,
132
],[
0
,
"
r
"
,
132000000
]],[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
,
null
,
null
,
null
,
null
,
null
,
null
,[[
5
],[
37
,[[
"
smartmaps
"
]]]]],
0
],[
null
,[[
4
,
"
t
"
,
132
],[
0
,
"
r
"
,
132000000
]],[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
,
null
,
null
,
null
,
null
,
null
,
null
,[[
5
],[
37
,[[
"
smartmaps
"
]]]]],
3
],[
null
,
null
,[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
],
0
],[
null
,
null
,[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
],
3
],[
null
,
null
,[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
],
6
],[
null
,
null
,[
null
,
"
en-US
"
,
"
US
"
,
null
,
18
],
0
],[
"
https://mts0.google.com/vt
"
,
"
https://mts1.google.com/vt
"
],
"
/maps/vt
"
],
2
,
500
,[
"
https://geo0.ggpht.com/cbk?cb_client=maps_sv.uv_api_demo
"
,
"
https://www.gstatic.com/landmark/tour
"
,
"
https://www.gstatic.com/landmark/config
"
,
"
/maps/preview/reveal?authuser=0
"
,
"
/maps/preview/log204
"
,
"
/gen204?tbm=map
"
,
"
https://static.panoramio.com.storage.googleapis.com/photos/
"
],[
"
https://www.google.com/maps/api/js/widget
"
,
"
https://www.google.com/maps/api/js/slave_widget
"
]],
loadScriptTime
);
};
var
loadScriptTime
=
(
new
Date
).
getTime
();
getScript
(
"
https://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/17/7/%7Bmain,visualization%7D.js
"
);
})();
\ No newline at end of file
This diff is collapsed.
Click to expand it.
resources/frontend_client/index.html
+
1
−
1
View file @
1f360f93
...
...
@@ -200,7 +200,7 @@
<script
src=
"/app/bower_components/crossfilter/crossfilter.min.js"
></script>
<script
src=
"/app/bower_components/dc.js/dc.min.js"
></script>
<script
src=
"/js/google_maps.js"
></script>
<script
src=
"/
app/
js/google_maps.js"
></script>
<!-- global app -->
<script
src=
"/app/app.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment