Kasheftin/route-planner-vue

Only first 10 routes are shown

Opened this issue · 0 comments

Only first 10 routes are shown.
Example json is following:

{
  "project": {
    "id": "5d4e1609e3d93a0000e890fd",
    "privateId": "5200fedee3d93a0000e890fe",
    "name": "Route test",
    "description": "This is sample description",
    "layers": [
      {
        "id": "5819cbf7e3d93a0000e890ff",
        "name": "Test Layer",
        "visible": true,
        "expanded": true,
        "shapes": [
          {
            "id": "79ef2d12e3d93a0000e8910d",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Вена, Австрия",
              "Прага, Чехия"
            ]
          },
          {
            "id": "8849aac0e3d93a0000e8910c",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "9490 Вадуц, Лихтенштейн",
              "Вена, Австрия"
            ]
          },
          {
            "id": "819d29cde3d93a0000e8910b",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Цюрих, Швейцария",
              "9490 Вадуц, Лихтенштейн"
            ]
          },
          {
            "id": "5ea16f60e3d93a0000e8910a",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Рим, Италия",
              "Цюрих, Швейцария"
            ]
          },
          {
            "id": "576bc6fee3d93a0000e89109",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "AD500 Андорра-ла-Велла, Андорра",
              "Рим, Италия"
            ]
          },
          {
            "id": "814cf5fee3d93a0000e89108",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Лиссабон, Португалия",
              "AD500 Андорра-ла-Велла, Андорра"
            ]
          },
          {
            "id": "8b879bc7e3d93a0000e89107",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Мадрид, Испания",
              "Лиссабон, Португалия"
            ]
          },
          {
            "id": "6c48cd28e3d93a0000e89106",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Париж, Франция",
              "Мадрид, Испания"
            ]
          },
          {
            "id": "7ba7f4dee3d93a0000e89105",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Брюссель, Бельгия",
              "Париж, Франция"
            ]
          },
          {
            "id": "643eda8fe3d93a0000e89104",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Амстердам, Нидерланды",
              "Брюссель, Бельгия"
            ]
          },
          {
            "id": "66f4bdbbe3d93a0000e89103",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Берлин, Германия",
              "Амстердам, Нидерланды"
            ]
          },
          {
            "id": "672614f9e3d93a0000e89102",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Брест, Беларусь",
              "Берлин, Германия"
            ]
          },
          {
            "id": "59857bb4e3d93a0000e89101",
            "type": "route",
            "name": "",
            "mode": "driving",
            "nohighways": false,
            "notolls": false,
            "waypoints": [
              "Москва, Россия",
              "Брест, Беларусь"
            ]
          }
        ]
      }
    ]
  },
  "viewport": {
    "lat": "50.605521",
    "lng": "17.188600",
    "zoom": 8,
    "mapTypeId": "roadmap"
  }
}

Last 3 routes are not shown until edited.