Google_mapping
How do I make an google_mapping?
What is a google_mapping? How do you make a google_mapping? This script and codes were developed by Sleezyjus on 10 September 2022, Saturday.
Google_mapping - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>google_mapping</title>
</head>
<body>
<div> <div id="map" style="width: 500px; height: 400px;"></div>
<script src="https://maps.google.com/maps/api/js?sensor=false"></script>
</div> <script src="js/index.js"></script>
</body>
</html>
Google_mapping - Script Codes JS Codes
var locations = [ [ "Massy SuperMarket", 13.0653037, -59.5480472, 1, "Georgia Mason", "", "Oistins, Barbados", "coming soon" ], [ "Carlton & A1 Supermarkets", 13.1235363, -59.6245079, 1, "Georgia Mason", "", "Oistins, Barbados", "coming soon" ], [ "Emerald City Supermarket", 13.117032, -59.4772828, 1, "Georgia Mason", "", "Six Cross Roads, Barbados", "coming soon" ], [ "Wine World Inc - Holetown", 13.1864975, -59.7067295, 1, "Georgia Mason", ", Indigo Plaza (Ground Floor), Barbados", "", "coming soon" ]
] var map = new google.maps.Map(document.getElementById('map'), { zoom: 12, // center: new google.maps.LatLng(-33.92, 151.25), center: new google.maps.LatLng(13.1864975, -59.6756504), mapTypeId: google.maps.MapTypeId.ROADMAP }); var infowindow = new google.maps.InfoWindow(); var marker, i; for (i = 0; i < locations.length; i++) { marker = new google.maps.Marker({ position: new google.maps.LatLng(locations[i][1], locations[i][2]), map: map }); google.maps.event.addListener(marker, 'click', (function(marker, i) { return function() { infowindow.setContent(locations[i][0], locations[i][6]); infowindow.open(map, marker); } })(marker, i)); }
Developer | Sleezyjus |
Username | sleezyjus |
Uploaded | September 10, 2022 |
Rating | 3 |
Size | 1,954 Kb |
Views | 22,264 |
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 |
Jusmenu | 2,994 Kb |
Simple Lightbox with Video or Image | 2,572 Kb |
Scrollex | 2,092 Kb |
Shopping party | 3,585 Kb |
Yeezy | 8,240 Kb |
Drag to pan image | 3,745 Kb |
Rub it | 2,306 Kb |
Tootsie owl slider | 2,930 Kb |
A Pen by sleezyjus | 5,311 Kb |
Simple css animate | 1,524 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 |
CSS Chat Bubbles | Boylett | 2,094 Kb |
Very Simple Slider | Doodlemarks | 2,682 Kb |
Ghost | Mghayour | 11,738 Kb |
RRC wrapSwitch | Pshrmn | 2,922 Kb |
Wikipedia API | Coderpilot | 2,802 Kb |
Pure CSS read more toggle | Idered | 2,344 Kb |
A Pen by Malith Hettiarachchi | MalZiiirA | 5,531 Kb |
Eunice A | Ejbronze | 2,203 Kb |
Search field | Jamesbarnett | 2,100 Kb |
Clock Face Idea | Chrisburnell | 3,196 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!