From 2723bee69f0f0a6d6471632dc2e10cdaaa224eff Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 19 Nov 2009 13:20:55 -0500 Subject: [PATCH] add username and timestamp to map popup --- plugins/Mapstraction/usermap.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/Mapstraction/usermap.js b/plugins/Mapstraction/usermap.js index 41bdb677b4..3a1379b8d4 100644 --- a/plugins/Mapstraction/usermap.js +++ b/plugins/Mapstraction/usermap.js @@ -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('' + n['user']['screen_name'] + '' + ' ' + n['html'] + + '
'+ n['created_at'] + ''); mapstraction.addMarker(mkr); } -- 2.39.5