TME little trouble!

18 views
Skip to first unread message

Bruno Imbroisi

unread,
Dec 26, 2008, 7:12:44 AM12/26/08
to thematic-ma...@googlegroups.com


I'm trying to develop TME with
HIV/AIDS data

first of all a very happy chrstmas

This whole week I´m trying  to implement the fantastic TME in my localhost,
windows xp wampserver 2.0 and mysql, ajax and php, everything looks fine,
but i cant put GE plugin to work.
neither in IE 7 and FireFox 3
and when I choose to download the kml and open in google earth app
 I´ve receive and error too (in attached file too)


I´ve put in the attachment the related error screens, if it could help the
visualization
and I´m with little suspect that maybe the *key* that come with your code
its the point,

<script src="
http://www.google.com/jsapi?key=ABQIAAAA_ign6iVyyoQkHVSOpMADihQHzL1Uvg_nWEMw5BGqFafV9NuuAxTf1qtrmUZ3rEkAY9Iq_jS-lrI9eQ
"></script>

I´m need to change it for localhost test?

Thanks for any tip!

BRuno




message-trouble.jpg
error-1.jpg
message-trouble.jpg
app-kml-error.jpg

thematicmapping.org

unread,
Dec 26, 2008, 12:07:08 PM12/26/08
to Thematic Mapping Engine
Hi Bruno!

How is baseURL defined in TME_ExtForm.js? It seems like you're trying
to access the generated KMZ file from your local hard drive and not
through localhost. Try to point baseURL to your localhost:

// Variables for Google Earth API
TME.google = {
earth: null, // Google Earth instance
baseURL: 'http://localhost/tme/', // The location of your TME
installation
networkLink: null // Link to KMZ file
}

If you upload your TME on a web server - you need to generate a new
Google Maps key for this server and change the baseURL. I don't think
you need a key for localhost.

Bjørn



Bruno Imbroisi skrev:
Reply all
Reply to author
Forward
0 new messages