最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

json - Vega-Lite: geoJson not displaying correctly (seems simple...) - Stack Overflow

programmeradmin1浏览0评论

I've just starting using vega and when I use this code:

{
  "$schema": ".json",
  "height": 300,
  "widht": 400,
  "title": "The London boroughs",
  "layer": [
    {
      "data": {
        "url": ".github.io/refs/heads/main/ldn_boroughs.geojson"
      },
      "mark": {
        "type": "geoshape",
        "fill":"lightgray",
        "stroke": "black",
        "strokeWidth": 0.4
      }
    },
  ]
}

I see a square: vega lite

I was hoping to see the map, but I didn't. I am really confused as to why it's happening since it works with other geoJson files. Any thoughts? Thanks so much

发布评论

评论列表(0)

  1. 暂无评论