the map of japan with pointer on it...
The problem is what will be the formula to to convert the lat ang long to get the right coordinates with the map of japan only..
i use php gd with both image the map and the pointer..
i already manage to plot the right coordinate in whole world using with this code --->
function getlocationcoords($lat, $lon, $width, $height)
{
$x = (($lon + 180) * ($width / 360));
$y = ((($lat * -1) + 90) * ($height / 180));
return array("x"=>round($x),"y"=>round($y));
}
Any Help is appreciated..
thanks...