[mapguide-users] Re: Scalebar: TypeError, Fusion Error, and NS_ERROR_DOM_INVALID_ACCESS_ERR

Berg, Leandros van den [FGSBV] L.vdBerg at fugro.nl
Fri Nov 11 06:55:55 EST 2011


Your solution worked and the correct label is now placed above the
scalebar as well. I've managed to pinpoint where the error is thrown, it
is this line

if(typeof(aSheet.cssRules) == 'undefined') {

Apparently aSheet doesn't have the cssRules parameter when your not
debugging. I haven't got a clue why that is. Maybe because I add the
stylesheet as a link element.

Leandros


More information about the mapguide-users mailing list