Please report issues/requests in the new website :
http://mapicons.nicolasmollet.com
Hi,
I am using dynamic map pin icons with numbers inside pin goes as high as 300.
The numeric values inside pin holds good till 99 but it comes out of pin after
100. I need to define text color as well pin color to differentiate based on
the category of markers.
i am using it as:
http://chart.apis.google.com/chartchst=d_map_pin_letter&chld=100|0093D0|FFFFFF
. I need font inside to be white all the time and pin color and pin number is
dynamic based on category it represents.
This is how i am using it
function iconimage(category , number, color ) {
var image = new google.maps.MarkerImage('http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=' + number + '|' + color + '|FFFFFF',
new google.maps.Size(46, 30),
new google.maps.Point(0, 0));
return image;
};
but i am not able to set the size of icon new google.maps.Size(46, 30),. Is
there a way to adjust the size of pin or font size of text to fit inside if
numeric value is more than 100.
Original issue reported on code.google.com by ankur.ba...@gmail.com on 23 Aug 2011 at 8:23
Original issue reported on code.google.com by
ankur.ba...@gmail.com
on 23 Aug 2011 at 8:23