3) In Geolocation service map latitude and longitude to localStorage variables -
the geolocation is grayed out? Where would this #3 look like?
---------------------------------------------------------------------------------
4) In Request mapping to latlng add JS to get coordinates from localStorage.
return localStorage.getItem("latitudeSaved") + ',' + localStorage.getItem("longitudeSaved");
Where would this code go? The button called "map me" has your button code:
where latitudeSaved and longitudeSaved - localStorage names (see item 3)
This would be the variable i created called "lat" and "lng".
---------------------------------------------------------------------------------
5) Map Response formatted_address to textbox.
I don;t understand how to complete this step?
---------------------------------------------------------------------------------
6) On success Geolocation service call created service (in item 1)
Ok, how do i fill in the textbox with the address? Not clear on this #6 either?
... and that is it if you can help me get past these three that would be great help.
that's it? If that's it still not working.
When in response mapping, you can create a local storage variable (right column, top). The variable will appear on right (bottom). You can then map the response to the variables.
Excellent, trying now ...
Still stuck on what she meant by creating one variable "latlng" and assigning it the same value?
4) In Request mapping to latlng add JS to get coordinates from localStorage.
return localStorage.getItem("latitudeSaved") + ',' + localStorage.getItem("longitudeSaved");
Once you saved lat/lon into local storage, you would use the values as input to the http://maps.googleapis.com/maps/api/g... service. See screen shots I posted above.
sorry don't see the screen shot?