Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to specify Google Map API version in TIBCO JasperReports® Server


    ghudson_1
    • Version: v7.1 Product: JasperReports® Server

    Issue Description

    Google maps occasionally releases an update to their API, is there a way to control which version is used in TIBCO JasperReports® Server ?


    Resolution

    Two javascript files need to be modified.

    Per google's API, add a 'v' parameter to the maps.google.com urls in the files below.

    For example for version 3.30, add v=3.30, like:

    maps.google.com/maps/api/js?v=3.30

    You need to modify a file within the jasperreports-.jar found in WEB-INFlib:

    netsfjasperreportscomponentsmapresourcesrequirejasperreports-map.js

    And in JasperReports® Server modify:

    optimized-scriptsbower_componentsbi-reportsrcbireportjiveviewGooglemapComponentView.js

    When modifying optimized-scripts directory, always heed this:

    https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v640/customizing-javascript-files


    Ref. Case 01564500


    User Feedback

    Recommended Comments

    There are no comments to display.



    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...