Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Images

Drawing reverse map line across image

images php coding issues or problems here.

Moderators: macek, egami, gesf

Drawing reverse map line across image

Postby gopher » Thu Dec 15, 2011 4:27 pm

I have a map that I draw a line on a cylindrical projection image map using PHP between two long / lat locations. The line draws okay, but not always the shortest route. Is there a way in PHP to, for example draw a line from the west coast to Australia what would go to the end of the map on the left, pick up on the right and continue on? Looks funny when a line is drawn from West Coast to Australia that goes east, through Africa and all.

I want to draw a line along the shortest path even if it goes off the map to the left (or right) and picks up on the other side.

Help?

Tnx
gopher
New php-forum User
New php-forum User
 
Posts: 1
Joined: Thu Dec 15, 2011 4:21 pm

Return to PHP coding => Images

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron