I need to add the GoogleMap API into my ASP.Net page using code
behind. I'm trying this but not having much luck. Can anyone help me
out here?

ScriptManager.RegisterClientScriptInclude(this, this.GetType(),
"GoogleMapApi", "http://maps.google.com/maps?
file=api&v=2&sensor=false&key=MYKEY");


If I add the below code to my Base.Master page all is well but I
really don't want to inject the GoogleMap API into all my pages, only
when I need it.

    <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;sensor=false&amp;key=MYKEY"
    type="text/javascript"></script>

-- 
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