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

View File

@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OpenLayers: Vector Features</title>

View File

@@ -90,7 +90,8 @@ OpenLayers.Layer.Google.v3 = {
keyboardShortcuts: false,
draggable: false,
disableDoubleClickZoom: true,
scrollwheel: false
scrollwheel: false,
streetViewControl: false
});
// cache elements for use by any other google layers added to

View File

@@ -243,7 +243,7 @@
panel.activate();
var div = panel.div;
panel.destroy();
t.ok(panel.div.innerHTML == "",
t.eq(panel.div, null,
"Panel is not displayed after destroy without any active control");
map.destroy();
}