@prasanna : as discussed on last wednesday, can you make me an api as
follows?
1. api : /newTrackerID
return(type = JSON) : {
trackerId : <id>, // Sequentially generated id for device with new
registration. Can be vulnerable to spamming and DDOS. May be we can keep a
captcha here at a production stage.
}
2. api: /track
request(action = POST, type = JSON) {
trackerId : <id>,
latitude: <lat value>,
longitude: <lon value>,
timestamp: <timestamp>
}
return(type=JSON) : {
status : <0(success)/1(error)>,
message : <msg>,
recordId : <recordId> // ID of the record on success.
}
I think this will be enough for a prototype. We need to find a mechanism
for the user to provide the bus being tracked which can be stored in the DB
as say "BUS ID" and the same can be added as an additional parameter in the
"/track" api request.
On 18 January 2016 at 11:34, sooraj kenoth <soorajkenoth@xxxxxxxxx> wrote:
Kudus....
:)
2016-01-17 20:52 GMT+05:30 Prasanna Venkadesh <prasmailme@xxxxxxxxx>:
Wonderful man. Leaflet is the optimal choice. Need to start working onthe
backend apidutta.shaswata@xxxxxxxxx>
On Sun, Jan 17, 2016 at 3:49 PM, Shaswata Dutta <
wrote:test it
Hello everyone,
Achieved critical breakthrough by successfully implementing offline map
using Leaflet.js library and Map tiles from Open Street Map. Need to
wrote:in live. Then we can work on the backend to store the tracking data.
Attaching emulator screen shot.
On 16 January 2016 at 11:27, sooraj kenoth <soorajkenoth@xxxxxxxxx>
2016-01-16 10:40 GMT+05:30 Prasanna Venkadesh <prasmailme@xxxxxxxxx>:
Check this out https://transportr.grobox.de/
I think this is what i am searching for...
--
With Regards,
Shaswata Dutta
Web Developer
(Facebook : https://www.facebook.com/reed.knight)
(M : +91 8300-056-352, 9051-589-614(Kolkata Only))
--
Thanks & Regards,
Prasanna Venkadesh.
--
Regards
Sooraj Kenoth
"I am Being the Change I Wish to See in the World"