Select Page

Art of BI: OBIEE and Google Maps Integration Browser Warning

Author: Christian Screen | 2 min read | July 21, 2009

After the first post on Google Maps integration with OBIEE we found that things worked swimmingly with Firefox but a very annoying looking error message was being produced with Internet Explorer(IE).

This image/warning is caused usually by JavaScript errors. As we can see below the Google Map integration still works wonderfully, we just get that imperfect warning symbol.

To get rid of this symbol, enter your Narrative view properties window and change the PostFix property field to the following:

The change you need to make is to change the “onunload” to “onUnload” so that it has an uppercase “U”. Since javascript is a case sensitive language we need to be careful of little things like this.

Alternatively, you can use the pure, sure-fire apprach that Micrsoft recommends which is:


<script type="text/javascript" for="window" event="onunload">
GUnload();
</script>

Place this after <div> tag that the Google Map is actually dumped into when rendered on the page.

Save your view and test it out. Yes! No more annoying warning in the bottom left. Cheers mates.

References:
http://www.devguru.com/Technologies/ecmascript/quickref/evhan_onunload.html
http://msdn.microsoft.com/en-us/library/ms536973(VS.85).aspx

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.