add username and timestamp to map popup

This commit is contained in:
Evan Prodromou 2009-11-19 13:20:55 -05:00
parent 640bb39891
commit 2723bee69f

View File

@ -32,8 +32,10 @@ $(document).ready(function() {
pt = new mxn.LatLonPoint(lat, lon);
mkr = new mxn.Marker(pt);
mkr.setLabel();
mkr.setIcon(n['user']['profile_image_url']);
mkr.setInfoBubble(n['html']);
mkr.setInfoBubble('<a href="'+ n['user']['profile_url'] + '">' + n['user']['screen_name'] + '</a>' + ' ' + n['html'] +
'<br/><a href="'+ n['url'] + '">'+ n['created_at'] + '</a>');
mapstraction.addMarker(mkr);
}