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

@@ -77,7 +77,7 @@ if ('download' in exportKMLElement) {
features.push(clone);
});
var string = new ol.format.KML().writeFeatures(features);
var base64 = exampleNS.strToBase64(string);
var base64 = common.strToBase64(string);
exportKMLElement.href =
'data:application/vnd.google-earth.kml+xml;base64,' + base64;
}