Skip to content
Quyen Tran edited this page Jul 23, 2016 · 21 revisions

Sun Trolley

http://suntrolley.herokuapp.com/api
http://suntrolley.herokuapp.com/map
http://suntrolley.herokuapp.com/docs

API

JSON

  • Route
  • Route Name (future)
  • Points
  • Bus ID (future)
  • Direction (future)
  • GeoJSON format (consider for future)

JSON Sample

[
  {
    "route": 4,
    "points": [
      "26.119334,-80.137385",
      "26.119785,-80.144729"
    ]
  },
  {
    "route": 5,
    "points": [
      "26.138021,-80.114233"
    ]
  },
  {
    "route": 6,
    "points": [
      "26.098628,-80.130628",
      "26.137623,-80.112599"
    ]
  },
  {
    "route": 7,
    "points": [
      
    ]
  },
  {
    "route": 8,
    "points": [
      "26.123922,-80.144354"
    ]
  },
  {
    "route": 9,
    "points": [
      
    ]
  },
  {
    "route": 10,
    "points": [
      "26.123845,-80.144388"
    ]
  },
  {
    "route": 12,
    "points": [
      "26.120891,-80.160483"
    ]
  },
  {
    "route": 13,
    "points": [
      "26.112094,-80.140308"
    ]
  }
]

JSON Future Change

[
  {
    "route": 4,
    "routename": "Las Olas Link",
    "points": [
      "26.119334,-80.137385",
      "26.119785,-80.144729"
    ]
  }
]

Map

Design

  • Add ideas for design here, paste pictures if you'd like

Icons

  • We'll need open source icons for the map - trolley/bus icons with 4 directions (N,S,E,W) and water trolley icons also.

Docs

  • /docs
  • Simple documentation on how to use the API

Feature Requests

  • Add any feature requests here

Links

Clone this wiki locally