Hi, I'm working on an app which has a google map which users can use to search for locations, and on which I want to place markers.
The asynchronous call is a call to google's geocoder service which takes a string to search for from an input field, and a callback function that the position will be passed to: geocoder.getLatLng(address,showAddress); function showAddress(point) { if (!point) { alert(address + " not found"); } else { map.setCenter(point, 13); } } So the issue here is that after map.setCenter I want to make an ajax call to retrieve marker data from the server using the 'point'. I would like to use lift's javascript abstraction to build this but I'm struggling to see how to do it given the asynchronous call. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---