mirror of
https://github.com/wavded/js-shapefile-to-geojson
synced 2025-12-16 11:14:43 +00:00
*-initial commit
This commit is contained in:
29
index.html
Normal file
29
index.html
Normal file
@@ -0,0 +1,29 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Binary Test</title>
|
||||
<style>
|
||||
html, body, #map {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="map"></div>
|
||||
<script src="stream.js"></script>
|
||||
<script src="shapefile.js"></script>
|
||||
<script src="dbf.js"></script>
|
||||
<script type="text/javascript">
|
||||
var starttime = +new Date,
|
||||
shapefile = new Shapefile({
|
||||
shp: "testdata/TM_WORLD_BORDERS_SIMPL-0.3.shp",
|
||||
dbf: "testdata/TM_WORLD_BORDERS_SIMPL-0.3.dbf"
|
||||
}, function(data){
|
||||
console.log("took",new Date - starttime,"milliseconds")
|
||||
console.log(data);
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user