update warning message to users

git-svn-id: http://svn.openlayers.org/trunk/openlayers@946 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-07-14 16:23:04 +00:00
parent 35aebd03fd
commit e645fb03ac

View File

@@ -180,15 +180,14 @@ OpenLayers.Layer.Google.prototype = Object.extend( new OpenLayers.Layer(), {
var html = "";
html += "The Google Layer was unable to load correctly.<br>";
html += "<br>";
html += "To get rid of this message, click on the Google Layer's "
html += "tab in the layer switcher in the upper-right corner.<br>";
html += "<br>";
html += "Most likely, this is because the Google Maps library";
html += " script was either not included, or does not contain the";
html += " correct API key for your site.<br>";
html += "<br>";
html += "If you wish to use a GMaps Layer with OpenLayers, you";
html += " must include the gmaps script library in your HTML";
html += " file, just before including OpenLayers.js.<br>";
html += "<br>";
html += "For help getting this working correctly, ";
html += "Developers: For help getting this working correctly, ";
html += "<a href='http://trac.openlayers.org/wiki/Google' "
html += "target='_blank'>";
html += "click here";