Merge pull request #1897 from tschaub/absolute

Don't use protocol relative URLs.
This commit is contained in:
Tim Schaub
2014-03-27 09:56:27 -06:00
5 changed files with 18 additions and 4 deletions
+8
View File
@@ -54,6 +54,14 @@ ol.ENABLE_WEBGL = true;
ol.LEGACY_IE_SUPPORT = false;
/**
* The page is loaded using HTTPS.
* @const
* @type {boolean}
*/
ol.IS_HTTPS = goog.global.location.protocol === 'https:';
/**
* Whether the current browser is legacy IE
* @const