ryanbaumann / mapboxgl-powerBI

Mapbox GL location and map custom visual for Microsoft PowerBI
MIT License
23 stars 8 forks source link

Hey, what's the latest version of this Mapbox Visual for Power BI?

This repository is archived.

Check out the lastest code and disribution version (on the Microsoft Office Store!) https://github.com/mapbox/mapboxgl-powerbi

Mapbox GL Extension for PowerBI

Work in progress - Aiming to add to the Office Store in January 2018

High performance, endlessly customizable, open-source tool based Mapbox GL location visuals for your PowerBI reports and dashboards.

Example Dashboard

Status

In active development!

Adding MapboxGL Viz to a PowerBI Report

On PowerBI Online, add the dist/mapboxGLMap.pbiviz file in this repository as a custom visual in your report.

Developing

Building

npm run package

The package command uses the flags --no-minify and --resources to prevent ES6 errors from magnification in uglifyjs.

Issues

  1. Nested Window object - see https://github.com/ryanbaumann/mapboxgl-powerBI/blob/master/src/js/mapboxglAdaptor.js
    • Workaround - altered the Mapbox GL js library to use the function window.window.devicePixelRatio in place of window.devicePixelRatio.
    • The custom version of the Mapbox GL js library is packaged with this repository and will need to be manually checked and validated for new mapboxgl JS version upgrades.