Esempio n. 1
0
 private bool Start_Loading_UnloadedTehranPolygons()
 {
     _isLoadingTehranRegions = true;
     int polygonId = Get_Next_UnloadedTehranPolygonId();
     if (polygonId >= 0)
     {
         SmartMap_DomainContext context = new SmartMap_DomainContext();
         LoadOperation loadOp = context.Load(context.GetPointsQuery(polygonId), TehranCustomPoints_Loaded, Create_UserState(Polygons.TehranRegions, polygonId));
         return true;
     }
     else return false;
 }