On Jan 4, 12:14 pm, Mike Carlyon <[email protected]> wrote:
> how do i change the marker image to these map pins?  is that a free or
> google pin image?

Some of my examples are marker images I have hosted on my server.
Feel free to copy the ones from my server if you want to use the, just
don't point to them on my server.
Some are available from google:
http://www.geocodezip.com/v3_markers_normal_colored_google.html
http://www.geocodezip.com/v3_markers_colored.html

I personally think it is somewhat safer to use the ones on my server
if I need them not to change.  But if the ones from google work for
you, the advantage of using those is that they have multiple redundant
fast servers, so they will probably be quicker to load (and they
_probably_ won't change/move around, but they could, they will
probably come from the same server that is serving the API code).

  -- Larry

>
> On Tue, Jan 4, 2011 at 1:18 PM, [email protected]
> <[email protected]>wrote:
>
>
>
> > On Jan 4, 11:01 am, Nico Oudshoorn <[email protected]> wrote:
> > > 1)
> > > var iconvt = new google.maps.MarkerImage('dd-startl.png',
> > >  new google.maps.Size(34, 20),
> > >  new google.maps.Point(34,9),
> > >  new google.maps.Point(9, 0)
> > > );
>
> > > 2)
> > > var iconvt = 'dd-startl.png',
> > > With definition 1 I don't get a marker on the map and with definition 2 I
> > > do. If I give definition 1 without the size and point parameters I get a
> > > marker as well. But I want the size and point parameters. What do I do
> > > wromg?
>
> > Where is the map that shows the problem?
>
> > I get markers with MarkerImage:
> >http://www.geocodezip.com/v3_markers_colored_3D.html
> >http://www.geocodezip.com/v3_markers_infowindows.html
> >http://www.geocodezip.com/v3_markers_normal_colored_infowindows.html
>
> >  -- Larry
>
> > > vtmarker = new google.maps.Marker({
> > >       position: vtpoint,
> > >   title: vttitel,
> > >   map: map,
> > >   icon: iconvt,
> > >   draggable: true
> > >  });
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Maps JavaScript API v3" group.
> > To post to this group, send email to
> > [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-maps-js-api-v3%2b­[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted 
> >text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to