I myself have played around with each and not that good at it, I can look at a piece of code in a file and adapt it to suit my needs. It is a bit like knowing how to drive a car, fill it will petrol, top up water and oil but no idea on how to take apart the engine and put it back together again.
What I have done is create my own custom element visualisations which is using Leaflet maps, it works really well, I have done both heatmap and markers, and can place upto 2500 markers on the map and for heatmap total is not yet known, have not managed to break it yet. Needs a bit more work on cosmetics and making it more user freindly. Exciting for me as I am now able to enhance our customers experience within BI Launchpad.
Problem I have is the single JS file is executed and processed with nodejs, I enter pm2 start “myfile.js” and it runs on my local machine, The js file was the sample provided for Google visualisations such as Google guage in which I removed all the parts I did not need and re-coded most of it. http://locahost:8090 is entered as the custom element URL in Web Intelligence application and I am good to go.
What I would like to do is somehow extract all required bits and bobs out of nodejs and create either a WAR file or create a folder structure so I can place it within our existing BI Tomcat server under webapps folder or place on another server our team can access in a tomcat\webapps folder. I cannot install nodejs on these servers and our IT team will not allow me another server or virtual machine where I can install nodejs and npm etc.
Is it going to be possible to somehow translate/convert what is happening with my single js file processed/run within nodejs over to tomcat\webapps[i]mycustomelements[/i]\ folder and have it working just as it is within nodejs.
Hopefully if possible the method to do this is simple, remember I can drive the car but have no idea how to take the engine apart and re-build.
Macroman (BOB member since 2002-11-13)