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:
@@ -1,3 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>OpenLayers: Vector Features</title>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user