Se puede declarar la imagen al inicializar el mapa:
var overlay;
function initialize() {
var myLatLng = new google.maps.LatLng(0, 0);
var myOptions = {
zoom: 11,
center: myLatLng,
mapTypeId: google.maps.MapTypeId.SATELLITE
};
var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
var swBound = new google.maps.LatLng(0, 0);
var neBound = new google.maps.LatLng(0, 0);
var bounds = new google.maps.LatLngBounds(swBound, neBound);
// This is where you declare your image...
var srcImage = 'images/yourimage.png';
overlay = new USGSOverlay(bounds, srcImage, map);
}
Más información aquí si lo necesita:
http://code.google.com/apis/maps/documentation/javascript/overlays.html#CustomOverlays
que sé sobre ese enlace. entonces, no puedo cambiar el color, tengo que usar iconos personalizados? – user198003
sé que hay un conjunto de iconos predeterminados que puede elegir, pero cualquier cosa personalizada, probablemente tendrá que crear la suya propia. es bastante simple, solo una línea de javascript. – timothyclifford