Google maps

The Google map component is a data component integrated with Google Maps. Using the Google Maps Javascript API, three types of maps can be displayed in JReport: roadmap, satellite and terrain. JReport only supports the Google Maps Javascript API Version 3.

Every Google map component has its own data definition and can be manipulated by report developers. You can create a Google map with a defined data source and group levels. Each group level has a marker which will show the defined tip information when you move the mouse over the marker at runtime.

The interactive features of Google maps only work in JReport Viewer, JReport Studio and JDashboard; however, static Google map images are supported in PDF and HTML formats with some limitations (for details, refer to Google Static Maps API).

Pick a task from the following:

Note: To use the Google map features, you have to make sure your JReport Server and browser have access to the internet. If you are in an intranet, you should specify the proxy for both of them. To specify the proxy for the server, you need to open the batch file JRServer.bat in <install_root>\bin, and then add the following parameters in the file: