// This is your shape
var shape={"points":[[29.205379486084,44.7148895263672],[29.1905498504639,44.7419281005859],[28.7747192382813,45.5088806152344],[28.8569393157959,45.7649917602539],[29.1041603088379,46.5416107177734],[29.3686008453369,45.7741508483887],[29.4744300842285,45.4649887084961],[29.205379486084,44.7148895263672]],"title":"Iraq-Saudi Arabia Neutral Zone","notes":"Country: Iraq-Saudi Arabia Neutral Zone","tags":["countries"],"author":""};

// A general-purpose function to return an array of GLatLng objects from an array of [[lat,lng],[lat,lng] . .]
function makeLatLngsFromArray(a){
  var res=[];
  for(var i=0;i<a.length;i++){res[i]=new GLatLng(a[i][0],a[i][1])};
  return res;
}

// map setup
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(40.6897,-95.0446),5);
map.addControl(new GSmallMapControl());

// add the shape as a GPolygoon
var latlngs=makeLatLngsFromArray(shape.points);
var poly=new GPolygon(latlngs, '#ff0000', 3, .8, '#ff0000', .4);
map.addOverlay(poly);