GPS format in PHP

后端 未结 2 1483
小蘑菇
小蘑菇 2020-12-18 17:06

how made in PHP from format 52.593800, 21.448850 format +52° 35\' 37.68\", +21° 26\' 55.86\" like do it google http://maps.google.pl/maps?hl=pl&t=m&q=52.593800,21.44

2条回答
  •  执笔经年
    2020-12-18 17:38

    Source

    $deg,"min"=>$min,"sec"=>$sec);
    }   
    

    Should be trivial to change the array to the desired string.

提交回复
热议问题