« MapYourBuddies - IE6 fix and a tiny and neat feature added ;) | Main | MapYourBuddies - Next & hopfully Final Steps »

MapYourBuddies - Buddies without usable hometown location in Facebook (and no marker on the map) are now highlighted

A while ago, I already worked on the issue - that was also mentioned in your Iteration 2 Reviews - to process friends depending on the geocoding result. So that we highlight friends that doesn't have stored his/her hometown location in Facebook (in an appropriate way e. g. only "MI, USA" or not at all).

How I already expected, I had to completely rewrite and integrate the "create Friends List" function.

But after hours of recoding it is working now. Here the example from the demo account.

MapYourBuddies_I3_DemoAccountFLhighlighted.jpg

Does anybody know, why these cities in the demo account cannot be geocoded???
Ask me in the weekly progress presentation tomorrow and I will explain it ;)

Also we will demonstrate this functionality with our real Facebook account in the weekly progress presentation, tomorrow. (Where you can really see what some friends have written into their hometown location - sometimes it is just unbelievable -)

Anyway, a "problem" I faced was that the friends list is now "sorted" in that way, how the friends come back from geocoding - and this is each time different - (And not longer in the Facebook xml order). Thomas experienced this challenge already for the marker creation process. This is because - how Thomas already found out -

"The showAddress function must somehow run asynchronous and independently after called"

But at the end of the day, all friends are now displayed in the list. Friends with marker on the map are "clickable" and friends without appropriate hometown location are not "clickable" but are still in the list.

And for iteration 3 we won't manipulate the order of the friends in the list; Maybe in iteration 5 ;)

So far for now,
-Joern