The common.js script makes a "common" object available

This commit is contained in:
Tim Schaub
2015-04-17 09:49:53 -06:00
parent eff14b06e0
commit c5cf709c55
50 changed files with 55 additions and 55 deletions

View File

@@ -109,7 +109,7 @@ if ('download' in exportGPXElement) {
features.push(clone);
});
var string = new ol.format.GPX().writeFeatures(features);
var base64 = exampleNS.strToBase64(string);
var base64 = common.strToBase64(string);
exportGPXElement.href =
'data:text/gpx+xml;base64,' + base64;
}