Responsive HTML5 Map

Developer
Size
2,627 Kb
Views
54,648

How do I make an responsive html5 map?

Happy holiday guys! Its 25th already! Hope the holidays bring you millions of reasons to code!Responsive HTML5 Map.. What is a responsive html5 map? How do you make a responsive html5 map? This script and codes were developed by Afiq Xilantra on 13 June 2022, Monday.

Responsive HTML5 Map Previews

Responsive HTML5 Map - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Responsive HTML5 Map</title> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel='stylesheet prefetch' href='http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
<div class="tengah"> <div id="map" class="col-md-8"> </div> <div class="col-md-4 kotak"><address> <span class="client">Client, Inc.</span><br> 795 Folsom Ave, Suite 600<br> San Francisco, CA 94107<br> <abbr title="Phone">P:</abbr> (123) 456-7890
</address>
<address> <a href="http://dribbble.com/afiq" title="Invite me!"><strong>Send Invitation</strong></a><br> <a href="mailto:#">[email protected]</a>
</address> </div>
</div> <script src='http://cdn.leafletjs.com/leaflet-0.7.1/leaflet.js'></script> <script src="js/index.js"></script>
</body>
</html>

Responsive HTML5 Map - Script Codes CSS Codes

body, html {background: url('https://si0.twimg.com/profile_background_images/378800000155456362/paxrGjgl.jpeg')right bottom;
font-family: 'Lato', sans-serif;}
.tengah {left:15%; right: 15%;top:15%;position:absolute;
font-family: 'Lato', sans-serif;}
#map {height:250px;}
.kotak { color: #e74c3c; background: white; height:250px; margin-bottom: 40px;padding-top: 15px;}
.client {font-size: 3em; font-weight: 300;} 

Responsive HTML5 Map - Script Codes JS Codes

var cmAttr = 'Map data &copy; 2011 OpenStreetMap contributors, Imagery &copy; 2011 CloudMade',	cmUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/{styleId}/256/{z}/{x}/{y}.png'; var minimal = L.tileLayer(cmUrl, {styleId: 22677, attribution: cmAttr}) ;	var map = L.map('map', {	center: [3.1567, 101.7009],	zoom: 15,	layers: [minimal,]	});	L.control.layers(baseLayers, overlays).addTo(map);
Responsive HTML5 Map - Script Codes
Responsive HTML5 Map - Script Codes
Home Page Home
Developer Afiq Xilantra
Username Afiq
Uploaded June 13, 2022
Rating 3
Size 2,627 Kb
Views 54,648
Do you need developer help for Responsive HTML5 Map?

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!

Afiq Xilantra (Afiq) Script Codes
Create amazing blog posts 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!