-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Quyen Tran edited this page Jul 23, 2016
·
21 revisions
http://suntrolley.herokuapp.com/api
http://suntrolley.herokuapp.com/map
http://suntrolley.herokuapp.com/docs
- Route
- Route Name (future)
- Points
- Bus ID (future)
- Direction (future)
- GeoJSON format (consider for future)
[
{
"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"
]
}
]
[
{
"route": 4,
"routename": "Las Olas Link",
"points": [
"26.119334,-80.137385",
"26.119785,-80.144729"
]
}
]
- /map
- Will use Leaflet JS to make a map with OSM layer and maybe a 2nd Google Maps layer.
- Trolley location data will come from the API
- Routes will be displayed using the route shapes in https://github.com/qtrandev/suntrolleygtfs/blob/master/shapes.txt
- Add ideas for design here, paste pictures if you'd like
- 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
- Simple documentation on how to use the API
- Add any feature requests here
- GeoJSON converter: https://www.npmjs.com/package/geojson