From e645fb03ac1a2860697ee091588fe17fb10684fb Mon Sep 17 00:00:00 2001 From: euzuro Date: Fri, 14 Jul 2006 16:23:04 +0000 Subject: [PATCH] update warning message to users git-svn-id: http://svn.openlayers.org/trunk/openlayers@946 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Google.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/OpenLayers/Layer/Google.js b/lib/OpenLayers/Layer/Google.js index ceb4680da2..cda46fb83a 100644 --- a/lib/OpenLayers/Layer/Google.js +++ b/lib/OpenLayers/Layer/Google.js @@ -180,15 +180,14 @@ OpenLayers.Layer.Google.prototype = Object.extend( new OpenLayers.Layer(), { var html = ""; html += "The Google Layer was unable to load correctly.
"; html += "
"; + html += "To get rid of this message, click on the Google Layer's " + html += "tab in the layer switcher in the upper-right corner.
"; + html += "
"; 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.
"; html += "
"; - 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.
"; - html += "
"; - html += "For help getting this working correctly, "; + html += "Developers: For help getting this working correctly, "; html += "