When debugging new Mapbender functionality, most developers I know use Firebug's

console.log

to do so. I recommend not to use it. In a non Firebug environment, your code will fail. And I don't want to add code to Mapbender that checks if console is defined etc.

You can use "new Mb_notice('text')" instead. Just configure your mapbender.conf to log notices and set the LOG_JS constant to "console".

--

----------------------------------

FOSSGIS Konferenz 2009
17.-19. März 2009 in Hannover
http://www.fossgis.de/konferenz

----------------------------------
_______________________________________

W h e r e G r o u p GmbH & Co. KG

Siemensstraße 8
53121 Bonn
Germany

Christoph Baudson
Anwendungsentwickler

Fon: +49 (0)228 / 90 90 38 - 15
Fax: +49 (0)228 / 90 90 38 - 11
[email protected]
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
_______________________________________

Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
_______________________________________

_______________________________________________
Mapbender_dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapbender_dev

Reply via email to