blog posts

databases (1) django (1) drupal (2) java (4) processing (7) wamp (1) yahoo pipes (1)

Wednesday, 19 January 2011

processing an example of the google api static map

 PImage img;
 void setup() {
   size(400,400);
   img = loadImage("http://maps.google.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=400x400&sensor=false","jpg");
   image(img,0,0,width,height);
 }



Instead of passing an nromal image we have passed a google static image. From this we can now add points onto the map. This can be done with google api or can be done in the processing package.

No comments:

Post a Comment

Popular Posts