Skip to main content

Posts

Showing posts with the label geolocation

Geolocation, Google Gear, Html5

The Gears   Geolocation API   can make use of network servers to obtain a position fix. The server determines the client's position using a set of data provided by the client. This data includes the client's IP address and information about any cell towers or WiFi nodes it can detect. This document describes the protocol used to send this data to the server and to return a response to the client. http://code.google.com/apis/gears/geolocation_network_protocol.html http://code.google.com/intl/zh-CN/apis/maps/documentation/javascript/examples/index.html map-geolocation.html // Try W3C Geolocation method (Preferred)   if(navigator.geolocation) {   browserSupportFlag = true;   navigator.geolocation.getCurrentPosition(function(position) {   initialLocation = new google.maps.LatLng(position.coords.latitude,position.coords.longitude);   contentString = "Location found using W3C standard";   map.setCenter(initialLoca...