Hi All,
i work with Squeak and Seaside 2.8.
In my application i have integrate a Google
StaticMap support from squeakSource GoogleStaticMaps.
Now i'm interested, when the user create a new
address, to define and save the relative geographic coordinates.
In the Google documentation i
read:
*********************************************************************************** Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates (like latitude 37.423021 and longitude -122.083739), which you can use to place markers or position the map. The Google Maps API Geocoding Service provides a direct way to access a geocoder via an HTTP request. Note: the geocoding service may only be used in conjunction with displaying results on a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions. Geocoding RequestsYou may access the Google Maps API Geocoding Service directly over HTTP. To access the geocoder, send a request to http://maps.google.com/maps/geo? with the following parameters in the URL:
Note: The In this example, we request the geographic coordinates of Google's headquarters: http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA&output=json&oe=utf8&sensor=true_or_false&key=your_api_key ********************************************** Now : after the user crate new address i can create a new WAUrl as above with specific address. My question is: how, i can, send from squeak this request to the internet for receive the answer? It's a good solution or i wrong?
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |