Google_mapping

Developer
Size
1,954 Kb
Views
22,264

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 Previews

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)); }
Google_mapping - Script Codes
Google_mapping - Script Codes
Home Page Home
Developer Sleezyjus
Username sleezyjus
Uploaded September 10, 2022
Rating 3
Size 1,954 Kb
Views 22,264
Do you need developer help for Google_mapping?

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!

Sleezyjus (sleezyjus) Script Codes
Create amazing web content with AI!

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!