Thanks for the informations. I reed your references and i see that
another line is missing in the google example:

baseIcon.image = "http://www..../logo.gif";;

They put only the shadow in the example. I add this + your code line:

map.addOverlay(new GMarker(new GLatLng(78.37268,17.024919),
{icon:baseIcon}));

And it work well :) Thanks :)

Another question. For person like me that are not a programmer do you
say if exist a software to make more complex maps (multiple point,
Info Windows with pictures and link inside,etc) without programming?
I found GMapEZ or map-generator.net but i like something that generate
pure Google Maps JavaScript AP code.
Thanks for your help.


On 24 juil, 13:16, Andrew Leach <[email protected]> wrote:
> On Jul 24, 11:45 am, Fabrizio <[email protected]> wrote:
>
> > Yes but the BIG problem of goggle documentation is that the examples
> > code are always made with random position of the points and i not have
> > a random position...
>
> So you need to read the reference, not the examples.
>
> You want to alter the appearance of the marker, which you create here:
>    map.addOverlay(new GMarker(new GLatLng(78.37268,17.024919)));
>
> The bit which creates the marker is
>    new GMarker(new GLatLng(78.37268,17.024919))
>
> so you need to look 
> athttp://code.google.com/apis/maps/documentation/javascript/v2/referenc...
>
> That tells you there are 
> options:http://code.google.com/apis/maps/documentation/javascript/v2/referenc...
>
> And that tells you that you need an "icon" option.
>    new GMarker(new GLatLng(78.37268,17.024919),{icon:baseIcon})
>
> which says "create a new GMarker at this location and using this
> icon". Then you bundle it up in your addOverlay call, which the group
> interface will split over more than one line:
>    map.addOverlay(new GMarker(new GLatLng(78.37268,17.024919),
> {icon:baseIcon}));

-- 
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