InMemoryMarkerOverlay markerOverlay;
DataSet ds = BMSIBL.WorkOrderBase.GetWorkOrderassetMapData(assetqry, pCompanyID);//iam getting 5000 recors from database
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
string pid = ds.Tables[0].Rows["AssetID"].ToString();
pplat = Convert.ToDouble(ds.Tables[0].Rows["LocStartLatitude"].ToString());
pplong = Convert.ToDouble(ds.Tables[0].Rows["LocStartLongitude"].ToString());
markerOverlay.Features.Add(pid, new Feature(pplong, pplat));
Map1.CustomOverlays.Add(markerOverlay);
}
this is my code.from my databse iam getting 3000 to 5000 records with latitude and longitude values .based on lat and long values iam adding markers on the Google Map.for adding 5000 markers on the map it is taking more time and it thrown error like pagerequest timeout is expired.so how to load markers quickly.please check that code any thing iam wrong here.is it possible to add all markers at a time.
Is It possible to add multiple markers at a time so that we can increase the performance of map.please give a solution to inprove my map application.