Jump to content

Google Maps APIS Yaaa....


Crew-Portal

Recommended Posts

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!

Link to comment
https://forums.phpfreaks.com/topic/76919-google-maps-apis-yaaa/
Share on other sites

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>

Link to comment
https://forums.phpfreaks.com/topic/76919-google-maps-apis-yaaa/#findComment-389522
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.