Exemplo n.º 1
0
        private void AddStop(StopJson stop)
        {
            List <int> routes = new List <int>();

            foreach (StopRouteJson sj in stop.routes)
            {
                routes.Add(sj.id);
            }
            AddStop(stop.short_name, new Coordinate((int)(stop.latitude * (decimal)1E6), (int)(stop.longitude * (decimal)1E6)), stop.name, routes);
        }
Exemplo n.º 2
0
 private void AddStop(StopJson stop)
 {
     List<int> routes = new List<int>();
     foreach (StopRouteJson sj in stop.routes)
     {
         routes.Add(sj.id);
     }
     AddStop(stop.short_name, new Coordinate((int)(stop.latitude * (decimal)1E6), (int)(stop.longitude * (decimal)1E6)), stop.name, routes);
 }