{"_id":"guidance-replay","_rev":"155-b29a1bb6cd380429361a16d997c3c506","name":"guidance-replay","description":"An event source loop for visual guidance simulator. It turns timestamped GeoJSON into mock location events.","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"guidance-replay","version":"0.1.0","main":"index.js","scripts":{"pretest":"eslint lib test *.js","test":"tape test/*.test.js","start":"budo sim/index.js:sim/bundle.js --dir sim/ --live -- -t [ envify --NODE_ENV development ]","docs":"documentation build lib/* -o docs.md -f md"},"dependencies":{"budo":"^8.1.0","documentation":"^4.0.0-beta","envify":"^3.4.0","eslint":"^2.4.0","tape":"^4.5.1","turf-along":"~1.0.2","turf-bearing":"~1.0.2","turf-distance":"~1.1.0","turf-line-distance":"~1.0.2"},"gitHead":"fb13f21d77214d64ca8af6ec97fbc5d09706d636","description":"An event source loop for visual guidance simulator. It turns timestamped GeoJSON into mock location events.","_id":"guidance-replay@0.1.0","_shasum":"6f66fde79037eb8c7c679453d14e0f428bb9d0ef","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"emilymdubois","email":"dubois@mapbox.com"},"maintainers":[{"name":"emilymdubois","email":"dubois@mapbox.com"}],"dist":{"shasum":"6f66fde79037eb8c7c679453d14e0f428bb9d0ef","tarball":"https://registry.npmjs.org/guidance-replay/-/guidance-replay-0.1.0.tgz","integrity":"sha512-A///fWYPy4qf9Ja4+jim7qM7BCsELNE0wsPc5B6fHKOFzRQELMJ+AftvXVR6BSgFhBa9CDEOAdSTzlyvOgZPCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+gzYWQnoyZ0ZC7TUiE4F+jjxwGxTE+nU/LlKcGSwEAAiEAiZoCt2Fb3MjAqXrsJe6h3F9bDP64n2RV6eB/prADhvQ="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/guidance-replay-0.1.0.tgz_1461274663160_0.9681995795108378"},"directories":{}},"0.1.1":{"name":"guidance-replay","version":"0.1.1","main":"index.js","scripts":{"pretest":"eslint lib test *.js","test":"tape test/*.test.js","start":"budo sim/index.js:sim/bundle.js --dir sim/ --live -- -t [ envify --NODE_ENV development ]","docs":"documentation build lib/* -o docs.md -f md"},"dependencies":{"budo":"^8.1.0","documentation":"^4.0.0-beta","envify":"^3.4.0","eslint":"^2.4.0","tape":"^4.5.1","turf-along":"~1.0.2","turf-bearing":"~1.0.2","turf-distance":"~1.1.0","turf-line-distance":"~1.0.2"},"gitHead":"9c9d2ee0e6986a6d6e695bda42ebb503ea4d4413","description":"An event source loop for visual guidance simulator. It turns timestamped GeoJSON into mock location events.","_id":"guidance-replay@0.1.1","_shasum":"ea460012e9855ad2231145287fa861c837dfec69","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"yhahn","email":"young@mapbox.com"},"maintainers":[{"name":"1ec5","email":"mxn@1ec5.org"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"bergwerkgis","email":"wb@bergwerk-gis.at"},{"name":"bhousel","email":"bryan@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"edenh","email":"eden.halperin@gmail.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"emilymdubois","email":"dubois@mapbox.com"},{"name":"flippmoke","email":"flippmoke@gmail.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"jrpruit1","email":"jake@jakepruitt.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"lucaswoj","email":"lucas@lucaswoj.com"},{"name":"lxbarth","email":"alex@mapbox.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"mateov","email":"matt@mapbox.com"},{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"mtirwin","email":"irwin@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"sbma44","email":"tlee@mapbox.com"},{"name":"scothis","email":"scothis@gmail.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"yhahn","email":"young@mapbox.com"}],"dist":{"shasum":"ea460012e9855ad2231145287fa861c837dfec69","tarball":"https://registry.npmjs.org/guidance-replay/-/guidance-replay-0.1.1.tgz","integrity":"sha512-3QVYTL03U9cyVqI2sx692MGGaDGRtYaxUjnZwZmfGafqpsMs2GnOOWNjDe8B+Zh8oCTwXrAG8U5PSzEl5UStgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2kzk66/+2tEsp1wWhOeh2RG/NQnS3/sq5sm9W9WYUqAiEAlPeCernDw0R10+Pmq8gXoQUIk73ZBvoEasxK3kytYgk="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/guidance-replay-0.1.1.tgz_1462309059487_0.5632770035881549"},"directories":{}},"0.1.2":{"name":"guidance-replay","version":"0.1.2","main":"index.js","scripts":{"pretest":"eslint lib test *.js","test":"tape test/*.test.js","start":"budo sim/index.js:sim/bundle.js --dir sim/ --live -- -t [ envify --NODE_ENV development ]","docs":"documentation build lib/* -o docs.md -f md"},"dependencies":{"budo":"^8.1.0","documentation":"^4.0.0-beta","envify":"^3.4.0","eslint":"^2.4.0","tape":"^4.5.1","turf-along":"~1.0.2","turf-bearing":"~1.0.2","turf-distance":"~1.1.0","turf-line-distance":"~1.0.2"},"gitHead":"b8b2fe84c1ef224d66bb3e51a45159216d19fd9c","description":"An event source loop for visual guidance simulator. It turns timestamped GeoJSON into mock location events.","_id":"guidance-replay@0.1.2","_shasum":"9840a1ba19547e963cd8fe5101cdf2263cf202e2","_from":".","_npmVersion":"2.15.4","_nodeVersion":"0.10.36","_npmUser":{"name":"emilymdubois","email":"dubois@mapbox.com"},"dist":{"shasum":"9840a1ba19547e963cd8fe5101cdf2263cf202e2","tarball":"https://registry.npmjs.org/guidance-replay/-/guidance-replay-0.1.2.tgz","integrity":"sha512-+gwx/7teVZfSTFd6fCm6qxj6bkS33AkEemO6lC10hIlGl81OVQD++3/9uqJCOUVpu4PjNFF/N1Afow7qXtv0HA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPgm8YHKhFKT52za0+IOvhTHymajZoN7IsBJw3ntJDKwIgUnI5e4bCWKcpYgsUDsEipWJl5irLy6vSJBU9rYNB5is="}]},"maintainers":[{"name":"1ec5","email":"mxn@1ec5.org"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"bergwerkgis","email":"wb@bergwerk-gis.at"},{"name":"bhousel","email":"bryan@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"edenh","email":"eden.halperin@gmail.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"emilymdubois","email":"dubois@mapbox.com"},{"name":"flippmoke","email":"flippmoke@gmail.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"jrpruit1","email":"jake@jakepruitt.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"lucaswoj","email":"lucas@lucaswoj.com"},{"name":"lxbarth","email":"alex@mapbox.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"mateov","email":"matt@mapbox.com"},{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"mtirwin","email":"irwin@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"sbma44","email":"tlee@mapbox.com"},{"name":"scothis","email":"scothis@gmail.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"yhahn","email":"young@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/guidance-replay-0.1.2.tgz_1462823011848_0.8637738341931254"},"directories":{}},"0.1.3":{"name":"guidance-replay","version":"0.1.3","main":"index.js","scripts":{"pretest":"eslint lib test *.js","test":"tape test/*.test.js","start":"budo sim/index.js:sim/bundle.js --dir sim/ --live -- -t [ envify --NODE_ENV development ]","docs":"documentation build lib/* -o docs.md -f md"},"dependencies":{"budo":"^8.1.0","documentation":"^4.0.0-beta","envify":"^3.4.0","eslint":"^2.4.0","tape":"^4.5.1","turf-along":"~1.0.2","turf-bearing":"~1.0.2","turf-distance":"~1.1.0","turf-line-distance":"~1.0.2","turf-linestring":"^1.0.2","turf-point":"^2.0.1"},"gitHead":"803765a01c19af20e73235574bf74ee4f9c541b5","description":"An event source loop for visual guidance simulator. It turns timestamped GeoJSON into mock location events.","_id":"guidance-replay@0.1.3","_shasum":"d304a88aeb7229c0a212fa80362675987b519776","_from":".","_npmVersion":"2.15.4","_nodeVersion":"0.10.36","_npmUser":{"name":"emilymdubois","email":"dubois@mapbox.com"},"dist":{"shasum":"d304a88aeb7229c0a212fa80362675987b519776","tarball":"https://registry.npmjs.org/guidance-replay/-/guidance-replay-0.1.3.tgz","integrity":"sha512-4r5K2vqzMtmH3mgyr1nU13a5YZ0aP9Gz02Yf723NYTYFkDP/bOMAeQeT+w7YQ3noZDF9TNsFoPqEeXRGkg9OFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVX31gmxhsSTPrYdhv21oZZ+D8Q4s0MRM0JRnrXTFdzgIgFzJfQs5JNeZiIXKXO2nsfwYCGHojVWQ5EXHlqlYvffI="}]},"maintainers":[{"name":"1ec5","email":"mxn@1ec5.org"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"bergwerkgis","email":"wb@bergwerk-gis.at"},{"name":"bhousel","email":"bryan@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"edenh","email":"eden.halperin@gmail.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"emilymdubois","email":"dubois@mapbox.com"},{"name":"flippmoke","email":"flippmoke@gmail.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"jrpruit1","email":"jake@jakepruitt.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"lucaswoj","email":"lucas@lucaswoj.com"},{"name":"lxbarth","email":"alex@mapbox.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"mateov","email":"matt@mapbox.com"},{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"mtirwin","email":"irwin@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"sbma44","email":"tlee@mapbox.com"},{"name":"scothis","email":"scothis@gmail.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"yhahn","email":"young@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/guidance-replay-0.1.3.tgz_1462911584525_0.7742239981889725"},"directories":{}},"0.1.4":{"name":"guidance-replay","version":"0.1.4","main":"index.js","scripts":{"pretest":"eslint lib test *.js","test":"tape test/*.test.js","start":"budo sim/index.js:sim/bundle.js --dir sim/ --live -- -t [ envify --NODE_ENV development ]","docs":"documentation build lib/* -o docs.md -f md"},"dependencies":{"budo":"^8.1.0","documentation":"^4.0.0-beta","envify":"^3.4.0","eslint":"^2.4.0","tape":"^4.5.1","turf-along":"~1.0.2","turf-bearing":"~1.0.2","turf-distance":"~1.1.0","turf-line-distance":"~1.0.2","turf-linestring":"^1.0.2","turf-point":"^2.0.1"},"gitHead":"1b3db020a055cdabd7204bda419aa0a4f6acff52","description":"An event source loop for visual guidance simulator. It turns timestamped GeoJSON into mock location events.","_id":"guidance-replay@0.1.4","_shasum":"11ccf9e7e0347329500384f1918f9a244e2d3492","_from":".","_npmVersion":"2.15.4","_nodeVersion":"0.10.36","_npmUser":{"name":"emilymdubois","email":"dubois@mapbox.com"},"dist":{"shasum":"11ccf9e7e0347329500384f1918f9a244e2d3492","tarball":"https://registry.npmjs.org/guidance-replay/-/guidance-replay-0.1.4.tgz","integrity":"sha512-Vjo+4b9iPT2HVqD5W04caPjjMb3oosisPJWeC72FfV78fpxOjAFRwlPmLswXsXAFCRPGo0wu1rGOdq7ZHWJ5nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH6QExOD+HAjaeE1djcvCEHSX+dEItt2o1RPwLglbFooAiAoV+9L62ts4i4K5OJ5OQ8Zo3y7qJZxkDx9HkH2owHNVw=="}]},"maintainers":[{"name":"1ec5","email":"mxn@1ec5.org"},{"name":"aaronlidman","email":"aaronlidman@gmail.com"},{"name":"ajashton","email":"aj.ashton@gmail.com"},{"name":"ansis","email":"ansis.brammanis@gmail.com"},{"name":"bergwerkgis","email":"wb@bergwerk-gis.at"},{"name":"bhousel","email":"bryan@mapbox.com"},{"name":"bsudekum","email":"bobby@mapbox.com"},{"name":"camilleanne","email":"camille@mapbox.com"},{"name":"dnomadb","email":"damon@mapbox.com"},{"name":"edenh","email":"eden.halperin@gmail.com"},{"name":"emilymcafee","email":"emily@mapbox.com"},{"name":"emilymdubois","email":"dubois@mapbox.com"},{"name":"flippmoke","email":"flippmoke@gmail.com"},{"name":"freenerd","email":"spam@freenerd.de"},{"name":"gretacb","email":"carol@mapbox.com"},{"name":"ian29","email":"ian.villeda@gmail.com"},{"name":"ianshward","email":"ian@mapbox.com"},{"name":"ingalls","email":"nicholas.ingalls@gmail.com"},{"name":"jfirebaugh","email":"john.firebaugh@gmail.com"},{"name":"jrpruit1","email":"jake@jakepruitt.com"},{"name":"karenzshea","email":"karen@mapbox.com"},{"name":"lbud","email":"lauren@mapbox.com"},{"name":"lucaswoj","email":"lucas@lucaswoj.com"},{"name":"lxbarth","email":"alex@mapbox.com"},{"name":"lyzidiamond","email":"lyzi@mapbox.com"},{"name":"mateov","email":"matt@mapbox.com"},{"name":"mcwhittemore","email":"mcwhittemore@gmail.com"},{"name":"miccolis","email":"jeff@miccolis.net"},{"name":"mikemorris","email":"michael.patrick.morris@gmail.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"mourner","email":"agafonkin@gmail.com"},{"name":"mtirwin","email":"irwin@mapbox.com"},{"name":"nickidlugash","email":"nicki@mapbox.com"},{"name":"planemad","email":"arun.planemad@gmail.com"},{"name":"rclark","email":"ryan.clark.j@gmail.com"},{"name":"samanbb","email":"saman@mapbox.com"},{"name":"sbma44","email":"tlee@mapbox.com"},{"name":"scothis","email":"scothis@gmail.com"},{"name":"sgillies","email":"sean@mapbox.com"},{"name":"themarex","email":"patrick@mapbox.com"},{"name":"tristen","email":"tristen.brown@gmail.com"},{"name":"yhahn","email":"young@mapbox.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/guidance-replay-0.1.4.tgz_1464212405406_0.021164930891245604"},"directories":{}}},"readme":"# guidance-replay\n\nAn event source loop for visual guidance simulator. It turns timestamped GeoJSON into mock location events.\n\n\n## API\n\n### Emitter\n\nGenerate location events for timestamped GeoJSON along a given update interval.\n\n**Parameters**\n\n-   `geojson` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Timestamped geojson of route.\n-   `updateInterval` **[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Interval (milliseconds) at which to generate location events.\n\n#### Emitter.all\n\nReturn all location events for a route. Useful for debugging.\n\nReturns **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)&lt;[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)>** Location events with coordinates, bearing, and, if in speedmode, speed and speedchange.\n\n#### Emitter.next\n\nReturn the next location event for a route. Useful for long and/or complex routes.\n\nReturns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Location events with coordinates, bearing, and, if in speedmode, speed and speedchange.\n\n\n### Route\n\nTurn a Mapbox Directions API response into timestamped GeoJSON in the format of [GeoJSON Coordinate Properties](https://github.com/mapbox/geojson-coordinate-properties).\n\n**Parameters**\n\n-   `directions` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Response from Mapbox Directions API.\n-   `options` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Optional spacing parameter, which can be `constant` or `acceldecel`. Default is `constant`.\n\nReturns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** GeoJSON LineString with coordinateProperties.times timestamps in milliseconds for each coordinate in the input geometry, starting at 0 ms.\n\n### Locator\n\nGenerate the location of an event, in terms of step number or coordinates, given any time along the route in milliseconds.\n\n**Parameters**\n\n-   `directions` **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Response from Mapbox Directions API.\n\n#### Locator.maneuvers\n\nGet times (milliseconds) and coordinates for the maneuvers along the route.\n\nReturns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Object with `times` and `coordinates` arrays for maneuvers along route.\n\n#### Locator.step\n\nFind the current [Mapbox Directions API step](https://www.mapbox.com/api-documentation/#retrieve-directions) given a time along the route.\n\n**Parameters**\n\n-   `time` **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Time along the route in milliseconds.\n\nReturns **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Step along the route.\n\n#### Locator.coords\n\nFind the current coordinates given a time along the route.\n\n**Parameters**\n\n-   `time` **[Number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)** Time along the route in milliseconds.\n\nReturns **[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** Point feature with at locaiton corresponding to time input.\n\n## Development\n\n### test\n\n```sh\nnpm test\n```\n\n### run simulator\n\n```sh\nnpm start\n# --> http://localhost:9966/\n```\n","maintainers":[{"email":"accounts@mapbox.com","name":"mapbox-admin"}],"time":{"modified":"2022-09-20T15:20:37.557Z","created":"2016-04-21T21:37:45.736Z","0.1.0":"2016-04-21T21:37:45.736Z","0.1.1":"2016-05-03T20:57:40.625Z","0.1.2":"2016-05-09T19:43:33.023Z","0.1.3":"2016-05-10T20:19:45.835Z","0.1.4":"2016-05-25T21:40:07.020Z"},"readmeFilename":"readme.md"}