1
0
mirror of https://github.com/wavded/js-shapefile-to-geojson synced 2025-12-16 11:14:43 +00:00

*-cleaned up test page and data

This commit is contained in:
Marc Harter
2010-07-31 11:47:07 -05:00
parent f9304dbd3c
commit b80bafe3f8
11 changed files with 4 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<title>Binary Test</title>
<title>Test Page</title>
<style>
html, body, #map {
height: 100%;
@@ -10,15 +10,15 @@
</style>
</head>
<body>
<div id="map"></div>
<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/TM_WORLD_BORDERS_SIMPL-0.3.shp",
dbf: "testdata/TM_WORLD_BORDERS_SIMPL-0.3.dbf"
shp: "testdata/testshape.shp",
dbf: "testdata/testshape.dbf"
}, function(data){
console.log("took",new Date - starttime,"milliseconds")
console.log(data);