From: Evan Prodromou Date: Thu, 19 Nov 2009 18:20:55 +0000 (-0500) Subject: add username and timestamp to map popup X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2723bee69f0f0a6d6471632dc2e10cdaaa224eff;p=quix0rs-gnu-social.git add username and timestamp to map popup --- 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); }