Google
Official Google Earth Download Site

Google Earth Community System Reliability: MEDIUM

Earth >> Dynamic Data Layers

linus_atpug
Tourist


Reged: 07/15/05
Posts: 25
Loc: Berkshire, england
Re: Howto create a dynmaic data layer?
      08/18/06 03:54 PM

better still follow the api guidelines, write your PHP or whatever server side code that interrogates a database and all it has to do is spit out valid KML.

your script has to expect a parameter on the querystring callled BBOX which contains the top left and bottom right latitude and longitudes of the current viewport in google earth

. eg http//yourserver.com/yourdynamiclayerurl?BOX=-0.8552169799804689,51.407879760074316,-0.7137680053710938,51.456574106519724

the instructions in the API guide are not particularly easy to follow so best way id to create an example kml by hand and then write your code to generate that kml.

Post Extras Print Post   Remind Me!     Report this Post


Entire topic
Subject Posted by Posted on
* Howto create a dynmaic data layer? A_Skwar 06/15/06 02:03 AM
. * * Re: Howto create a dynmaic data layer? Valery35   06/18/06 10:08 AM
. * * Re: Howto create a dynmaic data layer? linus_atpug   08/18/06 03:54 PM
. * * Re: Howto create a dynmaic data layer? A_Skwar   06/18/06 11:09 AM


Extra information
0 registered and 6 anonymous users are browsing this forum.

Moderator:  Hill, Jumble, Kempster, mcshea98, jeffryv, dulce, esterrett, NormB, Frank_McVey, BeadieJay, TheLedge, Cyclonic, no_stranger, LuciaM, tekgergedan, Noisette, danescombe, Michal_Drewniak, mutex, marinerfan, Delta102, bebop, MarkAubin 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 4032

Rate this thread

Jump to

earth.google.com    bbs.keyhole.com

*
UBB.threads™ 6.5.1.1