Ahh, thanks Barry. Looks good.
On Dec 4, 2:33 pm, Barry Hunter <[email protected]> wrote: > Its just an object specification, not an actual class. So can just do > something like > > var marker = new google.maps.Marker({ > position: myLatLng, > map: map, > icon: { > url: '/path/to/icon.png', > size: new google.maps.Size(10,10) > } > }); > > > > > > > > On Tue, Dec 4, 2012 at 1:04 PM, Pil <[email protected]> wrote: > > The reference > > >https://developers.google.com/maps/documentation/javascript/reference... > > > states that google.maps.MarkerImage class "is deprecated in favor of > > Icon." > > > I'd searched a long time to find the right syntax for a marker icon > > without using MarkerImage. I'm sorry but I didn't find any example. > > > -- > > 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. -- 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.
