Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Googleチャートでコード(フランスの場合はFRなど)で地図上の国を選択する簡単なリクエストがあります:
http://chart.apis.google.com/chart?&cht=t&chs=440x220&chtm=europe&chco=f5f5f5,edf0d4,6c9642,13390a&chld=FR&chd=s:FR
これを拡張して複数の国を選択できることはわかっていますが、適切なリクエストを作成することはできません。誰かがそれを行う方法の例を挙げてもらえますか (FR と IT を強調するなど)?
私は多かれ少なかれ構文を得たと思います:
http://chart.apis.google.com/chart?&cht=t&chs=440x220&chtm=europe&chco=f5f5f5,edf0d4,6c9642,13390a&chld=FR|IT|CZ|DE&chd=s:afhx
したがって、「|」を使用する必要があります 国を分離し、英数字エンコーディングを使用して十分な色を提供する (国ごとに 1 文字)