I found some sample code to get me started (http://www.ironsidegroup.com/2011/10/17/embed-google-maps-in-ibm-cognos-reports/)...
I'm trying to use google maps inside of a cognos report. This seems pretty straight forward but I'm getting a javascript error. Can anyone help me out? Thanks. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <div id="map" style="width:700px;height:400px;"></div> <script type="text/javascript""> if (typeof google == 'undefined') { alert('bummer, google is undefined.'); } else { var latlng = new google.maps.LatLng(40.756,-73.986); var options = { center: latlng, zoom:1, mapTypeId: google.maps.MapTypeId.ROADMAP }; // creating the map //var map = new google.maps.Map(document.getElementById('map'),options); //var geocoder = new google.maps.Geocoder(); function AddMarker (address) { alert('in here'); } } // end google undefined </script> -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/pdL5yGF7nNIJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
