Ticket #777: getWarningHTML.patch
| File getWarningHTML.patch, 1.1 kB (added by euzuro, 1 year ago) |
|---|
-
lib/OpenLayers/Layer/EventPane.js
old new 90 90 } 91 91 }, 92 92 93 /** If we can't load the GMap, then display an error message to the94 * user and tell them where to go for help.93 /** If we can't load the 3rd party map object, then display an error 94 * message to the user and tell them where to go for help. 95 95 * 96 * This function sets up the layout for the warning message. Each 3rd 97 * party layer must implement its own getWarningHTML() function to 98 * provide the actual warning message. 99 * 96 100 * @private 97 101 * 98 102 */ … … 125 129 this.div.appendChild(div); 126 130 }, 127 131 132 /** 133 * @return String with information on why layer is broken, how to get 134 * it working. 135 * @type String 136 */ 137 getWarningHTML:function() { 138 //should be implemented by subclasses 139 return ""; 140 }, 128 141 129 142 /** 130 143 * @param {Boolean} display
