This project is read-only.

New MarkerStyle Feature in 4.0 Final

Apr 30, 2009 at 2:55 PM
Thank you very much for adding the new MarkerStyle feature.

Using your latest sample, how can you set the iconURL on client side?  Meaning, take this:

<MarkerStyle IconUrl="../images/hub_map_marker.png" IconSize="20,34" IconAnchor="10,34" Title="Click on the marker"/>

and include it in Google Marker (markers/default.aspx) sample?  I've tried different variations of the following, but I get no marker at all:

                GoogleMap1.addMarker({ Latitude:, Longitude: point.lng() }, true);
                GoogleMap1.markerStyle('../images/hub_map_marker.png', '20,34', '10,34');