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     [SOLVED] Several Problems with Layers - Google Maps Implementation

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Several Problems with Layers - Google Maps Implementation
 Login/Join
 
Gold member
posted
I am trying to add 3 different layer procedures in the properties of the map control section. Sometimes when I add the procedures,the marker groups will not appear below and sometimes they will appear.. It seems kind of glitchy .. has anyone experienced this? When this happens, I will receive the "incorrect parameter" error message when I try to save my updates.

Fortunately after several tries, I was able to get all 3 layer procedures saved and I had all 3 layers set to visible. However, when I run the map and click on the layers button, I am not able to hide and reshow certain layers... The control simply does not work for some reason. Initially the layers control has all 3 layer checkboxes "unchecked", even though - as I mentioned before, I had set all 3 layers to visible in the settings.

Lastly, layer 1 and layer 2 are stuck with the same marker image. If I try to change the marker image on layer 2 to a different png file, the marker group disappears and I am unable to save..

Can anyone shed some light on these problems?

I did download the 2008 census demo from http://ibigis.ibi.com/, got it running in my dev environment, and I understand how this demo works. I understand that they use the DECODE command to create different marker groups. Unfortunately, I cannot retrieve all 3 marker groups in one procedure. In my case, each of my 3 procedure retrieves a single marker group..

Thank you,

This message has been edited. Last edited by: Joey Sandoval,




Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro


 
Posts: 94 | Location: Austin, TX | Registered: August 08, 2012Report This Post
Gold member
posted Hide Post
I wanted to share some things I discovered concerning this topic.

In order for the layers control button to work properly , you must have AT LEAST 2 marker groups per layer. If you have only 1 marker group on a layer, the layers control button will not allow you to show/hide plot points.

Also, when you are setting up layers in the map properties area, make sure that your layer procedures do not have any code which checks to see the user that is currently logged into MRE.


For instance, we use the following code to define the WF user which is currently logged in.

  -SET &UC_USER_ID=IF (&IBIMR_user NE ' ') THEN &IBIMR_user ELSE 'NOUSERID';

-SET &UC_USER_ID=UPCASE(&UC_USER_ID.LENGTH, &UC_USER_ID, &UC_USER_ID);
-RUN"


Then we use this username to filter on, in order to pull the plot points associated with that user in our company DB.

WHERE UC_USERNAME EQ '&UC_USER_ID'; 


You should comment this code out, and hardcode a username while you are testing/developing the layers. Once your layers/ marker groups are setup properly, and your testing is complete, you should uncomment the code to check which user is logged in, if your application is user-dependent.

Lastly, it's a lot easier if you hard-code your marker images & tooltips in the layer procedure. Simply use a define like so:

  
IMAGE/A20='greenpin.png';
TOOLTIP/A100=VC_NAME;

This message has been edited. Last edited by: Joey Sandoval,




Prod/Dev: WebFOCUS 8.0.08 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.08 on Windows 7 Pro


 
Posts: 94 | Location: Austin, TX | Registered: August 08, 2012Report 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     [SOLVED] Several Problems with Layers - Google Maps Implementation

Copyright © 1996-2020 Information Builders