Merge and Modify Maps
Merge maps and modify their options by using Show.
Take two maps, each containing a colored polygon.
In[1]:=
![Click for copyable input](assets.en/merge-and-modify-maps/In_15.png)
spain = GeoGraphics[{GeoStyling[Red, Opacity[0.5]],
Polygon[Entity["Country", "Spain"]]}]
Out[1]=
![](assets.en/merge-and-modify-maps/O_8.png)
In[2]:=
![Click for copyable input](assets.en/merge-and-modify-maps/In_16.png)
italy = GeoGraphics[{GeoStyling[Green, Opacity[0.5]],
Polygon[Entity["Country", "Italy"]]}]
Out[2]=
![](assets.en/merge-and-modify-maps/O_9.png)
Merge the maps and modify the result, in this case adding geo grid lines.
In[3]:=
![Click for copyable input](assets.en/merge-and-modify-maps/In_17.png)
Show[spain, italy, GeoGridLines -> Automatic]
Out[3]=
![](assets.en/merge-and-modify-maps/O_10.png)
Modify the map further, now changing the style of the geo background.
In[4]:=
![Click for copyable input](assets.en/merge-and-modify-maps/In_18.png)
Show[spain, italy, GeoGridLines -> Automatic];
Show[%, GeoBackground -> "Satellite"]
Out[4]=
![](assets.en/merge-and-modify-maps/O_11.png)