We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › Google Maps and Processing
Pages: 1 2 
Google Maps and Processing? (Read 11831 times)
Re: Google Maps and Processing?
Reply #15 - Mar 15th, 2010, 9:42am
 
I won't support pan or zoom on my sketch, so I'm trying to use Google Maps.

Code:
map = new InteractiveMap(this, new Google.AerialProvider()); 



Gets me a bunch of errors like:

The file "http://kh0.google.com/kh?n=404&v=30&t=tqssrqtssrssrtrr" is missing or inaccessible, make sure the URL is valid or that the file has been added to your sketch and is readable.


Re: Google Maps and Processing?
Reply #16 - Mar 31st, 2010, 4:01am
 
TomC wrote on Nov 12th, 2008, 8:29am:
Location location = new Location(51.500, -0.126);
Point2f p = map.locationPoint(location);
fill(0,255,128);
stroke(255,255,0);
ellipse(p.x, p.y, 10, 10);


p.x and p.y and a bit off (around 125 each) from the coordinates I'm taking from bing maps, anyone knows why
Re: Google Maps and Processing?
Reply #17 - Apr 5th, 2010, 8:23am
 
That's fantastic work, Tom, thanks for making it available....

Is there any chance you could release, if not source code, a list of fields/methods for the InteractiveMap class? I'm just trying to work out how I would load a map screen into a PImage rather than drawing it to the screen.....
Pages: 1 2