Crew-Portal Posted November 11, 2007 Share Posted November 11, 2007 I know just how much fun javascript is! But I was wondering if someone could help me out on somethin... My XML Documents Look like: <?xml version="1.0" ?> <Players> <Player> <Name>N350CA</Name> <LatencyText /> <GameVersion>2004</GameVersion> <Type>Pilot</Type> <Aircraft>Extra 300S</Aircraft> <ConnectTime>0d 0h 0m</ConnectTime> <NearAirport /> <NearDistance /> <Altitude /> <Heading /> <Speed /> <Hop /> <DXVersion /> <DataRate>0</DataRate> <Status>Not in plane</Status> <Latitude>???????</Latitude> <Longitude>???????</Longitude> </Player> </Players> And are stored in a directory http://24.76.166.219:81/xml But my problem is even though I have search google for such a long time on how to get the players to appear on a map they all tell me that I have to have my XML set up like: <Player latatude=??????? longitude ???????> But of course I cant change this because the XML your viewing is a dump from a video game. So I was wondering if someone could help me out making a google earth APIS map if you know how to do it because personally this thing is making me very sad because I have come to a conclusion that I know nothing about the google javascript and I just wanna cry :'( I really need this script done soon but i cant find the resources that I need to finish it, so If someone could please help me out on making a APIS map that shows all the players in the XML on a google map with the icon "icon.png" I would just be so appreciative that you just couldnt believe it! Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted November 12, 2007 Author Share Posted November 12, 2007 Heres What the XML looks like when there are people online: <Players> <Player> <Name>GSA001</Name> <LatencyText /> <GameVersion>2004</GameVersion> <Type>Pilot</Type> <Aircraft>aeroclub milano 1981</Aircraft> <ConnectTime>0d 1h 9m</ConnectTime> <NearAirport>PHNL</NearAirport> <NearDistance /> <Altitude>26'</Altitude> <Heading>034°</Heading> <Speed>65 kts</Speed> <Hop /> <DXVersion /> <DataRate>6</DataRate> <Status>Flying</Status> <Latitude>N21° 18.98'</Latitude> <Longitude>W157° 55.44'</Longitude> </Player> <Player> <Name>SWA2971</Name> <LatencyText /> <GameVersion>2004</GameVersion> <Type>Pilot</Type> <Aircraft>Project Opensky - B737-700 Southwest Canyon Blue</Aircraft> <ConnectTime>0d 1h 12m</ConnectTime> <NearAirport>VNLK</NearAirport> <NearDistance /> <Altitude>9108'</Altitude> <Heading>060°</Heading> <Speed>0 kts</Speed> <Hop /> <DXVersion /> <DataRate>6</DataRate> <Status>On ground</Status> <Latitude>N27° 41.16'</Latitude> <Longitude>E086° 43.65'</Longitude> </Player> </Players> Quote Link to comment Share on other sites More sharing options...
Crew-Portal Posted November 13, 2007 Author Share Posted November 13, 2007 Bump... Please help a n00b! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.