thanks , > From: [email protected] > Date: Tue, 30 Nov 2010 14:24:39 +0000 > Subject: Re: [Google Maps API v2] How to change my icon instead of using the > default icon > To: [email protected] > > On 30 November 2010 14:14, [email protected] > <[email protected]> wrote: > > There is my code trying to change the icon to a image file i have > > insted of using the default marker placement ...any help is great .. > > I can't see any attempt to change the icon in that code. Of course, it > would help to follow the posting guidelines and post a link to your > page, not code, but... > > This line creates the marker: > var marker = new GMarker(point); > and you need to create a new GIcon object and specify that in options > for GMarker. > > http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMarker > http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMarkerOptions > http://econym.org.uk/gmap/custom.htm > http://www.powerhut.co.uk/googlemaps/custom_markers_v2_API.php > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" 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-api?hl=en. >
-- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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-api?hl=en.
