I have web app with OL 2.13 and google street as base layer.Everything worked fine till couple of days ago, suddenly (without any change) the map loads white (no errors in console) and only if I load the map with different base layer (hybrid or satellite) and than choose google street , than the layer is drawn.
Any idea what might cause this behavior ?
map = new OpenLayers.Map('myMap', { units: 'm', zoomMethod: null, projection: epsg900913, displayProjection: epsg4326 }); var ggl = new OpenLayers.Layer.Google('1',{type: google.maps.MapTypeId.ROADMAP }); var sat = new OpenLayers.Layer.Google('2', {type: google.maps.MapTypeId.SATELLITE}); var hybrid = new OpenLayers.Layer.Google('3', {type: google.maps.MapTypeId.HYBRID}); map.addLayers([ggl,hybrid,sat]);I
أكثر...
Any idea what might cause this behavior ?
map = new OpenLayers.Map('myMap', { units: 'm', zoomMethod: null, projection: epsg900913, displayProjection: epsg4326 }); var ggl = new OpenLayers.Layer.Google('1',{type: google.maps.MapTypeId.ROADMAP }); var sat = new OpenLayers.Layer.Google('2', {type: google.maps.MapTypeId.SATELLITE}); var hybrid = new OpenLayers.Layer.Google('3', {type: google.maps.MapTypeId.HYBRID}); map.addLayers([ggl,hybrid,sat]);I
أكثر...