// html code for the Add Memory page (cameraPage) // Google Map API call for GPSLocator Adapter function getLocation(gpsLat, gpsLong) { path = "/maps/api/geocode/json?latlng=" + gpsLat + "," + gpsLong + "&sensor=false"; var input = { method : 'get', returnedContentType : 'json', path : path }; return WL.Server.invokeHttp(input); }