I am developing an app for which I would like to be able to extract latitude and longitude data from googleMapApi, compare that data to weather station coordinates, obtain weather data for the weather station closest to the point in question, send weather condition data back to the google maps java script, and post the data on and/or near the map.
I have most of that working, but I don't know how to pull the data from the javascript part of the page, and use it in the python evronment. I also don't know how to send it back to the javascript. I know that gMapsApi has a GLatLng() that holds latitude an longitude coordinates. The class has methods to extract the latitude and longitude from the class. This class can be explicitly declared, or returned from methods for several other classes such as GMarkers() and GDirections(). I know how to declare a variable instance in javascript, and assign to it the value of the latitude and / or longitude (GLatLng.getLat() or GLatLng.getLng()), but I don't know how to get the values of these variables returned to the gae python environment that first posted the google map. This project is for an intro programming class that focused on python. My experience with javascript is limited to a two lecture segment of the course where we were introduced to JavaScript and AJAX. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
