Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

layer_settings に何も入っていない場合でも凡例を出すようにする #33

Open
halsk opened this issue Oct 12, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@halsk
Copy link
Member

halsk commented Oct 12, 2019

config ファイルの layer_settings に何も設定しないと、凡例も表示されない。
何も設定してなくても、元のKMLのフォルダ名を出したいところ。
関連:#32

実際の例
image

再現できるconfig

{
  "map_id":"2019-typhoon-19",
  "map_title":"印刷できる台風災害支援情報マップ(全域)",
  "map_description":"SNSで流れる給水所等の情報をネットを見れない地域の人にも伝えられるよう、印刷に最適化したマップです。マップを必要な地域のところに調整すると、A4サイズにちょうどよく印刷され、かつ必要な場所の情報がリストとして表示されます。ぜひ印刷して必要な人に届けてあげてください!",
  "sources": [
    {
      "url" : "https://www.google.com/maps/d/kml?mid=1pl0sY4TmNur6xB4bKvxxvi5rsizCY1bu&forcekml=1",
      "type" : "kml",
      "title" : "2019台風19号",
      "show" : true
    }
  ],
  "default_hash": "35.034970230243786,139.83536606997205-34.998870264553034,139.90144296563784",
  "center" : [139.83536606997205, 35.034970230243786],
  "type":"KML",
  "layer_settings":[
  ]
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants