Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
djnro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
itminedu
djnro
Commits
2f400977
Commit
2f400977
authored
Nov 06, 2015
by
Kroustouris Stauros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix geolocate
parent
7dff9559
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
djnro/templates/front/geolocate.html
djnro/templates/front/geolocate.html
+1
-1
static/css/style.css
static/css/style.css
+4
-0
static/js/geolocate.js
static/js/geolocate.js
+0
-1
No files found.
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