On 13 September 2012 12:54, :) <[email protected]> wrote:
>
> I cant browse the google map page as it shows error "key authentication" and
> How can i inilize <literal control in javascript to pass value on pageLoad()
> for google map
This isn't the right group for your ASP issues, although someone may
know the answer.
If the line which is failing really is
ltrLat.Text = al.ToString();
then I guess it doesn't know what ltrLat is.
As you haven't given the full text of your <script> tag, it's not very
easy to help with that either. It should look like
http://maps.google.com/maps?file=api&v=2&key=AIzaSyCpEV7w_0UEw6ZwBl5KiV6PbA43JPLHO7E&sensor=false
The key can be either an old-style long Version 2 key or a new-style
short Console key, as here. You do need the sensor parameter, too.
--
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.