Skip to content

Commit

Permalink
#15 Fixed Gmap. TODO get Company's location
Browse files Browse the repository at this point in the history
  • Loading branch information
Treblast committed Mar 16, 2017
1 parent f41ba1d commit 1a815a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/main/webapp/app/entities/contact/contacts.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<script src="content/js/script.js"></script>
<div ng-include="'app/layouts/header/header.categories.html'"></div>
<div>
<div id="content">
Expand Down
6 changes: 3 additions & 3 deletions src/main/webapp/content/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,19 @@ $(document).ready(function(){
$("#map").gmap3({
map: {
options: {
center: [-7.866315,110.389574],
center: [41.3579495,1.9810097],
zoom: 12,
scrollwheel: false
}
},
marker:{
latLng: [-7.866315,110.389574],
latLng: [41.3579495,1.9810097]/*,
options: {
icon: new google.maps.MarkerImage(
"https://dl.dropboxusercontent.com/u/29545616/Preview/location.png",
new google.maps.Size(48, 48, "px", "px")
)
}
}*/
}
});

Expand Down

0 comments on commit 1a815a1

Please sign in to comment.