Hello,
I've got a question that I would like to ask you javascript-wizz.
I have a page which shows a map. On that map I add a marker dynamically using latitude & longitude.
Now I would like to update those values, not on the client side but on the serverside. So when the user loads the page there's a javascript that looks for the coordinates and uses it to create a marker on the map.
Now I'm looking for the best way to send my coordinates to the webserver.
First I was thinking of just sending a textfile with the coordinates in it. But that would mean I would have to open an ftp-connection send the file and close it again. Not very bandwidth-economical.
Then I was thinking of using a post such as on a form to send the coordinates, but that would mean opening a site and fill the coordinates in and send it. Same problem as before, I want to make it easier.
Basically, what I would like is that my GPS-receiver (who is connected to my laptop) sends the coordinates using something like a command-line.
So does anybody here have an idea how i could accomplish that?
Please don't start about Google Latitude because I know you can do it with that but I don't want to do it with that...
Greets,
Cainnech
I've got a question that I would like to ask you javascript-wizz.
I have a page which shows a map. On that map I add a marker dynamically using latitude & longitude.
Now I would like to update those values, not on the client side but on the serverside. So when the user loads the page there's a javascript that looks for the coordinates and uses it to create a marker on the map.
Now I'm looking for the best way to send my coordinates to the webserver.
First I was thinking of just sending a textfile with the coordinates in it. But that would mean I would have to open an ftp-connection send the file and close it again. Not very bandwidth-economical.
Then I was thinking of using a post such as on a form to send the coordinates, but that would mean opening a site and fill the coordinates in and send it. Same problem as before, I want to make it easier.
Basically, what I would like is that my GPS-receiver (who is connected to my laptop) sends the coordinates using something like a command-line.
So does anybody here have an idea how i could accomplish that?
Please don't start about Google Latitude because I know you can do it with that but I don't want to do it with that...
Greets,
Cainnech
Comment