Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] 2 google maps in 1 window

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CASE-OPENED] 2 google maps in 1 window
 Login/Join
 
Master
posted
If I have 2 google maps in one window the drill down is not working. It throws "COORDINATES" not found error.

If I run it individually (as different report), it works good.

What am I missing here?

I have WebFocus 8.0.0.6 and Google map 3.

This message has been edited. Last edited by: <Kathryn Henning>,


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
Expert
posted Hide Post
I don't have Google Maps and I am not on WF 8, but whenever WF generates JavaScript to support a fancy graph or report, you cannot have more than one, because the generated code clobbers each other. Perhaps this is the issue with multiple Google Maps on the same page.

Some time ago I posted a potential solution to having to expandable reports in one html window. This used iframes. Perhaps this is relevant in multiple Google maps on one page. Either your main page is made up of iframes, with each iframe pointing to an individual gogle map, or your fex uses uses iframes to show each map in an iframe. Something like the example I posted for expandables:

-*-- Trying to fix a problem posted in FocalPoint ------------------------------
-*-- Two expandable reports do not work

-SET &ECHO = ON;

SET MESSAGE = ON
-RUN

-SET &URL =
-  IF &SERVER_PORT EQ ''
-  THEN &URL_PROTOCOL || '://' || &SERVER_NAME || '/approot/testfm/'
-  ELSE &URL_PROTOCOL || '://' || &SERVER_NAME || ':' || &SERVER_PORT || '/approot/testfm/';

APP HOLDDATA testfm
-RUN

-? &

TABLE FILE CAR
SUM RCOST
    DCOST
 BY COUNTRY
 BY CAR
 BY MODEL
ON TABLE HOLD AS H001 FORMAT HTML
ON TABLE SET EXPANDABLE ON
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
  GRID=OFF, SIZE=9, $
ENDSTYLE
END
-RUN

TABLE FILE CAR
SUM RCOST
    DCOST
 BY COUNTRY
 BY CAR
 BY MODEL
ON TABLE HOLD AS H002 FORMAT HTML
ON TABLE SET EXPANDABLE ON
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE NOLEAD
ON TABLE SET STYLE *
  GRID=OFF, SIZE=9, $
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>WebFOCUS Expandable Report</title>
</head>

<body>

<iframe name="ifH001" width="800" height="350" frameborder="0" scrolling="auto"
        SRC="!IBI.AMP.URL;h001.htm">
<iframe name="ifH002" width="800" height="350" frameborder="0" scrolling="auto"
        SRC="!IBI.AMP.URL;h002.htm">

</body>
</html>
-HTMLFORM END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Thanks Francis.

I will try that.


WFConsultant

WF 8105M on Win7/Tomcat
 
Posts: 780 | Location: Florida | Registered: January 09, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CASE-OPENED] 2 google maps in 1 window

Copyright © 1996-2020 Information Builders