Demo link or sample code:
Issue is in all maps and all situations
Expected result:
If i use an icon optimized for retina display, and setting enableRetinaIcons
option to true, on NOT retina display the icon should be displayed at the
dimensions that i decided by width and height parameter.
Actual result:
The icon is displayed with its original dimension (doubled).
Version: all
Browser / Operating System:
all
Additional comments:
@line 252
if (!this.cluster_.getMarkerClusterer().enableRetinaIcons_) {
img += "clip: rect(" + (-1 * spriteV) + "px, " + ((-1 * spriteH) + this.width_) + "px, " +
((-1 * spriteV) + this.height_) + "px, " + (-1 * spriteH) + "px);";
}
Right after this should be added:
else {
img += "width: " + this.width_ + "px;" + "height: " + this.height_ + "px;";
}
Original issue reported on code.google.com by alessiod...@gmail.com on 31 Mar 2014 at 1:08
Original issue reported on code.google.com by
alessiod...@gmail.com
on 31 Mar 2014 at 1:08