The actual map is wrapped inside a jQuery Mobile object:
code
map.gmap.getCenter().lat();
map.gmap.getCenter().lng();
/code
The actual map is wrapped inside a jQuery Mobile object:
code
map.gmap.getCenter().lat();
map.gmap.getCenter().lng();
/code
That was what I was looking for. Max... you're a saint!
One last item then... in the request mapping, I will want to use these local storage variables...
So let's say I've created a service for a parse.com call.
I create parameters (header) required for the API call
I have an additional parameter representing the "where" clause. In that where clause, I want to use local storage such as localStorage.
{"GeoLocation":{"$nearSphere":{"__type":"GeoPoint","latitude":localStorage.getItem('myLatitude'),"longitude":localStorage.getItem('myLongitude')},"$maxDistanceInMiles":3.0}}
The problem is that the values for localStorage.getItem('myLatitude') and the similar one for longitude were not substituted. How can I do this in the request mapping?
(otherwise, I get a 400 error code if the numbers aren't substituted in)
resulting in a 400 error code)
Hello! This should help http://help.gotiggr.com/documentation... (see Custom JavaScript)
I have tried this but the page just locks up.
Hello! Do you have any errors in console?
http://help.gotiggr.com/documentation...
link is broken. do you have alternate link foe that?
Hi - I hope this is it :: http://docs.appery.io/tutorials/build...
You can always check our new tutorials here :: http://docs.appery.io/tutorials/
and Docs here :: http://docs.appery.io/documentation/a...
Hi, I tried this and the initial start up page just locks. I too am trying to store the lat/long of a user long click on the map into a variable. Can anyone offer some help? Thanks!
Hello Professor,
Are there any errors in console?