[#9886] - Google map with api key not works

Category:
Bug report
Priority:
Urgent
Status:
New
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

I add (only) a map component in report (see attachments).

I create an api key for google map. In my google account, i see my (unrestricted) api key.

If i set this api key in map (API Key field) i have in preview of jasper studio (or server) an error : Byte data not found.

I set a version, an other api key, but i have always this error.

AttachmentSize
blank_a4_landscape.jrxml1.72 KB
v6.4
nicolas.veilleux's picture
Joined: Jul 13 2017 - 5:22am
Last seen: 2 weeks 14 hours ago

1 Comment:

#1

I find the problem. With api key, jaspersoft use this url : http://maps.google.com/maps/api/staticmap?center=45.433968,12.337967&key......
Without api key, jaspersoft use this url, and that works : http://maps.google.com/maps/api/js?center=45.433968,12.337967&key=AIzaSy...

So, where can i change this url ?

Feedback
randomness