Reputation: 9
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).
for example this map:
or
from that url I get an image to load in my JFrame. Any idea how to do it?
Upvotes: 0
Views: 2758
Reputation: 14506
I think you're looking for the Google Maps static image API. Based on your link, this is the map:
If you want to configure it here's the guide: https://developers.google.com/maps/documentation/staticmaps/?csw=1
I'm not sure how (if at all) you can include the directions on the static maps.
Upvotes: 1