Remove protocol from iframe src url
Note that baseUrl is only used for iframe src url, nothing else
This commit is contained in:
parent
cca6041061
commit
6625f16702
1 changed files with 1 additions and 1 deletions
|
@ -1033,7 +1033,7 @@ L.U.IframeExporter = L.Evented.extend({
|
||||||
|
|
||||||
initialize: function (map) {
|
initialize: function (map) {
|
||||||
this.map = map;
|
this.map = map;
|
||||||
this.baseUrl = window.location.protocol + '//' + window.location.host + window.location.pathname;
|
this.baseUrl = '//' + window.location.host + window.location.pathname;
|
||||||
// Use map default, not generic default
|
// Use map default, not generic default
|
||||||
this.queryString.onLoadPanel = this.map.options.onLoadPanel;
|
this.queryString.onLoadPanel = this.map.options.onLoadPanel;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue