Focal Point
[CASE OPENED]How to insert a NonPrinted field on a tool tip, On a LAT LONG Graph map?

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

May 30, 2018, 09:31 AM
Herman Arais
[CASE OPENED]How to insert a NonPrinted field on a tool tip, On a LAT LONG Graph map?
Hi
I tried a lot of tips on the forum.
But fail to accomplish what my client need.
Does anybody know how to insert a Non Printed field on a tool tip?
On a LAT LONG Graph map?


DEFINE FILE CAR
-*please ignore this,
-*it´s only to create a fake lat log coordinates using CAR TABLE
LAT/D12.7= EDIT(EDIT(DEALER_COST,'9999')||'.'||EDIT(DEALER_COST,'$$$$99999'));
LONG/D12.7= EDIT(EDIT(RETAIL_COST,'9999')||'.'||EDIT(RETAIL_COST,'$$$$99999'));
-*Fake Establishment
ESTABLISHMENT/A50=COUNTRY ;
END


-*My real application looks like this...
TABLE FILE CAR
BY SEATS
BY LAT
BY LONG
BY ESTABLISHMENT
ON TABLE HOLD AS TMP_002
END


-*Map Graph
GRAPH FILE TMP_002
SUM
SEATS AS 'SEATS'
BY LAT
BY LONG
ON GRAPH PCHOLD FORMAT JSCHART
ON GRAPH SET LOOKGRAPH BUBBLEMAP
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPlace(true); setToolTipStyle("html5");
*GRAPH_JS

"bubbleMarker":{"maxSize":"3%"},

"mapProperties": {

"leaflet": {
-* "initPos": {
-* "center": [-11.8, -50],
-* "level": 5
-* },
"overlayLayers": [{
"layerInfo": {
"type": "regions"
},
"title": "United States of America",
"type": "latlng",
"url": function(){return tdgchart.getScriptPath() + 'map/US.json'}
}],

"baselayers": [{
"title": "Mapa",
"layerInfo": {
"maxZoom": 16,
"attribution": function() { return "&|copy; Information Builders | " + "Map Tiles: &|copy; Esri"; }
},
"url": function() { return 'http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}'; }
}]
}
},


-*Here...
-*How to insert a Non Printed field on a tool tip? On a LAT LONG Graph map?
-*I would like to print the name of a Establishment, not it´s lat log position
series: [
{'series': 0, 'color': 'rgb(255,255,0,0.3)' ,
tooltip: function(d,s,g, data)
{ return 'Seats: ' + d + '
Latitude: ' + data.lat
+ '
longitude: ' + data.lng
+ '
How ???? Insert a No printed Field: ESTABLISHMENT' + data.ESTABLISHMENT; } },
],



*END
ENDSTYLE
END

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.105M
Windows, All Outputs
May 30, 2018, 09:37 AM
BabakNYC
What version of WebFOCUS are you using? In 82xx, the LAT/LONG combine to create a Geopoint but I can't remember how this is done in Leaflet maps.


WebFOCUS 8206, Unix, Windows
May 30, 2018, 09:49 AM
Herman Arais
Sorry...

WebFOCUS 8.105M


WebFOCUS 8.105M
Windows, All Outputs
June 07, 2018, 12:13 PM
FP Mod Chuck
Herman

If this is still an issue I recommend you open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
June 07, 2018, 02:20 PM
Herman Arais
quote:
Thank you for using Focal Poin


Thanks I will
Looks like a limit.
Some thing that the class just don´t do...


WebFOCUS 8.105M
Windows, All Outputs