SVG Radar Animation with Radio Waves Alert
How do I make an svg radar animation with radio waves alert?
SVG Radar Animation with Radio Waves Alert on Google Maps. What is a svg radar animation with radio waves alert? How do you make a svg radar animation with radio waves alert? This script and codes were developed by Ahsan K. Rathore on 04 July 2022, Monday.
SVG Radar Animation with Radio Waves Alert - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>SVG Radar Animation with Radio Waves Alert</title> <script src="http://maps.googleapis.com/maps/api/js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="googleMap"></div>
<div class="small-circle"> <span></span>
</div>
<svg version="1.1" id="radar-svg" pointer-events="none"> <polygon id="radar-beam" fill="#ED1C24" points="" fill-opacity='0.75'/>
</svg>
<svg version="1.1" id="radar-circle-other" pointer-events="none"> <circle cx="50%" cy="50%" r="0" fill-opacity="0" stroke="white" stroke-width="16px" stroke-opacity="0.4"> <animate attributeName="r" from="0" to="1220" dur="6s" repeatCount="indefinite" begin="0.25s" /> </circle> <circle cx="50%" cy="50%" r="0" fill-opacity="0" stroke="white" stroke-width="12px" stroke-opacity="0.4"> <animate attributeName="r" from="0" to="1220" dur="6s" repeatCount="indefinite" begin="1.25s" /> </circle> <circle cx="50%" cy="50%" r="0" fill-opacity="0" stroke="white" stroke-width="8px" stroke-opacity="0.4"> <animate attributeName="r" from="0" to="1220" dur="6s" repeatCount="indefinite" begin="2.25s" /> </circle> <circle cx="50%" cy="50%" r="0" fill-opacity="0" stroke="white" stroke-width="4px" stroke-opacity="0.4"> <animate attributeName="r" from="0" to="1220" dur="6s" repeatCount="indefinite" begin="3.25s" /> </circle> <circle cx="50%" cy="50%" r="0" fill-opacity="0" stroke="white" stroke-width="2px" stroke-opacity="0.4"> <animate attributeName="r" from="0" to="1220" dur="6s" repeatCount="indefinite" begin="4.25s" /> </circle> </svg> <script src="js/index.js"></script>
</body>
</html>
SVG Radar Animation with Radio Waves Alert - Script Codes CSS Codes
html, body { height: 100%; margin: 0; padding: 0; overflow: hidden;
}
body { overflow: scroll; }
#radar-svg { position: absolute; top: 0; left: -100px; right: 0; bottom: 0; margin: auto; z-index: 3; box-sizing: border-box; pointer-events: none;
}
#googleMap{ position:absolute; width:100%; height:100%; overflow:hidden; z-index: 1; top: 0; bottom: 0; left: 0; right: 0; margin: auto; box-sizing: border-box;
}
.small-circle { width: 5px; height: 5px; border: 1px solid #000; position: absolute; top:0; bottom: 0; left: 0; right: 0; margin: auto; border-radius: 50%; z-index: 2; padding : 2px;
}
.small-circle span { width: 5px; height: 5px; background-color: #000; display: block; border-radius: 50%;
}
#radar-circle-other { width: 100%; height: 100%;
}
#radar-circle-other { position: absolute; top: 0; left: 0px; right: 0; bottom: 0; margin: auto; z-index: 1; box-sizing: border-box; pointer-events: none;
}
SVG Radar Animation with Radio Waves Alert - Script Codes JS Codes
$(function() { var wh = ($(window).outerWidth()+200), $radar = $('#radar-svg'), $radGradient = $('#radar-gradient'), $radBeam = $('#radar-beam'), deg = -90, rad = (wh/2); // = 621/2 $radar.attr('width', wh).attr('height', wh); $radGradient.attr('y1', rad).attr('y2', rad); $radBeam.attr('points','750,0 450,0 ' + rad + ',' + rad); $radar.css({transform: 'rotate('+ deg +'deg)'}); (function rotate() { $radar.css({transform: 'rotate('+ deg +'deg)'}); $('[data-atDeg='+deg+']').stop().fadeTo(0,1).fadeTo(1700,0.2); // LOOP setTimeout(function() { deg = ++deg%360; rotate(); }, 30); })();
});
function initialize() { var mapProp = { center:new google.maps.LatLng(51.508742,-0.120850), zoom:10, mapTypeId:google.maps.MapTypeId.ROADMAP }; var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
}
google.maps.event.addDomListener(window, 'load', initialize);
Developer | Ahsan K. Rathore |
Username | ahsanrathore |
Uploaded | July 04, 2022 |
Rating | 3 |
Size | 2,753 Kb |
Views | 159,896 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Animated Progress Donut | 2,945 Kb |
Full Calendar - Isotope | 2,895 Kb |
Bootstrap Modal Example | 2,183 Kb |
Responsive Layout with Flexbox | 1,831 Kb |
One page responsive website By Ahsan Khurshid | 6,327 Kb |
Password Strength | 2,929 Kb |
SVG Radio Wave Alerts Animation | 1,633 Kb |
JQCap - jQuery Captcha Widget | 3,935 Kb |
Responsive Mega Menu - CSS3 | 4,373 Kb |
Shopping Cart - Angular JS | 3,835 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Rotate Demo | Agelber | 3,061 Kb |
CSS Tooltips | Darylldoyle | 2,599 Kb |
Click Based Rotation Demo | Zeaklous | 2,086 Kb |
Basic 3D Fullscreen Transition | Apetrov | 3,270 Kb |
Octopus Bar iPad App Interactions | Davidkpiano | 6,735 Kb |
Midterm dry run | Jds317 | 1,649 Kb |
Gradient-ui-button-mark-fx | Tabspace | 1,881 Kb |
Angular Sandbox | Alexgurrola | 1,616 Kb |
A Pen by boilzzz | Boilzzz | 2,761 Kb |
AngularJS Datalist Directive | M-e-conroy | 2,366 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!