Hi,
I am trying to put the US flag (using Texture function) on top of US map (using CountryData function). Nevertheless, the map I obtain is completely dark. Here it is what I am trying:
Set the variable fig equal to the American flag found in here:
In my understanding, the problem might be coming from the fact that CountryDate is returning a Polygon. So I tried to follow the help example and it worked fine:
Hi Gianluca,
thanks for putting me on the right track. I modified your code a little bit to end up with the map with the right rotation and put the flag on the right direction. Here it is how I adapted your solution:
There might be a better way to do it without using ImageReflect but this was the only way I manage to do it.
If you have any good reference for learning Polygon and Texture manipulation, it will be deeply appreciated.
Many thanks.
UPDATED: Here it is some improvement I managed to implement:
Sorry, I just looked up Texture in the Mathematica documentation center.
I wonder if Texture works also with GeoGraphics, which would be better in your case.