Skip to content

Commit

Permalink
update extension param identifier for python-mapboxgl (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbaumann committed May 4, 2018
1 parent f7be72f commit 368d1e2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mapboxgl/templates/base.html
Expand Up @@ -15,10 +15,11 @@
if ( url.slice(0,22) == 'https://api.mapbox.com' ||
url.slice(0,26) == 'https://a.tiles.mapbox.com' ||
url.slice(0,26) == 'https://b.tiles.mapbox.com' ||
url.slice(0,26) == 'https://c.tiles.mapbox.com') {
//Add PowerBI Plugin identifier for Mapbox API traffic
url.slice(0,26) == 'https://c.tiles.mapbox.com' ||
url.slice(0,26) == 'https://d.tiles.mapbox.com') {
//Add Mapboxgl-Jupyter Plugin identifier for Mapbox API traffic
return {
url: [url.slice(0, url.indexOf("?")+1), "pluginName=PowerBI&", url.slice(url.indexOf("?")+1)].join('')
url: [url.slice(0, url.indexOf("?")+1), "pluginName=PythonMapboxgl&", url.slice(url.indexOf("?")+1)].join('')
}
}
else {
Expand Down

0 comments on commit 368d1e2

Please sign in to comment.