mirror of
https://github.com/wavded/js-shapefile-to-geojson
synced 2024-11-23 14:34:54 +00:00
Update index.html
This commit is contained in:
parent
15d4978fcd
commit
048142829d
@ -35,8 +35,8 @@
|
|||||||
vector = new OpenLayers.Layer.Vector("Converted"),
|
vector = new OpenLayers.Layer.Vector("Converted"),
|
||||||
|
|
||||||
shapefile = new Shapefile({
|
shapefile = new Shapefile({
|
||||||
shp: "testdata/world.shp",
|
shp: "sld_cookbook_line.shp",
|
||||||
dbf: "testdata/world.dbf"
|
dbf: "sld_cookbook_line.dbf"
|
||||||
}, function(data){
|
}, function(data){
|
||||||
var features = parser.read(data.geojson);
|
var features = parser.read(data.geojson);
|
||||||
vector.addFeatures(features);
|
vector.addFeatures(features);
|
||||||
|
Loading…
Reference in New Issue
Block a user