csesumonpro's avatar

How to add dynamic Google map location In a post like facebook post check in option.

When create a new post in facebook use check in option for add location. How to use it using laravel for develop a social web site.

0 likes
1 reply
Cronix's avatar

You can just use the HTML5 geolocation api. However, it will prompt users if they want to share their location with your app. Most will say "no". It's also not that accurate unless using gps on a mobile device. Most likely it will return the location of your ISP, not where you actually are (unless using gps)

https://www.w3schools.com/html/html5_geolocation.asp

Please or to participate in this conversation.