JM Tizon
Posts: 0
Joined: Wed May 01, 2013 5:51 pm

latitude from geolocation service in a second page

I'm using the geolocation service to get my current position. Once done I can see that the marker is correctly setup in my Gmap object in my first page. I want now to move the latitude and longitude to a second page and display these values in labels. On the first page I have added on the click event of the button going to the second page 2 actions to create local storage variable binded to the marker's latitude and longitude. On the launch event of the second page I set the properties of my labels from the stored variables but I have an "undefined" result.

The Gmap object on the first page is refreshed as described in your tutorial.
var map = Tiggr('googlemap1');
map.options['address']='';
map.refresh();

Any idea for more investigations ?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

latitude from geolocation service in a second page

Where exactly do you get 'undefined'? Which tutorial are you referring to?

Return to “Issues”