Google Street View Images
in
Programming Questions
•
4 months ago
Hi All,
Is it possible to use a Google Street View Image in a Processing sketch? The API url isn't actually for an image, so I'm guessing that Processing doesn't understand how to interpret the response it gets.
My setup() look like this:
Is it possible to use a Google Street View Image in a Processing sketch? The API url isn't actually for an image, so I'm guessing that Processing doesn't understand how to interpret the response it gets.
My setup() look like this:
- void setup() {
reader = new XlsReader(this, "data.xls");
url = "http://maps.googleapis.com/maps/api/streetview?size=400x400&l ocation=40.720032,%20-73.988354&sensor=false";
img = loadImage(url);
colorMode(HSB, 1);
size (400, 400);
frameRate(1);
}
Of course, when i run the sketch, the first time I call img I get an error.
Thanks,
Scott
Thanks,
Scott
1