title: how to get static map image from google maps url. Java
body: <p>I am currently working on a java application in netbeans, which I require to display a map in the JFrame. I need to get a map that I created before so I have the url, but I just need to be an image (jpg or png). </p>
  
  <p>for example this map: </p>
  
  <p><a href="https://www.google.co.ve/maps/dir/8.0969559,-63.5596847/Ciudad+Bol%C3%ADvar/@8.116559,-63.5568846,14z/am=t/data=!4m9!4m8!1m0!1m5!1m1!1s0x8dce862a669e5b7b:0xd96f2f60189fcd57!2m2!1d-63.55!2d8.122!3e0?hl=es" rel="nofollow">https://www.google.co.ve/maps/dir/8.0969559,-63.5596847/Ciudad+Bol%C3%ADvar/@8.116559,-63.5568846,14z/am=t/data=!4m9!4m8!1m0!1m5!1m1!1s0x8dce862a669e5b7b:0xd96f2f60189fcd57!2m2!1d-63.55!2d8.122!3e0?hl=es</a> </p>
  
  <p>or </p>
  
  <p><a href="https://goo.gl/maps/0EFUd" rel="nofollow">https://goo.gl/maps/0EFUd</a> </p>
  
  <p>from that url I get an image to load in my JFrame. 
    Any idea how to do it?</p>