Key Problems

30 views
Skip to first unread message

CarlosGE

unread,
Feb 16, 2009, 8:44:54 PM2/16/09
to KML Developer Support - Google Earth Plug-in
Hi, i'am trying to integrate nagios with google earth web interface,
and for that task i'am using one of your projects (gwt-earth) that
uses google earth api.

Since i'am working in a LAN, i tried to register the url http://localhost,
but when i compile the web code, and acess the page i get "The Google
Maps API key used on this web site was registered for a different web
site. The developer of this web site can generate a new key at
http://code.google.com/apis/maps."

I have search in many sites, but i can't resolve the problem. There
must be an easy way to develope in this kind of environmnet, but i
don't know how.



Any help would be apreciated
Best regards

fraser [Earth API Guru]

unread,
Feb 16, 2009, 9:31:51 PM2/16/09
to KML Developer Support - Google Earth Plug-in
Hi Carlos,

If you are working offline for development/testing then you can remove
the API key all together.

i.e. http://www.google.com/jsapi

Hope that helps,

F.


On Feb 17, 1:44 am, CarlosGE wrote:
> Hi, i'am trying to integrate nagios with google earth web interface,
> and for that task i'am using one of your projects (gwt-earth) that
> uses google earth api.
>
> Since i'am working in a LAN, i tried to register the urlhttp://localhost,
> but when i compile the web code, and acess the page i get "The Google
> Maps API key used on this web site was registered for a different web
> site. The developer of this web site can generate a new key athttp://code.google.com/apis/maps."

CarlosGE

unread,
Feb 17, 2009, 5:29:34 AM2/17/09
to KML Developer Support - Google Earth Plug-in
Hi, i tried to use http://www.google.com/jsapi, but it continues to
give the same problem.

I'am running a GWT code (gwt-earth) in ubuntu, more the nagios
application in a vmware VM. Since the google earth plugin isn't
currently available for linux, i use windows to access the virtual
machine, and visualize the Google Earth in the browser.

gwt-earth can be downloaded with -> svn checkout
http://earth-api-samples.googlecode.com/svn/trunk/ earth-api-samples-
read-only (in directory demos)

This is the html code (in GwtEarth.html)

<html>
<head>
<title>Google Earth API - GWT </title>
<link rel="stylesheet" href="GwtEarth.css" type="text/css">
<script language='javascript' src='com.google.GwtEarth.nocache.js'></
script>
<script src="http://www.google.com/jsapi"></script>
<script>
google.load("earth", "1");
</script>

</head>
<body>
<iframe src="javascript:''" id="__gwt_historyFrame" style="width:
0;height:0;border:0"></iframe>
</body>
</html>


Best regards


On Feb 17, 2:31 am, fraser [Earth API Guru] wrote:
> Hi Carlos,
>
> If you are working offline for development/testing then you can remove
> the API key all together.
>
> i.e.http://www.google.com/jsapi

Roman N

unread,
Feb 25, 2009, 3:34:57 PM2/25/09
to KML Developer Support - Google Earth Plug-in
Hi CarlosGE,

You're missing an API KEY:

http://www.google.com/jsapi?key=YOUR_KEY_HERE

- Roman

On Feb 17, 2:29 am, CarlosGE wrote:
> Hi, i tried to usehttp://www.google.com/jsapi, but it continues to
Reply all
Reply to author
Forward
0 new messages