/* Copyright© 2000 - 2023 SuperMap Software Co.Ltd. All rights reserved. * This program are made available under the terms of the Apache License, Version 2.0 * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ (function() { var r = new RegExp('(^|(.*?\\/))(include-ol.js)(\\?|$)'), s = document.getElementsByTagName('script'), targetScript; for (var i = 0; i < s.length; i++) { var src = s[i].getAttribute('src'); if (src) { var m = src.match(r); if (m) { targetScript = s[i]; break; } } } function inputScript(url) { var script = '