diff --git a/CHANGELOG.md b/CHANGELOG.md index dd3902f..201de7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 - improve load and save : use OC dialogs instead of jqueryfiletree +### Fixed +- send referrer, IGN tiles work now + ## 0.0.2 – 2016-12-08 ### Added - ability to load kml and csv (unicsv format) files diff --git a/js/gpxedit.js b/js/gpxedit.js index e7191eb..79bbe31 100644 --- a/js/gpxedit.js +++ b/js/gpxedit.js @@ -176,6 +176,10 @@ function endsWith(str, suffix) { } function load_map() { + // change meta to send referrer + // usefull for IGN tiles authentication ! + $('meta[name=referrer]').attr('content', 'origin'); + var layer = getUrlParameter('layer'); console.log('layer '+layer); var default_layer = 'OpenStreetMap';