On Jun 7, 3:50 pm, Eddie LaRue <[email protected]> wrote:
> www.celltreesinc.com/maps/gm_map.html

See Marc's post.  Try this definition for your shadow:
  var iconShadow = new google.maps.MarkerImage('http://
www.celltreesinc.com/maps/icons/shadow.png',
      // The shadow image is larger in the horizontal dimension
      // while the position and offset are the same as for the main
image.
      new google.maps.Size(37, 34),
      new google.maps.Point(0,0),
      new google.maps.Point(9, 34));


  -- Larry


>
> On Jun 5, 3:56 pm, Chad Killingsworth
>
>
>
> <[email protected]> wrote:
> > Can you post a link to your site?
>
> > Chad Killingsworth
>
> > On Jun 4, 4:55 pm, 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,- 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