]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Mapstraction/usermap.js
Mapstraction plugin fix: set icon dimensions (24x24 px); Google Maps provider otherwi...
[quix0rs-gnu-social.git] / plugins / Mapstraction / usermap.js
index 4b7a6c26b4adf08a2e9eadefb406bbe7d6d3b893..53cfe6bb0cdd9381fcf39d50ad4354db5a8c8cf0 100644 (file)
@@ -104,7 +104,7 @@ function showMapstraction(element, notices) {
           pt = new mxn.LatLonPoint(lat, lon);
           mkr = new mxn.Marker(pt);
 
-          mkr.setIcon(n['user']['profile_image_url']);
+          mkr.setIcon(n['user']['profile_image_url'], [24, 24]);
           mkr.setInfoBubble('<a href="'+ n['user']['profile_url'] + '">' + n['user']['screen_name'] + '</a>' + ' ' + n['html'] +
                             '<br/><a href="'+ n['url'] + '">'+ n['created_at'] + '</a>');