Skip to content

Commit

Permalink
Build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
errnesto committed Jul 26, 2018
1 parent 8e13d20 commit 0f9fccd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/react-leaflet-bing.js
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ return /******/ (function(modules) { // webpackBootstrap
_this.initMetadata(meta);
};
var urlScheme = document.location.protocol === 'file:' ? 'http' : document.location.protocol.slice(0, -1);
var url = urlScheme + '://dev.virtualearth.net/REST/v1/Imagery/Metadata/' + this.options.type + '?include=ImageryProviders&jsonp=' + cbid + '&key=' + this._bing_key + '&UriScheme=' + urlScheme;
var url = urlScheme + '://dev.virtualearth.net/REST/v1/Imagery/Metadata/' + this.options.type + '?include=ImageryProviders&jsonp=' + cbid + '&key=' + this._bing_key + '&UriScheme=' + urlScheme + '&culture=' + this.options.culture;
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = url;
Expand Down
2 changes: 1 addition & 1 deletion dist/react-leaflet-bing.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/leaflet.bing.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ L.BingLayer = L.TileLayer.extend({
_this.initMetadata(meta);
};
var urlScheme = document.location.protocol === 'file:' ? 'http' : document.location.protocol.slice(0, -1);
var url = urlScheme + '://dev.virtualearth.net/REST/v1/Imagery/Metadata/' + this.options.type + '?include=ImageryProviders&jsonp=' + cbid + '&key=' + this._bing_key + '&UriScheme=' + urlScheme;
var url = urlScheme + '://dev.virtualearth.net/REST/v1/Imagery/Metadata/' + this.options.type + '?include=ImageryProviders&jsonp=' + cbid + '&key=' + this._bing_key + '&UriScheme=' + urlScheme + '&culture=' + this.options.culture;
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = url;
Expand Down

0 comments on commit 0f9fccd

Please sign in to comment.