Alert ("!!!!! ");
$. Ajax ({
Url: "HandlerGetPlace ashx,"
Type: "post",
Data: "id=" + id,
Success: the function (data)
{
Var map=new BMap. The map (" map_container ");
Var point=new BMap. Point (data. GetLongitude (), data. GetLatitude ());
Map. CenterAndZoom (point, 15);
Map. AddControl (new BMap. NavigationControl ());
Map. AddControl (new BMap. OverviewMapControl ());
Var marker=new BMap. Marker (point);
The map. The addOverlay (marker);
Var where=new BMap. Label (" data. GetHName () ", {offset: new BMap. Size (-, 50-50), the position: point});
Where the setStyle ({" color ":" red ", "fondSize" : "14 px", "cursor" : "pointer"});
The map. The addOverlay (where);
}
})
}
</script>
<body>
<% # Eval (" hName ") % & gt;
<% # Eval (" hFacility ") % & gt;
Details & lt;/a>
) "/& gt;