Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/01/2014, 11:06
Avatar de Patriarka
Patriarka
 
Fecha de Ingreso: enero-2011
Ubicación: Moreno, Buenos Aires, Argentina
Mensajes: 2.851
Antigüedad: 14 años, 2 meses
Puntos: 288
Ajustar Mark gmaps 3

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
  1. <script>
  2.  var marker = new google.maps.Marker({
  3.  
  4.         position: myLatlng,
  5.  
  6.         map: map,
  7.  
  8.         title:"<?php echo $title_marker; ?>",
  9.         icon:
  10.             new google.maps.MarkerImage(
  11.                 '<?php echo Imagen::getIconHouseGMPAS($productoLatLong->producto_id); ?>',  
  12.  //icon url
  13.                 new google.maps.Size(50,50), /* size is determined at runtime */
  14.                 null, /* origin is 0,0 */
  15.                 null, /* anchor is bottom center of the scaled image */
  16.                 new google.maps.Size(50,50)
  17.             )
  18.         });
  19. </script>