Hi,

we are using google API code and I want to change my custom marker in
it.

my code is..

   const string startingPointHtml = @"<li><a
id=""idstartingpointforsearch"" href=""http://maps.google.com/maps?
ll={0},{1}&markers={8}"" title=""{2}""></a><div><p><b
style=""color:Red;"">{2}</b><br />{3}<br />{4}<br />{5} &nbsp;{6}<br /
>{7}</p></div></li>";

_GoogleMapsKey =
System.Configuration.ConfigurationManager.AppSettings["GoogleMapsKey"];
  gmapkey.Attributes["content"] = _GoogleMapsKey;

  DisplayPoints.Text = string.Format(startingPointHtml, lat, log,
ds.Tables[0].Rows[0]["Bus_Name_Localized"].ToString(),
ds.Tables[0].Rows[0]["Street_Localized"].ToString(),
ds.Tables[0].Rows[0]["Address_1_Localized"].ToString(),
ds.Tables[0].Rows[0]["Address_2_Localized"].ToString(),
ds.Tables[0].Rows[0]["Address_3_Localized"].ToString(),
ds.Tables[0].Rows[0]["City_Localized"].ToString(), "http://
fr.wikipages.me/DesktopModules/GoogleMap/WebApplication/Images/
MarkerIcon.gif");

ascx page
<meta name="gmapkey" content="" id="gmapkey" runat="server" />

    <script src="http://bluweb.com/chouser/gmapez/gmapez-2.js";
type="text/javascript"></script>


    <table width="100%">
        <tr>

            <td>
                <div class="GMapEZ GLargeMapControl GMapTypeControl
GScaleControl" style="width: 400px; height: 400px;">
                    <asp:Literal Id="DisplayPoints" runat="server" />

                </div>

            </td>
        </tr>
    </table>

with the code above I am not able to change marker on google Map.

How can I pass parameter for Marker is my code.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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.

Reply via email to