add username and timestamp to map popup
This commit is contained in:
parent
640bb39891
commit
2723bee69f
|
@ -32,8 +32,10 @@ $(document).ready(function() {
|
||||||
pt = new mxn.LatLonPoint(lat, lon);
|
pt = new mxn.LatLonPoint(lat, lon);
|
||||||
mkr = new mxn.Marker(pt);
|
mkr = new mxn.Marker(pt);
|
||||||
|
|
||||||
|
mkr.setLabel();
|
||||||
mkr.setIcon(n['user']['profile_image_url']);
|
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);
|
mapstraction.addMarker(mkr);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user