fix; examples

This commit is contained in:
Marc Harter 2013-05-30 09:14:59 -05:00
parent 15d4978fcd
commit 0b14898be1
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ Load DBF Only
Load Shapefile w/ DBF Attributes
var shapefile = new Shapefile({
shp: "myshape.dbf",
shp: "myshape.shp",
dbf: "myshape.dbf"
}, function(data){
// data returned
@ -38,7 +38,7 @@ Use with OpenLayers
parser = new OpenLayer.Format.GeoJSON(),
features,
shapefile = new Shapefile({
shp: "myshape.dbf",
shp: "myshape.shp",
dbf: "myshape.dbf"
}, function(data){
features = parser.read(data.geojson);