Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
djnro
Commits
2f400977
Commit
2f400977
authored
Nov 06, 2015
by
Kroustouris Stauros
Browse files
fix geolocate
parent
7dff9559
Changes
3
Hide whitespace changes
Inline
Side-by-side
djnro/templates/front/geolocate.html
View file @
2f400977
...
...
@@ -40,6 +40,6 @@
{% endblock %}
{% block extrajs %}
<script
type=
"text/javascript"
src=
"//maps.google.com/maps/api/js?v=3.exp&
sensor=true&
language=en&libraries=places"
></script>
<script
type=
"text/javascript"
src=
"//maps.google.com/maps/api/js?v=3.exp&language=en&libraries=places"
></script>
<script
type=
"text/javascript"
src=
"{% static 'js/geolocate.js' %}"
></script>
{% endblock %}
static/css/style.css
View file @
2f400977
...
...
@@ -26,6 +26,10 @@ footer > div {
right
:
0
;
}
.pac-container
{
z-index
:
100000
;
}
footer
.auth
{
padding
:
8px
;
}
...
...
static/js/geolocate.js
View file @
2f400977
...
...
@@ -68,7 +68,6 @@
navigationControl
:
true
,
mapTypeControl
:
false
,
};
console
.
log
(
mapOptions
);
map
=
new
google
.
maps
.
Map
(
document
.
getElementById
(
"
map_canvas
"
),
mapOptions
);
var
input
=
document
.
getElementById
(
'
searchTextField
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment