Hi,

i have generated a key for my website.
Now i have uploaded a test-file with the following code:

_________________________
<html>
        <head>

                <script src="http://maps.google.com/maps?file=api
                        &v=1&key=[MY KEY]" type="text/javascript">
                </script>


                <script type="text/javascript">

                        function initialize() {
                          if (GBrowserIsCompatible()) {
                                var map = new 
GMap2(document.getElementById("map_canvas"));
                                map.setCenter(new GLatLng(37.4419, -122.1419), 
13);
                          }
                        }

                </script>
        </head>

        <body onload="initialize()" onunload="GUnload()">
                <div id="map_canvas" style="width: 500px; height: 300px"></div>
        </body>
</html>
_________________________

Always when i try to open the site, i get an error.
My key is not valid for this site.

I have generated a key for: http://www.mysite.com/
The test-file link is: http://www.mysite.com/mytestfile.html/

Then i have generated a key for: http://www.mysite.com/mytestfile.html/

Same error.
What happens?!

Thanks!

Regards,
Mike

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