My web application is built in Flask (DIY web framework for Python) and I would like to include my user's location on a map with our other assets.
I have not built applications on either android or iPhone. I am unclear as to the scope of this task.
stack: CentOS6
, Python
, Flask
, Twilio
, and anything the user's browser is capable of (?)
Yes, with HTML5 comes the Geolocation API .
if ("geolocation" in navigator) {
navigator.geolocation.getCurrentPosition(function(position) {
do_something(position.coords.latitude, position.coords.longitude);
});
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.