Jump to content

BIRT Developer Center
Download


Photo
- - - - -

Map it (google maps) two times in a dashboard


  • Please log in to reply
2 replies to this topic

#1 newbird

newbird

    Member

  • Members
  • PipPip
  • 25 posts

Posted 30 January 2012 - 06:46 AM

hey guys, hope you can help me with this one: i wanted to add fancy google maps to my dashboart on the iserver. but when i put more than one map on my dashboard only one map will load, the rest won't do anything. even if i put them on seperate tabs. how do i manage to put another map to my dashboard?
  • orandourpoxed likes this

#2 PuckPuck

PuckPuck

    Junior Member

  • Members
  • PipPipPip
  • 30 posts

Posted 14 March 2012 - 08:17 PM

This is a known limitation of the framework for the way it emits specific DIV tags with HTML hard coded IDs in it. Since a dashboard (even with multiple tabs) is really all the same HTML page, the second time that same DIV tag is emitted, with an ID that already exists in the browser, you will not get the results you are looking for. A solution is to slightly modify the actual script code, and HTML Div IDs used by the framework so that each report has a unique name for the Google Maps container DIV.
  • orandourpoxed likes this
BIRT Rocks!

#3 newbird

newbird

    Member

  • Members
  • PipPip
  • 25 posts

Posted 14 March 2012 - 11:11 PM

oh wow, thank you. i never thought it would be so easy to fix this issue.
  • orandourpoxed likes this