// This is your shape
var shape={"title":"dc \\z ","notes":"c xc x ","author":"","tags":["x \\zx"],"points":[[35.603719,-73.916016],[32.324276,-77.783203],[30.107118,-77.827148],[31.278551,-74.267578],[31.16581,-72.46582],[31.128199,-73.081055],[32.62087,-69.521484],[34.669359,-68.203125],[35.603719,-73.916016]]};

// 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);