22.07.2012, 20:46
Hello,
I god a good idea on how to create a online live map with php,mysql,pawno and javascript.
I will create a javascript that will make a map something like:
There i will put the map of Sanandreas
Than with php i will convert the x, y coordinates received from the MySQL database to a more easier to work wit int like 0 or 100 or 99.91 than with javascript i will load these digits and place an icon like:
on the map where the x, y coordinates come together.
with pawno i will put the coordinates in the MySQL database every second
and i will load these in the php side of the script.
BUTT i am stuck i dont now the max x, y coords and the minimum of the x,y coords
so if anyone knows that.. please give them
I god a good idea on how to create a online live map with php,mysql,pawno and javascript.
I will create a javascript that will make a map something like:
There i will put the map of Sanandreas
Than with php i will convert the x, y coordinates received from the MySQL database to a more easier to work wit int like 0 or 100 or 99.91 than with javascript i will load these digits and place an icon like:
on the map where the x, y coordinates come together.
with pawno i will put the coordinates in the MySQL database every second
and i will load these in the php side of the script.
BUTT i am stuck i dont now the max x, y coords and the minimum of the x,y coords
so if anyone knows that.. please give them