defeated the referrer inhibition
parent
c90ab1d9d6
commit
ce41384c3b
|
@ -14,6 +14,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
- keep time information in loaded tracks/routes/waypoints, written in saved files
|
- keep time information in loaded tracks/routes/waypoints, written in saved files
|
||||||
- improve load and save : use OC dialogs instead of jqueryfiletree
|
- improve load and save : use OC dialogs instead of jqueryfiletree
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- send referrer, IGN tiles work now
|
||||||
|
|
||||||
## 0.0.2 – 2016-12-08
|
## 0.0.2 – 2016-12-08
|
||||||
### Added
|
### Added
|
||||||
- ability to load kml and csv (unicsv format) files
|
- ability to load kml and csv (unicsv format) files
|
||||||
|
|
|
@ -176,6 +176,10 @@ function endsWith(str, suffix) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_map() {
|
function load_map() {
|
||||||
|
// change meta to send referrer
|
||||||
|
// usefull for IGN tiles authentication !
|
||||||
|
$('meta[name=referrer]').attr('content', 'origin');
|
||||||
|
|
||||||
var layer = getUrlParameter('layer');
|
var layer = getUrlParameter('layer');
|
||||||
console.log('layer '+layer);
|
console.log('layer '+layer);
|
||||||
var default_layer = 'OpenStreetMap';
|
var default_layer = 'OpenStreetMap';
|
||||||
|
|
Loading…
Reference in New Issue