You're requesting the v2 API using that code.

You can load v3 by using this code:
http://code.google.com/apis/maps/documentation/javascript/tutorial.html#Loading_the_Maps_API

If you actually want v2, then you should be posting this to the v2 user
group (not this group, which is the v3 group), along with a link to your
map.

When you run on anything but localhost (or from a file), you'll need to use
a valid key generated for the domain you're running the web server on. You
can generate a key here:
http://code.google.com/apis/maps/signup.html

Chris

On Sun, Dec 26, 2010 at 7:59 PM, Hiyasat <[email protected]> wrote:

> Hi all,
>
> i'm new with Google-Maps, what im try to do is use the api v3 on my website
> and everything is working fine on localhost.
> but when i run the page on IIS an alert ask me to get new key for the api
> and i get new key but the error keeps show up .
>
> <script src="
> http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false;key=<http://maps.google.com/maps?file=api&v=2&sensor=false;key=>
> *GoogleKey*" type="text/javascript"></script>
>
> thanks in advance
>
> --
> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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 [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-js-api-v3?hl=en.

Reply via email to