Assuming your getting multiple results I would Store the entire response the parse it like so..
On the success event of your service add custom JS...
If u need it stored to display on other screen otherwise don't store and parse directly.
code localStorage.setItem('AllLocations', JSON.stringify(data.results));
Yours may be .. localStorage.setItem('AllJobs', JSON.stringify(data));
/code
On click event to show or any other event...
code
var dataall = JSON.parse(localStorage.getItem('AllLocations'));
for (var j=0; j<dataall.length; j++) {
var thisLocation = dataall[j].latitude + ", " + dataall[j].longitude;
showSpots(thisLocation);//Run map function to display results
}
function showSpots (thisLocation) {
//Use thisLocation variable in the google maps "position:"
}
/code
This assumes your map is already initialized..
You can extract and pass on more data to your map as well...
Always check for 0 length b4 parsing And use Try catch blocks to prevent code errors on bad values or null etc.
Hope you get the idea.
Regards.