kushnanak Posted November 26, 2015 Share Posted November 26, 2015 Hi All,I have created one report with Google Map component using Jasper Report 6.1 pro version and integrated with my application.but when i run the report from my application, Google Map does not load first time, Its only displaying blank google map with red marker means background image, zoom in, zoom out, direction is showing blank .If I press the F12 key of keyboard to see the console window then some event is getting fired internally and calling the some google API after that Google Map component of report is getting displayed on my application.Below is the Google API is getting callled when i press the F12 key of the keyboard. Request URL:https://csi.gstatic.com/csi?v=2&s=mapsapi3&v3v=22.12a&action=map&firstMap=false&libraries=drawing&e=xxxxxxxxxx,mob:n,hdpi:n,staticmapsize:y,webp:y&rt=visreq.11906Request Method:GETStatus Code: 204 No ContentRequest URL:https://maps.googleapis.com/maps/gen_204?target=api&ev=api_viewport&cad=host:xxxx.com,v:22,r:1,mt:m,c:38.11395%2C-75.656693,sp:1.68542x3.51563,size:640x390,relsize:0.33,token:3slfx9vgam,client:xxxxxxxx,src:apiv3,ts:g6zxr4Request Method:GETStatus Code: 204 No ContentRequest URL:https://csi.gstatic.com/csi?v=2&s=mapsapi3&v3v=22.12a&action=map&firstMap=false&libraries=drawing&e=xxxxxx,mob:n,hdpi:n,staticmapsize:y,webp:y&rt=visres.12005Request Method:GETStatus Code: 204 No ContentRequest URL:https://csi.gstatic.com/csi?v=2&s=mapsapi3&v3v=22.12a&action=map&firstMap=false&libraries=drawing&e=xxxxxx,mob:n,hdpi:n,staticmapsize:y,webp:y&rt=firsttile.12029Request Method:GETStatus Code: 204 No ContentRequest URL:https://maps.gstatic.com/mapfiles/closedhand_8_8.curRequest Method:GETStatus Code: 200 OK (from cache)And on console its displaying the warning messageSensorNotRequired: https://developers.google.com/maps/documentation/javascript/error-messages util.js line 30 So can anybody help me to fix this issue so that I can get the Google Map component loaded on first run of the report without pressing the F12 key of the keyboard.Thanks in Advanced...!! Thanks & Regards,Kush Nanak Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now