I am using openlayers 2 for map displaying using following code,
map = new OpenLayers.Map("mapDiv");
map.addLayer(new OpenLayers.Layer.Google("Google Streets",{numZoomLevels: 20}));
map.addLayer(new OpenLayers.Layer.Bing({
name: "Bing",
key: "AqTGBsziZHIJYYxgivLBf0hVdrAk9mWO5cQcb8Yux8sW5M8c8opEC2lZqKR1ZZXf",
type: "Road",
wrapDateLine: true
}));
map.addControl(new OpenLayers.Control.LayerSwitcher());
What happen is google maps isn't displaying until someone zoom in/out while bing maps get displayed. I don't have google key for map api. so currently using following JS.
<script src="https://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript" ></script>
I think its problem of not having google key. is it so?