getting rid of unnecessary, undocumented 'drawn' property on marker. replacing it with accessor function isDrawn(), and putting an isDrawn() in icon as well. all tests pass r=elemoine (Closes #1759)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@8091 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2008-10-04 20:13:28 +00:00
parent 2e4faa3861
commit 8e3178984f
6 changed files with 76 additions and 4 deletions
+1
View File
@@ -46,6 +46,7 @@
t.ok(true, "removing marker when no markers present does not script error");
}
function test_Layer_Markers_destroy (t) {
t.plan( 1 );
layer = new OpenLayers.Layer.Markers('Test Layer');