Hi, thanks for the update.
Does the algorithm use the width of 18px to calculate the height? Because my pin now just got extremely small...
My icon has the following dimensions:
100x87px so it gets scaled down to 18x16px;
But what if i want it to be 45x39px or something like that? Now it only gets bigger if it's a very thin icon.
If i change the standardWidth inside map.options.js to about 45 it calculates the size i'm looking for. This works for me for now, but it would be great if you hadn't to change the code, to get what you want.
Maybe you could hide these special options for width and height, until you click that checkbox to enable that feature. This is an option every web designer would whant in times, where nearly everybody has a mobile device with 1.5 pixel density or more.