Hi Cosmin... u can create your custom marker with the following
sentences...
/**
@lat: latitud
@lng: longitud
@html: the html code to be shown in the infoWindow
@iconImage: the url of the image for the marker
@title: the title of the marker
**/
function createMarker(lat, lng, html, iconImage, title) {
var marker;
var icon = new GIcon();
icon.image = iconImage;
icon.iconSize = new GSize(37, 32);
icon.iconAnchor = new GPoint(16, 32);
icon.infoWindowAnchor = new GPoint(16, 32);
marker = new GMarker(new GLatLng(lat, lng), {"title":title,
"icon":icon});
return marker;
}
You can see an example at www.conocepunta.com.ar
Good luck!!!
On 24 mar, 22:36, William <[email protected]> wrote:
> it's fairly easy to combine Bill Chadwick's block markers with
> Google's small circle markers.
>
> here's a mashup of Airport location fromhttp://openflights.org/data.html
> with Airstrip Photos fromhttp://www.airstripamerica.comto create a
> map with 800 USA airports:
>
> http://www.william-map.com/20100325/1/map.htm
--
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.