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