<p>Hello,</p><p> </p><p>I've been trying to integrate GoogleMaps V3 library with BIRT but I didn't have any success.</p><p> </p><p>So in my report I load google maps using head.js in the clientScripts like this</p><p> </p><p>head.js("<a data-ipb='nomediaparse' href='
http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'>http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js</a><a data-ipb='nomediaparse' href=''>","
https://maps.googleapis.com/maps/api/js?v=3.16&key=key",</a> null); </p><p> </p><p>and then inside a script on my report I have the following:</p><p> </p><p>head.ready(function(){
//alert("Scripts loaded");
initialize();
});
function initialize(){
//get address
var geocoder= new google.maps.Geocoder();
var address = $('#address_field').text();
var text = [];
}
</p><p>But I constantly get this error message :</p><p> </p><p><span><span>TypeError: google.maps.Geocoder is not a constructor</span></span></p><p> </p><p><span><span>This is strange because outside BIRT my program works as it should work. </span></span></p><p> </p><p><span><span>Any ideas?</span></span></p><p> </p>