• Hi! Hope you had a nice vacation in Italy;)
    At least your history/map worked.

    My map is not working. I don’t know why..
    – I’ve setup a test at: https://www.roelbroersma.nl/index.php/about I see no history and the map start at a point somewhere in the ocean.
    – On my phone I have Google Latitude running.
    – When I login at: https://www.google.com/latitude I see my current location.
    – When I Login into WordPress, go to “Google Latitude History” under Settings and click: “Sync Location History”, it says: “Google Latitude History was synced”. So I assume I did everything right with the oAuth Key/Secret and allowing the script in my Google account.

    – The fields: Minimum Time and Maximum Time are both empty. The Custom CSS for Map Div is set at default: margin:0 auto;font-size:12px;line-height:16px;

    What is wrong? Or is it a bug?

    https://www.ads-software.com/extend/plugins/google-latitude-history/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author peter2322

    (@peter2322)

    hello,

    Thanks for trying my plugin. I have run into a problem with the response from the Google Latitude Rest Service on my website also. During my trip to Italy during the past 2 weeks, Google Latitude worked perfectly the first week but on the second week all my points were gone from the map. When I got home I checked the response from the rest service and the json data is empty. I developed this plugin 3 months ago and never encountered this problem. I have posted my problem to the Google Latitude API Forum and hopefully someone can help. latitude forum

    I will update this thread if I get a response on the forum.

    If you want to test if you are having the same problem as me, go to around line 308 of google-latitude-history.php and add

    var_dump(json_encode($latitudeHistory));

    just below

    $latitudeHistory = $this->latitude_con->get('location', $options);

    then hit sync locations on the settings page and it will dump the rest service response to the settings screen. if you try this, does the response look like the one I posted on the latitude forum?

    Thread Starter roeller

    (@roeller)

    Hi Peter,

    Do you already have a fix for it? (with google’s help/they fix the API, otherwise maybe you can do a dirty intermediate fix on your side..? Just to get the same functional output of this module)

    This module is useless when it doesn’t work, which is too bad, because it’s a very nice idea!

    Roel Broersma

    Plugin Author peter2322

    (@peter2322)

    I posted my problem to the latitude forum, no response. Someone else posted the same problem and no response from google. I have even tried google-
    api-php-client with OAuth 2.0 and I got the same empty response. I cant do a quick fix b/c the problem is on the google side. If the the plugin was making a bad request the response from google should be an error not empty json.

    My guess is that since Latitude is still in labs (aka beta) its not 100% reliable. I have noticed that sometimes my Google Latitude Badge with be down no reason. I have created a bug. Hopefully it will get addressed. Otherwise I cant do anything right now.

    Plugin Author peter2322

    (@peter2322)

    I have verified that its not my plugin by using Google’s OAuth 1.0 and 2.0 playgrounds which queries the Latitude API. I am getting the same result in both playgrounds – empty location data. ??

    Plugin Author peter2322

    (@peter2322)

    Hi Roel,

    My bug was finally acknowledged by Google.

    https://code.google.com/p/latitude-api/issues/detail?id=30

    I updated the plugin last night, so update your plugin and try syncing with the granularity set to best.

    Thread Starter roeller

    (@roeller)

    Great man! It works. (indeed what you say: Set the Granularity to Best. Not to city)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Google Latitude History] Map not working?’ is closed to new replies.