leaflet.utm
Version:
Converts LatLng to UTM WGS84 in Leaflet
51 lines (43 loc) • 1.32 kB
HTML
<html>
<head>
<meta charset="utf-8">
<title>Leaflet.UTM Tests</title>
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
<link rel="stylesheet" href="../node_modules/leaflet/dist/leaflet.css" />
<style>
.map, .label {
width: 200px;
height: 200px;
float: left;
}
.label {
width: 40px;
text-align: left;
font-size: 40px;
padding: 20px 30px;
}
#mocha {
clear: both;
}
</style>
</head>
<body>
<div id="mocha"></div>
<script src="../node_modules/proj4/dist/proj4.js"></script>
<script src="../node_modules/leaflet/dist/leaflet.js"></script>
<script src="../L.LatLng.UTM.js" data-cover></script>
<script src="../node_modules/chai/chai.js"></script>
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai-leaflet/chai-leaflet.js"></script>
<script src="../node_modules/blanket/dist/mocha/blanket_mocha.js"></script>
<script>
mocha.setup('bdd');
</script>
<script src="fixtures.js"></script>
<script src="spec.js"></script>
<script>
mocha.globals(['L']);
(window.mochaPhantomJS || mocha).run();
</script>
</body>
</html>