Dynamically changing the map type

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?


I tried looking through the api document provided here http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.birt.doc.isv%2Fmodel%2Fapi%2Forg%2Feclipse%2Fbirt%2Freport%2Fmodel%2Fapi%2FReportDesignHandle.htmlbut didn't have much luck.



My main objective is to be able to change the type specified in the construct. 



  • One option is in the beforeFactory 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.


    Attached is a parameterized example of changing the map type.

    Clement Wong
    Principal Analytics Architect

    OpenText Corporation
    http://www.actuate.com | http://www.opentext.com

Sign In or Register to comment.