Which Browsers And Mobile Devices Support Geolocation API
Posted by in Internet April 11, 2012 Leave a comment

Before using and implementing Geolocation API to get the geographical location information of the current user on your websites or mobile applications, you should need to know which browsers and mobile devices Support Geolocation API.

Web Browsers Support Geolocation API

  • Firefox 3.5 +
  • Google Chrome
  • Opera 10.6 +
  • Internet Explorer 9.0 +
  • Safari 5.0 +

Mobile Devices (Platforms) Support Geolocation API

  • Android (firmware 2.0 +)
  • iOS
  • Windows Phone
  • Meamo
  • Opera Mobile 10.1

HTML Check If Browser Support Geolocation API

A bonus part that determine if the user’s current browser supports Geolocation API:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Check The Browser Supports Geo Location API</title>
</head>
 
<body>
<script type="text/javascript">
 
	if (navigator.geolocation) {
		alert("Geo Location API works well on your current browser!");
	} else {
		alert("Geo Location API is not supported on your current browser!");
	}
 
</script>
</body>
</html>

++ Check your current browser ++

Hoan Huynh is the founder and head of 4rapiddev.com. Reach him at hoan@4rapiddev.com