Responsive HTML5 Map
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 - 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 © 2011 OpenStreetMap contributors, Imagery © 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);
Developer | Afiq Xilantra |
Username | Afiq |
Uploaded | June 13, 2022 |
Rating | 3 |
Size | 2,627 Kb |
Views | 54,648 |
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 404 | 2,456 Kb |
Infinite Scroll Lazy Loading Gallery With Simple jQuery | 2,552 Kb |
Login with flip 3d animation | 3,012 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 eye follow | Pedrocampos | 2,592 Kb |
Minimal Menu | Achudars | 3,430 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
Pure CSS Tooltips | Mobius1 | 2,271 Kb |
Simple star rating using js and data-uri | TheEnd | 5,795 Kb |
Project -Show the Local Weather | Luciano_Britis | 2,583 Kb |
Responsive Menu I | Rodericksandoval | 3,045 Kb |
This in constructor context | _shree33 | 1,718 Kb |
A Pen by Jim Savage | Madebyjam | 2,418 Kb |
Bootstrap 3 Price Table | Honglio | 2,655 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!