Skip to content

Instantly share code, notes, and snippets.

@wadtech
Created November 1, 2018 11:07
Show Gist options
  • Save wadtech/c87f1eac4d886ca782011011569ec2d2 to your computer and use it in GitHub Desktop.
Save wadtech/c87f1eac4d886ca782011011569ec2d2 to your computer and use it in GitHub Desktop.
JS Bin // source https://jsbin.com/fomudof
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script>
<style id="jsbin-css">
#map {
width: 500px;
height: 500px;
}
</style>
</head>
<body>
<div id="map"></div>
<script id="jsbin-javascript">
'use strict';
var map = L.map('map', {
zoom: 13
});
</script>
<script id="jsbin-source-css" type="text/css">#map {
width: 500px;
height: 500px;
}</script>
<script id="jsbin-source-javascript" type="text/javascript">let map = L.map('map', {
zoom: 13
});
</script></body>
</html>
#map {
width: 500px;
height: 500px;
}
'use strict';
var map = L.map('map', {
zoom: 13
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment