Focal Point
[Solved]Google Map # Marker tooltip based on User selection.

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4937057516

January 23, 2012, 05:54 AM
Ramkumar - Webfous
[Solved]Google Map # Marker tooltip based on User selection.
Hi,

In one our current reports in which we use Google maps, the requirement is like we need to show the marker tool tip based on the user’s selection criteria. Is that possible?

We have a HTML screen with few dropdowns, where user can select his parameters and click on submit. It will again open a browser with Map on the top and report on the below. In the map we used to show markers with the number of calls as tool tip for the latitude and longitude information. Eg.: Whenever the user selects the Call Status as “planned” from the HTML screen then the marker tooltip in thr Map should show the Count of Planned calls alone but not the count of calls with the status completed or held .

Is it possible to have Where Clause or filter criteria passed from a HTML page to the FEX (say GMLAYER.FEX as per the IB tutorial) that is associated for map layers and generates the marker and tooltip?

This message has been edited. Last edited by: Ramkumar - Webfous,


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
January 24, 2012, 01:18 AM
Ramkumar - Webfous
Hi, Any reply to this is much appreciated.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
January 24, 2012, 01:41 AM
Ramkumar - Webfous
Let me rephrase for better understanding...

In our requirement Map is going to be part of the Report output not on the HTML parameter screen. In the document what IB provided a FEX file named GMLAYER.FEX will generate the XML for the layers - markers - tooltip of the markers. We need this to happen dynamically.

Say e.g.: Users have an option to select a parameter called Status and can run the report. Whenever user selects status as "Planned" the report output should be a Map with Markers across the available Latitude, Longitude. Whenever users do a handover on the marker for the tool tip, the TOOLTIP should show the "count of the calls having status as planned". If the user selects the status as "Completed" the map should show markers and tool tip "count of the calls having status as completed".

We need to pass &variable parameters to the FEX that generates the Layer, marker and Tooltip, pass on them to the FILTER CRITERIA (Where Clause) of the TABLE FILE REQUEST which generates the XML file.

Hopefully I am clear this time.


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5
January 30, 2012, 03:58 PM
Kerry
Hi Ramkumar,

This one looks quite involved and therefore would need munch more detailed help. You can open a case with Customer Support Services for assistance, or ask for professional services. Let me know if you need more contact info.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
January 31, 2012, 08:55 AM
<MLerner>
Ramkumar,
In WebFOCUS 8, we made this easier by allowing a map to be a component in a chain. In WebFOCUS 77x, you can accomplish this, but it requires putting the parameters values into files via -WRITE and then using -READ in the layer fex to capture them.

We have a lab that we have given at Summit that shows how to do this.

If Kerry can indicate how to post a zip file or if you send me your email address we can get you the most recent copy.

The following link has some older examples and documents, but we have since found some errors that the latest versions correct.
2008 Examples
February 02, 2012, 05:33 AM
Ramkumar - Webfous
Thanks Kerry and Matthew. I somehow found an approach of recreating the XML file everytime, and associating the XML to the Maps on the Fly.

This works now Smiler


Thanks,

Ramkumar.
WebFOCUS/Tableau
Webfocus 8 / 7.7.02
Unix, Windows
HTML/PDF/EXCEL/AHTML/XML/HTML5