Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Dynamically changing the map type
joshr
<p>I have a BIRT report that uses the Map report item to display some regional information. Is it possible to change the type of map through scripting?</p>
<p> </p>
<p>I tried looking through the api document provided here <a data-ipb='nomediaparse' href='
http://help.eclipse.org/mars/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/ReportDesignHandle.html'>http://help.eclipse.org/mars/index.jsp?topic=/org.eclipse.birt.doc.isv/model/api/org/eclipse/birt/report/model/api/ReportDesignHandle.html</a>but
didn't have much luck.</p>
<p> </p>
<p> </p>
<p>My main objective is to be able to change the type specified in the construct. </p>
<p><a data-ipb='nomediaparse' href='
http://www.fusioncharts.com/dev/maps/attribute-reference.html'>http://www.fusioncharts.com/dev/maps/attribute-reference.html</a></p>
;
Find more posts tagged with
Comments
Clement Wong
<p>One option is in the <em>beforeFactory </em>event to get a handle to the report item name of the map, and then change the XML to the map you want to display.</p>
<p> </p>
<p>Attached is a parameterized example of changing the map type.</p>
luy
hi Clement Wong, can you share the attached file? i need this as well. thanks!