diff options
Diffstat (limited to 'plugins/Mapstraction')
-rw-r--r-- | plugins/Mapstraction/usermap.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/Mapstraction/usermap.js b/plugins/Mapstraction/usermap.js index 41bdb677b..3a1379b8d 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('<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); } |