Ways to get location of the client from the browser?

前端 未结 6 1632
情深已故
情深已故 2021-01-06 04:40

What i need is the lat/long of the client(via browser)

Found some articles on the net,found some in stack overflow itself(an old article) Get GPS location from the w

6条回答
  •  抹茶落季
    2021-01-06 05:04

    This is HTML code to trace the device(Browser/Mobile) location .Just save the above file as .html extension and browse it from any browser on your system or Mobile ,it will display the user current location.

提交回复
热议问题