Did anyone have problems with Google Maps API? I have an HTML with OpenLayers and Geoserver. Since yesterday, the Google Maps Hybrid map is not working, even if some images are loaded in Firebug. Sometimes I receive a message stating Google Maps API v3.2 is deprecated.
var map, info;
function load() {
map = new OpenLayers.Map({
div: "map",allOverlays: true, projection: new OpenLayers.Projection("EPSG:900913"),
displayProjection: new OpenLayers.Projection("EPSG:4326"),
layers: [
// new OpenLayers.Layer.Google("Google Satellite",{type: google.maps.MapTypeId.SATELLITE, numZoomLevels:50}),
new OpenLayers.Layer.Google("Google Hybrid",{type: google.maps.MapTypeId.HYBRID, numZoomLevels:20}),
cladiri=new OpenLayers.Layer.WMS(
"Cladiri",
"http://127.0.0.1:8080/geoserver/proprietati/wms",
{layers: 'proprietati:<?php echo "".$identificator."_cladiri";?>',transparent: true, format: 'image/png'},
{isBaseLayer: true, opacity: 0.9, singleTile: true})
],
controls: [
new OpenLayers.Control.Navigation({
dragPanOptions: {
enableKinetic: true
}
}),
new OpenLayers.Control.PanZoom(),
new OpenLayers.Control.Attribution()
],
center: new OpenLayers.LonLat(26.1473586305531, 44.4431676053183).transform(new OpenLayers.Projection("EPSG:4326"), new OpenLayers.Projection("EPSG:900913")),
zoom: 15
});