I know there's an app for this but I would like to learn how to do this.
When I upload my code onto the server it can find where I am in realtime with geolocatin.
But if I would like to monitor someone using the geolocation, how would I go about doing ths??
Do you need to download a Google API or something??
So if I am currently at location A and personXY is at location B. If I was to look at my monitor, how do I see personXY on google map in realtime.
Any tips or advice would be greatly appreciated.
mapMarker = new google.maps.Marker({
position: latlng,
title:"You are here.",
clickable: true
});
mapMarker.setMap(map);
}
}
</script>
</HEAD>
<BODY>
<div id="map_canvas"></div>
</BODY>
</HTML>
10-27-2012, 09:55 PM
rtrethewey
Most websites determine geo-location by the user's IP address. There are look-up tables available online that you can use that are reasonably accurate. There are also commercial services with better accuracy. A trip to your favorite search engine should help you find them.