From 91f1f502fe1b315f43325de8b12bc84c6f2e1af9 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 1 Dec 2011 05:03:20 -0800 Subject: [PATCH] corrected c++ usage --- ShapeFile.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShapeFile.md b/ShapeFile.md index eca8f04..14c807d 100644 --- a/ShapeFile.md +++ b/ShapeFile.md @@ -50,7 +50,7 @@ A Shapefile datasource may be created as follows: // Bridges Layer lyr("Vector"); - set_datasource(datasource_cache::instance()->create(p)); + lyr.set_datasource(datasource_cache::instance()->create(p)); lyr.add_style("vector"); m.addLayer(lyr); }