Get longtitude latitude combination based on distance and degree

前端 未结 2 809
甜味超标
甜味超标 2021-02-11 03:38

I am trying to get geo combinations of a grid which is covered a certain area (My city). The grid is 500m * 500m. So I wanna enter starting long/latitude combination,distance (5

2条回答
  •  难免孤独
    2021-02-11 04:16

    Here is the code for finding four extreme points (lat, long) around a center point

     
    

    and HTML looks like ....

    
            
    Enter the details
    Latitude :
    Longitude :
    Distance :

    Results Will be displayed here

    Latitude Longitude Angle (in degrees)

    I here by donate my code under GPL.... enjoy!!

提交回复
热议问题