[map] Update old stop hashes to new format
| | |
| | | <script src="https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.6.1/build/ol.js" integrity="sha384-2t8P2Mt0pPrLNwMqTljtykP6hpy7mzd34amfOqUYKK74XwsZgukowi3L4lW4bd3K" crossorigin="anonymous"></script> |
| | | <script tyle="text/javascript" src="lang_pl.js?v10" id="lang_script"></script> |
| | | <script tyle="text/javascript" src="common.js?v11"></script> |
| | | <script tyle="text/javascript" src="map.js?v25"></script> |
| | | <script tyle="text/javascript" src="map.js?v27"></script> |
| | | </body> |
| | | </html> |
| | |
| | | return false; |
| | | }, |
| | | _updateOld: function() { |
| | | if(window.location.hash.match(/^#![bt][0-9]{3}$/)) { |
| | | if(window.location.hash.match(/^#!sb[0-9]{1,3}$/)) { |
| | | this.go('sb' + window.location.hash.substr(4).padStart(4, '0')); |
| | | } else if(window.location.hash.match(/^#![bt][0-9]{3}$/)) { |
| | | this.go('v' + window.location.hash.substr(2)); |
| | | } else if(window.location.hash.match(/^#![RHrh][A-Za-z][0-9]{3}$/)) { |
| | | this.go('vt'+ window.location.hash.substr(4)); |