diff options
author | Sarven Capadisli <csarven@status.net> | 2009-11-19 18:22:05 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2009-11-19 18:22:05 +0000 |
commit | 664239d39f064e72f03d1e0a27a356c1eee208b5 (patch) | |
tree | c06dd9d9dfea7ae73937c79f88c132722344c777 | |
parent | 269ccca9d48335f41eb6584d759f5c70de6847ee (diff) | |
parent | 2723bee69f0f0a6d6471632dc2e10cdaaa224eff (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
-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); } |