[squeak-dev] anyone ever use google maps with squeak?
Lawson English
lenglish5 at cox.net
Fri Jul 22 18:12:52 UTC 2011
Hi all. I'm trying to use the google maps web API from squeak, but I'm
stuck at square one (as usual).
I can't seem to get https working properly to access a google map server.
The closest I have gotten is using the HttpsSocket class and utilities
found in Cobalt (squeak 3.8) but that doesn't quite work either.
a:= HttpsUrl absoluteFromText:
'https://maps.googleapis.com/maps/api/place/search/json?location=52.36973,5.381927&radius=5000&name=Zeewolde&sensor=false&key=AIzaSyD_fnY5M3jTlwUnkNf9p_oO3j8aVNPo_0c'.
Transcript show: a retrieveContents contents.
It works in a browser, but not with any version of squeak I have tried
using any code I have tried.
The URL I'm trying to access is:
'https://maps.googleapis.com/maps/api/place/search/json?location=52.36973,5.381927&radius=5000&name=Zeewolde&sensor=false&key=AIzaSyD_fnY5M3jTlwUnkNf9p_oO3j8aVNPo_0c'
Suggestions on how to get it through squeak? I'll take any version, any
flavor at this point.
Caveat: I just installed Mac OS X Lion, which may be complicating things
somehow.
Thanks.
Lawson
More information about the Squeak-dev
mailing list
|