Sunday, March 11, 2012

Questions on Implementing Google Maps with Atlas

I've not played with google maps yet, but minimally if you populate a simple JS variable with a JS native object (array, primitive, whatever) then you should be able to use that object in the JS that calls the Atlas library just fine. For example, fi you have the Google Maps api to populate a simple object like var position = {lat:93.232323, long:121.34334234} then you can pass the values of that object to a web service via atlas something like: LocationService.Post(position.lat, position.long, OnPostComplete).

No comments:

Post a Comment