如何将Geojson嵌入Github的Markdown中?
他们的玩具示例 docs.github.com 被打破了:
{
"type": "Polygon",
"coordinates": [
[
[-90,30],
[-90,35],
[-90,35],
[-85,35],
[-85,30]
]
]
}
它不会按照承诺呈现,甚至不会通过 linter 。
我已经创建了一个小的 peprex 表明修复衬里问题并不能使它起作用。 Github然后抱怨“我们不能用一个空的未知集合渲染地图。”修复似乎也无济于事。但是也许我犯了一个错误。
我在做什么错?
Their toy example at docs.github.com is broken:
{
"type": "Polygon",
"coordinates": [
[
[-90,30],
[-90,35],
[-90,35],
[-85,35],
[-85,30]
]
]
}
It doesn't render as promised, and it doesn't even pass a linter.
I've created a smallish reprex to show that fixing the linter issues doesn't make it work. GitHub then complains "We can't render a map with an empty unknown collection." Fixing that doesn't seem to help either. But maybe I'm making a mistake.
What am I doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决:
Solved: