COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Dashboards => Topic started by: patton on 21 Aug 2017 07:18:29 AM

Title: Mapbox & Cognos
Post by: patton on 21 Aug 2017 07:18:29 AM
Hi everyone,

Has anyone tried to make custom Mapbox maps into Cognos Dashboards or Reports? Is it possible?
Title: Re: Mapbox & Cognos
Post by: bdbits on 28 Aug 2017 11:57:03 AM
After a quick look at their APIs, it looks like you can use javascript with Mapbox. I have used this to marry Cognos report data with Google maps,so I am quite sure you could do the same with Mapbox.

You're going to need to know javascript pretty well, though, for anything like this.
Title: Re: Mapbox & Cognos
Post by: dougp on 28 Aug 2017 02:07:58 PM
I have used JavaScript, RequireJs, OpenLayers, OpenStreetMap, ArcGISOnline, and an internam ArcGIS Feature Service to create some mapping capability in Cognos.  It seems pretty involved, but that just may be because I'm learning OpenLayers and RequireJS at the same time.

Ed Gonzoles (http://icdata.io) has created a nice demonstration of the outcome of using RequireJs and the MapBox API in a Cognos report:  https://youtu.be/3SoTRgjnX9w

I'm not promoting Ed.  I'm sure he's not the only one capable of pulling this off.  But he did create the video and seems to be a pretty nice guy based on an email exchange I had with him.  Also, the level of effort this seems to involve makes outsourcing the task pretty attractive, especially if you want some high-end features like he shows near the end of the video.
Title: Re: Mapbox & Cognos
Post by: patton on 06 Sep 2017 08:15:18 AM
I've integrated Eds basic solution. Are there tutorials on how to implement more advanced features?