-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.html
More file actions
23 lines (20 loc) · 788 Bytes
/
test.html
File metadata and controls
23 lines (20 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="module">
import proj4 from 'https://cdn.jsdelivr.net/gh/probins/myproj@0.3.0/dist/esbare/bareindex.js';
import 'https://cdn.jsdelivr.net/gh/probins/myproj@0.3.0/dist/esbare/laea.js';
import 'https://cdn.jsdelivr.net/gh/probins/myproj@0.3.0/dist/esbare/merc.js';
import def3035 from 'https://cdn.jsdelivr.net/gh/probins/myproj@0.3.0/defs/epsg3035.js';
import def3857 from 'https://cdn.jsdelivr.net/gh/probins/myproj@0.3.0/defs/epsg3857.js';
import runtest from './runtest.js';
proj4.defs('EPSG:3857', def3857);
runtest(proj4, def3035);
</script>
</head>
<body>
<div id="content">See console for output</div>
</body>
</html>