35 lines
992 B
JavaScript
Executable File
35 lines
992 B
JavaScript
Executable File
/*
|
|
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 5
|
|
Version: 5.5.1
|
|
Author: Sean Ngu
|
|
Website: http://www.seantheme.com/color-admin/
|
|
*/
|
|
|
|
var handleGoogleMapSetting = function() {
|
|
"use strict";
|
|
var mapDefault;
|
|
var cobaltStyles = [{"featureType":"all","elementType":"all","stylers":[{"invert_lightness":true},{"saturation":10},{"lightness":10},{"gamma":0.8},{"hue":"#293036"}]},{"featureType":"water","stylers":[{"visibility":"on"},{"color":"#293036"}]}];
|
|
|
|
var mapOptions = {
|
|
zoom: 6,
|
|
center: new google.maps.LatLng(-33.397, 145.644),
|
|
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
|
disableDefaultUI: true,
|
|
};
|
|
mapDefault = new google.maps.Map(document.getElementById('google-map'), mapOptions);
|
|
mapDefault.setOptions({styles: cobaltStyles});
|
|
};
|
|
|
|
var Timeline = function () {
|
|
"use strict";
|
|
return {
|
|
//main function
|
|
init: function () {
|
|
handleGoogleMapSetting();
|
|
}
|
|
};
|
|
}();
|
|
|
|
$(document).ready(function() {
|
|
Timeline.init();
|
|
}); |