-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscratch_code.html
53 lines (48 loc) · 1.56 KB
/
scratch_code.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!-- pasted html stuff -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.1/leaflet.css'/>
<!-- leaflet imports -->
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css"/> -->
<!-- <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css" /> -->
<!-- <link href='https://api.mapbox.com/mapbox-gl-js/v0.47.0/mapbox-gl.css' rel='stylesheet' /> -->
<link rel="stylesheet" href="index.css"/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-tAGcCfR4Sc5ZP5ZoVz0quoZDYX5aCtEm/eu1KhSLj2c9eFrylXZknQYmxUssFaVJKvvc0dJQixhGjG2yXWiV9Q=="
crossorigin=""></script>
<style>
h1, h2, p {
text-align: center;
}
.leaflet-container {
height: 400px;
width: 80%;
margin: 0 auto;
}
</style>
</head>
<div class="topnav">
<a>Map Test</a>
</div>
<body>
<div id="root"></div>
<!-- <script type="text/jsx">
import React from 'react';
import ReactDOM from 'react-dom';
import {AppContainer} from 'react-hot-loader';
const render = () => {
const App = require('../../Map.js').default;
ReactDOM.render(<AppContainer><App /></AppContainer>, document.getElementById('root'));
}
render();
if (module.hot) {
module.hot.accept(render);
}
</script> -->
</body>
<!-- <script>
// document.body.appendChild()
</script> -->
</html>