Skip to content

Instantly share code, notes, and snippets.

Created Dec 29, 2016
What would you like to do?
<!DOCTYPE html>
<meta charset="utf-8"/>
<link rel="stylesheet" href="" />
<script type="text/javascript" src=""></script>
<style type="text/css">
html, body, #map {
width: 100%;
height: 100%;
margin: 0 !important;
overflow: hidden;
<div id="map"></div>
<script type="text/javascript">
var map ='map').setView([-37.8130, 144.9484], 14);
L.tileLayer('http://localhost:8080/{z}/{x}/{y}.png', {
attribution: 'Map data &copy; <a href="">OpenStreetMap</a> contributors, <a href="">CC-BY-SA</a>, Imagery © <a href="">CloudMade</a>',
maxZoom: 18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment