var image = 'beachflag.png';I use 'beachflag.png' in an directory where I put my index file.
var myLatLng = new google.maps.LatLng(-33.890542, 151.274856);
var beachMarker = new google.maps.Marker({
position: myLatLng,
map: map,
icon: image
});
--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
The icon itself is easy, but I'm not sure how to handle all of the
print-related properties (which don't appear to be supported in v3) or
the shadow (in the existing code, no value is provided for the shadow
property, but in v3 it appears to be required).
Anyone have any ideas on handling those properties?
Regards,
Zach
On Nov 23, 7:05 pm, "Susannah (Google Employee)"
<susann...@google.com> wrote:
> MapIconMaker currently only supports v2. It should be fairly simple
> to port to v3, though it'll need to return separate MarkerImage
> objects for the icon and the shadow.
>
> Take a look at these relevant documents:
> contributing to the v3 library:http://code.google.com/p/google-maps-utility-library-v3/wiki/HowToCon...
> v2 version:http://gmaps-utility-library.googlecode.com/svn/trunk/mapiconmaker/1....
> v3 MarkerImage:http://code.google.com/apis/maps/documentation/v3/reference.html#Mark...