remove unwanted streetview control from the google layer. r=pgiraud (closes #2868)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10813 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
ahocevar
2010-10-08 16:23:22 +00:00
parent ee9c3e76af
commit e22a37476d
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>OpenLayers: Vector Features</title> <title>OpenLayers: Vector Features</title>
+2 -1
View File
@@ -90,7 +90,8 @@ OpenLayers.Layer.Google.v3 = {
keyboardShortcuts: false, keyboardShortcuts: false,
draggable: false, draggable: false,
disableDoubleClickZoom: true, disableDoubleClickZoom: true,
scrollwheel: false scrollwheel: false,
streetViewControl: false
}); });
// cache elements for use by any other google layers added to // cache elements for use by any other google layers added to
+1 -1
View File
@@ -243,7 +243,7 @@
panel.activate(); panel.activate();
var div = panel.div; var div = panel.div;
panel.destroy(); panel.destroy();
t.ok(panel.div.innerHTML == "", t.eq(panel.div, null,
"Panel is not displayed after destroy without any active control"); "Panel is not displayed after destroy without any active control");
map.destroy(); map.destroy();
} }