-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
48 lines (41 loc) · 1.06 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
<head>
<style type="text/css">
#map_canvas {
height:500px;
-webkit-filter: blur(2px) sepia(100%);
-moz-filter:url(#BlurSepia);
-o-filter: url(#BlurSepia);
-ms-filter: blur(2px) sepia(100%);
filter: url(#BlurSepia);
}
</style>
</head>
<body>
<script src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
var map;
function initialize() {
var mapOptions = {
zoom: 8,
center: new google.maps.LatLng(-34.397, 150.644),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map_canvas'),
mapOptions);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<div id="map_canvas"></div>
<!-- Svg filters-->
<svg id="svg-image-blur">
<filter id="BlurSepia">
<feGaussianBlur stdDeviation="2" />
<feColorMatrix values="0.70 0.30 0.30 0 0
0.65 0.25 0.25 0 0
0.60 0.20 0.20 0 0
0 0 0 1 0" />
</filter>
</svg>
</body>
</html>