forked from markus/AMPERION_Webpage
Add themes folder
This commit is contained in:
parent
78eab7dcac
commit
077da5b941
108 changed files with 6225 additions and 0 deletions
120
themes/airspace-hugo/assets/plugins/google-map/gmap.js
Normal file
120
themes/airspace-hugo/assets/plugins/google-map/gmap.js
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
function map() {
|
||||
window.marker = null;
|
||||
|
||||
function initialize() {
|
||||
var map;
|
||||
var latitude = $('#map').attr('data-latitude');
|
||||
var longitude = $('#map').attr('data-longitude');
|
||||
var mapMarker = $('#map').attr('data-marker');
|
||||
var mapMarkerName = $('#map').attr('data-marker-name');
|
||||
var style = [{
|
||||
"featureType": "administrative",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"saturation": "-100"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "administrative.province",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"visibility": "off"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "landscape",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"saturation": -100
|
||||
},
|
||||
{
|
||||
"lightness": 65
|
||||
},
|
||||
{
|
||||
"visibility": "on"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"featureType": "poi",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"saturation": -100
|
||||
},
|
||||
{
|
||||
"lightness": "50"
|
||||
},
|
||||
{
|
||||
"visibility": "simplified"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"featureType": "road",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"saturation": "-100"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.highway",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"visibility": "simplified"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.arterial",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"lightness": "30"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "road.local",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"lightness": "40"
|
||||
}]
|
||||
},
|
||||
{
|
||||
"featureType": "transit",
|
||||
"elementType": "all",
|
||||
"stylers": [{
|
||||
"saturation": -100
|
||||
},
|
||||
{
|
||||
"visibility": "simplified"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"featureType": "water",
|
||||
"elementType": "geometry",
|
||||
"stylers": [{
|
||||
"hue": "#ffff00"
|
||||
},
|
||||
{
|
||||
"lightness": -25
|
||||
},
|
||||
{
|
||||
"saturation": -97
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"featureType": "water",
|
||||
"elementType": "labels",
|
||||
"stylers": [{
|
||||
"lightness": -25
|
||||
},
|
||||
{
|
||||
"saturation": -100
|
||||
}
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue