leafletCN icon indicating copy to clipboard operation
leafletCN copied to clipboard

regionNames("吉林“)always goes wrong

Open helloicyvodka opened this issue 5 years ago • 4 comments

regionNames("吉林“)always goes wrong

helloicyvodka avatar May 23 '19 17:05 helloicyvodka

so as regionNames("吉林省“)

helloicyvodka avatar May 23 '19 17:05 helloicyvodka

so as regionNames("海南省“)

helloicyvodka avatar Aug 17 '19 11:08 helloicyvodka

GitHub版本的 .triList[5:7] 错误地使用了GBK编码,因此无法识别。CRAN版本的.triList中不含吉林及海南,因此[mapNames$label == query]会有两个结果,导致报错。

ashimog avatar May 08 '20 11:05 ashimog

如何解决呢

green-ear-rabbit avatar May 22 '20 02:05 green-ear-rabbit