This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!r6rs | |
(library (geo3x3) | |
(export encode decode) | |
(import (rnrs)) | |
(define (encode lat lng level) | |
(assert (real? lat)) | |
(assert (real? lng)) | |
(assert (integer? level)) | |
(assert (> level 0)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- csv-map.js.ORIG 2021-08-14 17:39:28.172959000 +0900 | |
+++ csv-map.js 2021-08-14 17:40:28.675902000 +0900 | |
@@ -156,8 +156,6 @@ | |
} | |
} | |
- const marker = L.marker(ll, opt); | |
- | |
const d2 = (() => { | |
if (!filter) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** カタカナをひらがなに変換する関数 | |
* @param {String} src - カタカナ | |
* @returns {String} - ひらがな | |
*/ | |
function katakanaToHiragana(src) { | |
return src.replace(/[\u30a1-\u30f6]/g, function(match) { | |
var chr = match.charCodeAt(0) - 0x60; | |
return String.fromCharCode(chr); | |
}); |