Map Help

Well, I asked Nabeel about this and he explained it, but I’m still a tad lost.

Here is my route map: http://www.flysja.com/map.php

When you hover over a hub (SJC and IND) it displays the HM and amount of pilots. So far I’ve been going in and updating the amount of pilots by hand but I want to put a line of code in there that will automatically do it for me.

I know its and echo..I just am having a hard time figuring out what to echo… ???

ddrivetip('<? echo "Pilots: $pilots"; ?>',

Maybe somebody else can help out?

You’ll have to query the API for it, I don’t remember which function off the top of my head though

You’ll have to query the API for it, I don’t remember which function off the top of my head though

Isn’t the API a code for Google maps?

Nvm.

<? "GetAllPilotsByHub  ( $hub)" ?>

I need that right, or is there more to it?

hey idk if my pm sent, but how did you make that map? im jealous=p