pegman is a available as a sprite

Rossko had a good thread but the urls have changed

Please read the Example by Esa - it is undocumented in the Google
Official Documentation but is implemented.
http://esa.ilmari.googlepages.com/sprite.htm

Mike makes a good point too:

You currently have to do all the hard work yourself. There's no option
in the API.

One little thing that will get you started is that if you set the
first
parameter of GLargeMapControl3D to true then it will leave a gap of a
suitable size, into which you can place your pegman dragobject.

map.addControl(new GLargeMapControl3D(true));

no longer at
http://maps.google.co.uk/mapfiles/cb/mod_cb_scout/cb_scout_sprite_000.png

but try
http://maps.gstatic.com/intl/en_uk/mapfiles/cb/mod_cb_scout/cb_scout_sprite_001.png
http://maps.gstatic.com/intl/en_uk/mapfiles/cb/mod_cb_scout/cb_scout_sprite_002.png
http://maps.gstatic.com/intl/en_uk/mapfiles/cb/mod_cb_scout/cb_scout_sprite_003.png

Sprites are merged images (.pngs) but catergorised

function sprite(number){
  var icon = new GIcon(G_DEFAULT_ICON);
    icon.sprite = {};
    icon.sprite.image = "cb_scout_sprite_002.png";
    icon.sprite.top = number * 21;
  return icon;

}

Credit to Esa
http://esa.ilmari.googlepages.com/sprite.htm


Mapperz
http://mapperz.blogspot.com/

On Nov 24, 4:48 am, Yoringuel Ruiz del Toral <[email protected]>
wrote:
> I can´t find how to add pegman( humar yellow) to my map and his
> funcionality

--

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