changing function name from generateMarker to draw() to remain consistent with other areas of the code. (specifically OpenLayers.Control, whouses the draw() function to render the control and return a link to the div)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@249 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-22 10:50:35 +00:00
parent 5dcb062be1
commit 7f11d01e87
3 changed files with 8 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
t.eq( layer.markers[0].icon.url, 'http://boston.openguides.org/markers/ORANGE.png', "icon" );
} );
}
function test_02_Layer_Text_generateMarker (t) {
function test_02_Layer_Text_draw (t) {
t.plan(5);
layer = new OpenLayers.Layer.Text('Test Layer', 'data_Layer_Text_textfile.txt');
t.ok( layer instanceof OpenLayers.Layer.Text, "new OpenLayers.Layer.Text returns object" );