1
7.5kviews
Explain Geo location and web worker with an example in HTML5 & CSS3.
2 Answers
1
168views
written 8.3 years ago by |
Geo-Location:
The HTML Geolocation API is used to locate a user's position. The HTML Geolocation API is used to get the geographical position of a user. Since this can compromise privacy, the position is not available unless the user approves it.
Example of Geo-Location:
<!DOCTYPE html>
<html>
<body>
<p>Click the …
ADD COMMENT
EDIT
1
166views
written 6.8 years ago by |
Geolocation
HTML5 Geolocation API lets you share your location with your favourite web sites.
A Javascript can capture your latitude and longitude and can be sent to backed web server and do fancy location-aware things like finding local businesses or showing your location on a map.
Geolocation methods getCurrentPosition() and …
ADD COMMENT
EDIT
Please log in to add an answer.