| 42 | | The path to firebug.js must be relative to your |
|---|
| 43 | | html file. With this script included calls to OpenLayers.Console |
|---|
| 44 | | will be displayed in the Firebug console. For browsers without |
|---|
| 45 | | the Firebug extension, the script creates a Firebug Lite console. |
|---|
| 46 | | This console can be opened by hitting <b>F12</b> or <b>Ctrl+Shift+L</b> |
|---|
| 47 | | (<b>?+Shift+L</b> on a Mac). If you want the Firebug Lite console |
|---|
| 48 | | to be open when the page loads, add <b>debug="true"</b> to the opening |
|---|
| 49 | | html tag of your page. Open the console and click on the links below |
|---|
| 50 | | to see console calls.</p> |
|---|
| 51 | | <ul> |
|---|
| 52 | | <li> |
|---|
| 53 | | <a href="javascript: void(consoleLog());">OpenLayers.Console.log()</a> |
|---|
| 54 | | </li> |
|---|
| 55 | | <li> |
|---|
| 56 | | <a href="javascript: void(consoleWarn());">OpenLayers.Console.warn()</a> |
|---|
| 57 | | </li> |
|---|
| 58 | | <li> |
|---|
| 59 | | <a href="javascript: void(consoleError());">OpenLayers.Console.error()</a> |
|---|
| 60 | | </li> |
|---|
| 61 | | <li> |
|---|
| 62 | | <a href="javascript: void(consoleDir());">OpenLayers.Console.dir()</a> |
|---|
| 63 | | </li> |
|---|
| 64 | | <li> |
|---|
| 65 | | <a href="javascript: void(consoleDirxml());">OpenLayers.Console.dirxml()</a> |
|---|
| 66 | | </li> |
|---|
| 67 | | </ul> |
|---|
| 68 | | <p>The Firebug website has a complete list of |
|---|
| 69 | | <a href="http://www.getfirebug.com/console.html">console calls</a>. |
|---|
| 70 | | Note that not all are supported with Firebug Lite.</p> |
|---|
| | 42 | The path to firebug.js must be relative to your |
|---|
| | 43 | html file. With this script included calls to OpenLayers.Console |
|---|
| | 44 | will be displayed in the Firebug console. For browsers without |
|---|
| | 45 | the Firebug extension, the script creates a Firebug Lite console. |
|---|
| | 46 | This console can be opened by hitting <b>F12</b> or <b>Ctrl+Shift+L</b> |
|---|
| | 47 | (<b>?+Shift+L</b> on a Mac). If you want the Firebug Lite console |
|---|
| | 48 | to be open when the page loads, add <b>debug="true"</b> to the opening |
|---|
| | 49 | html tag of your page. Open the console and click on the links below |
|---|
| | 50 | to see console calls.</p> |
|---|
| | 51 | <ul> |
|---|
| | 52 | <li> |
|---|
| | 53 | <a href="javascript: void(consoleLog());">OpenLayers.Console.log()</a> |
|---|
| | 54 | </li> |
|---|
| | 55 | <li> |
|---|
| | 56 | <a href="javascript: void(consoleWarn());">OpenLayers.Console.warn()</a> |
|---|
| | 57 | </li> |
|---|
| | 58 | <li> |
|---|
| | 59 | <a href="javascript: void(consoleError());">OpenLayers.Console.error()</a> |
|---|
| | 60 | </li> |
|---|
| | 61 | <li> |
|---|
| | 62 | <a href="javascript: void(consoleDir());">OpenLayers.Console.dir()</a> |
|---|
| | 63 | </li> |
|---|
| | 64 | <li> |
|---|
| | 65 | <a href="javascript: void(consoleDirxml());">OpenLayers.Console.dirxml()</a> |
|---|
| | 66 | </li> |
|---|
| | 67 | </ul> |
|---|
| | 68 | <p>The Firebug website has a complete list of |
|---|
| | 69 | <a href="http://www.getfirebug.com/console.html">console calls</a>. |
|---|
| | 70 | Note that not all are supported with Firebug Lite.</p> |
|---|