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.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Google Map
 Login/Join
 
Gold member
posted
Hello,

I have created a google map with markers whose colors display according to specified ranges of numbers. I am using calendar icons for Start date and End date. I have pre-populated these calendars with the latest date in the table as the End date and the Start date goes back 12 months. Upon the initial load the markers do not show up, they show only when I hit Refresh, a button I created on my page (not the browsers refresh button).

Code used to pre-populate the calendars:

document.getElementById("END_DT").value = '!IBI.AMP.MAX_DT;' ;
if(!IBI.AMP.MAX_MONTH; == '12'){
var max_year_p = !IBI.AMP.MAX_YEAR;
} else {
var max_year_p = !IBI.AMP.MAX_YEAR; - 1;
}
var start_date = "!IBI.AMP.R12_ST_MON;" + "/01/" + max_year_p;
document.getElementById("START_DT").value = start_date;


Is there a way to have the markers display upon initial load and still have the calendar dates pre-populate?

****************************************************************************************************************************************
****************************************************************************************************************************************

Also, the calendar icons show up where they are supposed to on my machine. When I run the map on any other machine they appear at the bottom of the page, away from everything else. Any suggestions/thoughts on this?

Thanks!

Denise

This message has been edited. Last edited by: DMA,


WebFOCUS v. 7.6.8 || Windows XP || Format Output: HTML, PDF, EXCEL
 
Posts: 57 | Location: NYC | Registered: November 13, 2008Report This Post
Gold member
posted Hide Post
DMA,
you can call this function on the onload event of the form,
which will pre-populate the dates on load..

Anmol.


WebFocus7.6.2, WebFocus 7.1.1,Windows
HTML, PDF and Excel
 
Posts: 71 | Registered: June 30, 2009Report This Post
Gold member
posted Hide Post
I do call the function and the dates do pre-populate. It's the markers that do not pre-populate. When I take the code out that pre-populates the dates, then the markers appear upon load, however, I need the dates to pre-populate. Otherwise, the marker colors are incorrect and they remain the same when the date is changed. I need the markers to change color according to the ranges of dates chosen.


WebFOCUS v. 7.6.8 || Windows XP || Format Output: HTML, PDF, EXCEL
 
Posts: 57 | Location: NYC | Registered: November 13, 2008Report This Post
Expert
posted Hide Post
Hi DMA,

Have you opened a case for this issue? If not, the recommendation would be to open a case and get assistance. The phone number is 1-800-736-6130, or you may access online via InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Gold member
posted Hide Post
Thanks Kerry, I will definitely consider that.


WebFOCUS v. 7.6.8 || Windows XP || Format Output: HTML, PDF, EXCEL
 
Posts: 57 | Location: NYC | Registered: November 13, 2008Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders