国境
新しい輪郭線地図スタイル"CountryBorders"を使う.
In[1]:=
![Click for copyable input](assets.ja/country-borders/In_37.png)
GeoGraphics["World", GeoBackground -> "CountryBorders"]
Out[1]=
![](assets.ja/country-borders/O_23.png)
国境は,現在以外のものも表示できる.次はルイジアナ購入直前の1803年の北アメリカの部分である.
In[2]:=
![Click for copyable input](assets.ja/country-borders/In_38.png)
GeoGraphics[
GeoRange -> {Entity["Country", "UnitedStates"],
Entity["Country", "Mexico"]}, GeoGridLines -> Automatic,
GeoBackground -> Dated["CountryBorders", 1803]]
Out[2]=
![](assets.ja/country-borders/O_24.png)
地図スタイル"CountryBorders"は他のGeoGraphics要素と一緒に使うこともでき,その基本指示子を変更することができる.
In[3]:=
![Click for copyable input](assets.ja/country-borders/In_39.png)
GeoGraphics[{Red, GeoPath["Equator"]}, GeoCenter -> {90, 0},
GeoGridLines -> Automatic, GeoGridLinesStyle -> LightYellow,
GeoBackground -> {"CountryBorders", "Land" -> Gray, "Ocean" -> Black,
"Border" -> White}, GeoProjection -> "LambertAzimuthal"]
Out[3]=
![](assets.ja/country-borders/O_25.png)