Hola gente,
no logro ajustar el tamaño de un Mark en gmaps v3 cuando el usuario hace zoom en el mapa, es posible hacer eso?
tengo este codigo:
Código Javascript
:
Ver original<script>
var marker = new google.maps.Marker({
position: myLatlng,
map: map,
title:"<?php echo $title_marker; ?>",
icon:
new google.maps.MarkerImage(
'<?php echo Imagen::getIconHouseGMPAS($productoLatLong->producto_id); ?>',
//icon url
new google.maps.Size(50,50), /* size is determined at runtime */
null, /* origin is 0,0 */
null, /* anchor is bottom center of the scaled image */
new google.maps.Size(50,50)
)
});
</script>