Sunday, July 26, 2009

OBIEE Google Maps an alternative ending

In these articles:

I showed you how to integrated Google maps in OBIEE. Some of you got into trouble when using it on dashboard with a Microsoft Internet Explorer. This is caused by the fact that IE doesn’t like multiple .onload events in a frameset.

Here is an alternative. In the postfix part of the narrative use this instead:

}
</script>
<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready( function(){initialize();return false;
            }
        );
    </script>

<body onunload="GUnload()">
     <div id="map_canvas" style="width: 600px; height: 400px"    > </div>
</body>

If your organisation doesn’t allow a live connection to the internet download the jquery JS script from here:

Put it in a custom folder named res/my_custom_js as change the source to:

  • <script src="res/my_custom_js/jquery.js" type="text/javascript"></script>

(Sync with the OC4J folder if needed)

 

Till Next Time

No comments: