I guess that the point is in these lines:

   //Why change the icon of a GMarker
   mark.setIcon(new icono);

Because icono probably is not a constructor, 'new icono' will throw an
error.

It is a good practice to make your basic code work first. After that
make the markers look better.


-------
Wembley
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to