الاخ السائل
استخدمي مكتبة قادرة او مهيئة لاخذ النقاط وعرضها بسهولة مع الاخذ بعيين الاعتبار عمل Auto Refresh
من المكتبات المهمة Map-Suit
وهذا هو الرابط
http://gis.thinkgeo.com/Products/tabid/96/Default.aspx
المثال في الاسفل هو كود
HTML
وهو عبارة عن مباديء نقل البيانات GPRS FROM GPS
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>VEMap.AddShape</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1"></script>
<script type="text/javascript">
var map = null;
var shape = null;
var c1Shape = null;
var c2Shape = null;
var c3Shape = null;
var c4Shape = null;
var carOne = new VELatLong(45.01188,-111.06687);
var carTwo = new VELatLong(45.01534,-104.06324);
var carThree = new VELatLong(41.01929,-104.06);
var carFour = new VELatLong(41.003,-111.05878);
function GetMap()
{
map = new VEMap('myMap');
map.LoadMap();
AddShape();
// Set initial button states.
}
function AddShape()
{
// Create pushpins at each corner
c1Shape = new VEShape(VEShapeType.Pushpin, carOne);
c2Shape = new VEShape(VEShapeType.Pushpin, carTwo);
c3Shape = new VEShape(VEShapeType.Pushpin, carThree);
c4Shape = new VEShape(VEShapeType.Pushpin, carFour);
map.AddShape(c1Shape);
map.AddShape(c2Shape);
map.AddShape(c3Shape);
map.AddShape(c4Shape);
}
</script>
</head>
<body onload="GetMap();">
<div id='myMap' style="position:relative; width:400px; height:400px;"></div>
</body>
</html>
او يمكن استخدام مكتبة Franson
http://franson.com/gpstools
/