Layer.Vector.removeMap must deactivate the strategies, r=fredj (closes #1649)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@7708 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
function test_initialize(t) {
|
||||
t.plan(2);
|
||||
t.plan(3);
|
||||
var options = {};
|
||||
var protocol = new OpenLayers.Protocol(options);
|
||||
|
||||
t.ok(protocol instanceof OpenLayers.Protocol,
|
||||
"new OpenLayers.Protocol returns object" );
|
||||
t.eq(protocol.options, options, "constructor sets this.options");
|
||||
t.eq(protocol.autoDestroy, true, "constructor does not modify this.autoDestroy");
|
||||
}
|
||||
|
||||
function test_destroy(t) {
|
||||
|
||||
Reference in New Issue
Block a user