Thanks, Marc.

Everything is working correctly.

On Jun 5, 9:18 pm, Marc Ridey <[email protected]> wrote:
> use MarkerImage to specify the anchor point of your icons and your shadows.
> If you only specify a URL, the bottom middle pixel of each image is assumed
> to be the anchor point.
>
> On Sat, Jun 5, 2010 at 7:55 AM, Eddie LaRue <[email protected]> wrote:
> > I am using the following code for my icons and shadows, but the
> > shadows don't line up.  Any idea on how to get them to work right?
>
> > var customIcons = {
> >        1: {icon: 'http://www.celltreesinc.com/maps/icons/purple-dot.png',
> >        shadow: 'http://www.celltreesinc.com/maps/icons/shadow.png'},
> >        2: {icon: 'http://www.celltreesinc.com/maps/icons/red-dot.png',
> >        shadow: 'http://www.celltreesinc.com/maps/icons/shadow.png'},
> >        3: {icon: 'http://www.celltreesinc.com/maps/icons/yellow-dot.png',
> >        shadow: 'http://www.celltreesinc.com/maps/icons/shadow.png'},
> >        4: {icon: 'http://www.celltreesinc.com/maps/icons/green-dot.png',
> >        shadow: 'http://www.celltreesinc.com/maps/icons/shadow.png'},
> >        5: {icon: 'http://www.celltreesinc.com/maps/icons/blue-dot.png',
> >        shadow: 'http://www.celltreesinc.com/maps/icons/shadow.png'},
> >        6: {icon: 'http://www.celltreesinc.com/maps/icons/orange-dot.png',
> >        shadow: 'http://www.celltreesinc.com/maps/icons/shadow.png'},
> >        7: {icon: 'http://www.celltreesinc.com/maps/icons/white-dot.png',
> >        shadow: 'http://www.celltreesinc.com/maps/icons/shadow.png'}
> > };
>
> > var icon = customIcons[color] || {};
> > var marker = new google.maps.Marker({
> >        map: map,
> >        position: point,
> >        icon: icon.icon,
> >        shadow: icon.shadow,
> >        title: job
> > });
>
> > Thanks,
>
> > --
> > 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%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>

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