Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Plotting points on map using BIRT inbuilt map
sushilkumarsah
<p>
Find more posts tagged with
Comments
Clement Wong
<p>Is this OS BIRT or commercial BIRT? What version of BIRT are you using?</p>
<p> </p>
<p>It sounds like you're using commercial BIRT if you are referring to "BIRT inbuilt map", in which case, the HTML5 Map Report Item plots by countries, states, counties, and known cities. It is based on Fusion Maps.</p>
<p> </p>
<p>If you're using iHub 3.1 or higher, you have the ability to use the Custom Visualization and in conjuction with JavaScript based visualizations such as Google Maps, Open Street maps, Leaflet, HighCharts Maps, etc...</p>
<p> </p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/files/file/1120-ihub-31-custom-visualization-examples/'>Custom
Visualization Examples using Google Maps and Leaflet, and others</a></p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/files/file/1129-ihub-31-custom-visualization-google-map-with-heatmap-layer/'>Custom
Visualization Example using Google Map and a Heat Map Layer</a></p>
<p> </p>
<p>If you are using OS BIRT, you can check out this post about using Google Maps:</p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/topic/37771-implement-google-maps-in-the-open-source-birt-report/#entry140596'>http://developer.actuate.com/community/forum/index.php?/topic/37771-implement-google-maps-in-the-open-source-birt-report/#entry140596</a></p>
;
sushilkumarsah
<p><span style="font-size:14px;"><span style="font-family:arial, helvetica, sans-serif;">Thanks for replying <span style="color:rgb(0,0,0);"><strong>Clement Wong</strong></span></span></span>. We are using :</p>
<p> </p>
<p>Actuate BIRT Designer Professional<br>
Version: 4.4.0<br>
Build id: v20150710</p>
<p> </p>
<p>Our ihub server is 3.1.1</p>
<p> </p>
<p>When I am talking about inbuilt map, I mean the option of inserting map in the layout in our reports is there. While inserting map we have option to select which country map we can insert as shown in the image below.</p>
<p> </p>
<p>
Clement Wong
<p>For your requirements, please use the Custom Visualization Report Item and a JavaScript map visualization like Google Maps, Leaflet or HighCharts Maps.</p>
sushilkumarsah
<p>Can you please tell how we can use google maps in BIRT, and display the final output on web viewer and export it finally to excel.</p>
<p> </p>
<p>Basically, I want to know how I can use javascript/java in BIRT to show google map.</p>
<p> </p>
<p>I know how to plot points on google map using javascript but don't know how and where to write/integrate that code in BIRT.</p>
Clement Wong
<p>Since you are using commercial BIRT, iHub 3.1.1, you'll have the ability to use Custom Visualizations (<a data-ipb='nomediaparse' href='
http://www.actuate.com/download/whitepapers/BIRT-iHub-3-1-TSNF.pdf#page=7'>http://www.actuate.com/download/whitepapers/BIRT-iHub-3-1-TSNF.pdf#page=7</a>)
</p>
<p> </p>
<p>If you drag a Custom Visualization Report Item to your layout, in the Data tab, you have the ability to assign what data set you can use to populate your visualization.</p>
<p> </p>
<p>In the Templates tab, you can select a predefined template. In your case, select "Google Maps" since you have geocoded data.</p>
<p> </p>
<p>At this point, you can just run the report to see the Custom Viz with sample data.</p>
<p> </p>
<p>Then, you can assign Data and modify the template and point your data columns to the <changeme> items in the Template.</p>
<p> </p>
<p>The Custom Viz allows for static CSS, script and HTML. There is JSFiddle one button tester. The Custom Viz can also load external CSS and script via head.js for example.</p>
<p> </p>
<p> </p>
<p>Also have you downloaded the additional samples I posted to the DevShare?</p>
<p> </p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/files/file/1120-ihub-31-custom-visualization-examples/'>Custom
Visualization Examples using Google Maps and Leaflet, and others</a></p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/files/file/1129-ihub-31-custom-visualization-google-map-with-heatmap-layer/'>Custom
Visualization Example using Google Map and a Heat Map Layer</a></p>
<p> </p>
<p> </p>
<p>The Custom Visualization allows for exporting to Excel, PDF, Word with the same visualization as seen from the client browser if it had performed a print operation. The commercial BIRT emitters will be able to act as a browser to render the JavaScript visualization in the exported output formats.</p>