How can I use Google Maps with processing?

I want to use the Google Maps API with processing. So far, I just managed to get the data in Google Places, but I'm struggling with the map itself. I know about other map options, such as unfolding or modest cards, but I need Google. In particular, due to the direction of the API in further progress. I searched this forum and the internet without any help. I thought everything should be easy.

How can I use Google Maps with processing?

+5
source share
1 answer

I'm not sure that you will get full-featured dynamic Google Maps in your Processing application, but you might be able to change the Google Weather API processing library to use Directions or Static Maps instead. http://www.onformative.com/lab/google-weather-library-for-processing/

If you download the source and look at GoogleWeather.java, you can see that the constructor calls WeatherAPI and returns the XML result. I think you could do the same thing except using the Directions APIs in it.

Here's a Java blog post about a static map API view in Java that can be translated into Processing: http://weblogs.java.net/blog/cajo/archive/2010/10/16/adding-google-maps-your- java-application p>

- JXMapViewer, : http://today.java.net/pub/a/today/2007/10/30/building-maps-into-swing-app-with-jxmapviewer.html

0

All Articles