I need to find a way in my application code to detect that the nokia JS map API code has been loaded into the browser. With other maps API such as google maps, I can attach a callback function to the end of the Script URL like:

where the function myApp.finishLoadGoogleJs() is part of my application code, but is invoked as soon as the google JS api library finishes loading, so my app can do some initialization based on this notification.

I urgently need to figure out a way to do the same with the Nokia JS URL:

If no such callback mechanism is currently in place, is there any known/public Nokia map object that I can detect its existence and use as an indication that the Nokia JS lib has been loaded into the page?