George
Posts: 0
Joined: Thu May 24, 2012 3:27 pm

Help, a simple Geolocation that don't quite work ...

My simple Geolocation test application, http://tiggzi.com/view/093b7607-fee6-...

When run application, Press "where is my Mum", it suppose to go the the next screen, show as Googlemap your current location.

I have a number of questions, as follow:

  1. When I test on web interface, it don't load a full map, press back, and try again, it seems to load OK. When try with Android phone, the actual map don't load, or partially load.

  2. When the map eventually manage to load (on web testing), my current location is actually off the map (instead of center), don't know why.

  3. I try to display a "Mum's is here" where the current location is, but don't know how.

  4. How can I undate my the location position as I walk along the street?

  5. How can I make sure all resources with the app is kill as I terminate the app by pressing "Back", "Back" etc.

    Thanks in advance & Thank you kindly.

    George

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

Help, a simple Geolocation that don't quite work ...

Could you share the app for collaboration with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a..?

George
Posts: 0
Joined: Thu May 24, 2012 3:27 pm

Help, a simple Geolocation that don't quite work ...

Thank you kindly, share is now ON, I think...

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

Help, a simple Geolocation that don't quite work ...

We are still looking at a number of things.. but here are some workarounds/updates:

[quote:]

  1. When I test on web interface, it don't load a full map, press back, and try again, it seems to load OK. When try with Android phone, the actual map don't load, or partially load.
    [/quote]
    As temporary solution "page show" event can be used instead of "load" event (on "Mum_Location" screen element) or check "use full screen refresh" in "navigate to page" actions on "Where_is_Mum" screen

    [quote:]

  2. I try to display a "Mum's is here" where the current location is, but don't know how.
    [/quote]
    You need to get latitude/longtitude of Mum's location, then use them to update the map.

    [quote:]

  3. How can I undate my the location position as I walk along the street?
    [/quote]
    You would need constantly to get your current location (latitude/longitude) and use them to update the map.

    [quote:]

  4. How can I make sure all resources with the app is kill as I terminate the app by pressing "Back", "Back" etc.
    [/quote]
    If it's a mobile web app, then you would need to close the browser. For Android, the back button puts the app in the background -- this is just how Android works. It manages resources automatically (at some point the app will be closed). To really exit the app manually, you would need to close it with a task manager, for example.

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

Help, a simple Geolocation that don't quite work ...

Just to give you an update.

#1 and #2 will be fixed in our June release.

As a workaround, if you switch to using full page refresh (instead of Ajax), everything should work today.

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

Help, a simple Geolocation that don't quite work ...

[quote:]

  1. When I test on web interface, it don't load a full map, press back, and try again, it seems to load OK. When try with Android phone, the actual map don't load, or partially load.
    [/quote]
    This should be now working. Please try it.

    As for centering the map with the location (marker), we are working on it as well.

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

Help, a simple Geolocation that don't quite work ...

[quote:]

  1. When the map eventually manage to load (on web testing), my current location is actually off the map (instead of center), don't know why.
    [/quote]
    It happens because the screen size in the app is bigger than the screen size on your device. If you set them to be the same, then map will be centered.

Return to “Issues”