BIRT Exchange Forum: Map it (google maps) two times in a dashboard - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Map it (google maps) two times in a dashboard Rate Topic: -----

#1 User is offline   newbird Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 20
  • Joined: 03-January 12


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?
0

#2 User is offline   PuckPuck Icon

  • Junior Member
  • PipPip
  • Group: Members
  • Posts: 26
  • Joined: 07-August 07


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.
BIRT Rocks!
0

#3 User is offline   newbird Icon

  • Member
  • PipPip
  • Group: Members
  • Posts: 20
  • Joined: 03-January 12


Posted 14 March 2012 - 11:11 PM

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

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users