1
0
mirror of https://github.com/wavded/js-shapefile-to-geojson synced 2024-11-23 14:34:54 +00:00
js-shapefile-to-geojson/index.html
2010-07-31 11:47:07 -05:00

30 lines
830 B
HTML

<!doctype html>
<html>
<head>
<title>Test Page</title>
<style>
html, body, #map {
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div id="map">See Console Logs</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/testshape.shp",
dbf: "testdata/testshape.dbf"
}, function(data){
console.log("took",new Date - starttime,"milliseconds")
console.log(data);
})
</script>
</body>
</html>