mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
Fix moveDir example
This commit is contained in:
parent
9a28c3b54a
commit
df4a6719e1
@ -88,7 +88,7 @@ export class Viewer extends EventEmitter {
|
||||
*
|
||||
* @param {EdgeDirection} dir - Direction towards which to move
|
||||
* @example
|
||||
* `viewer.moveToDir(Mapillary.EdgeDirection.NEXT);`
|
||||
* `viewer.moveDir(Mapillary.EdgeDirection.Next);`
|
||||
*/
|
||||
public moveDir(dir: EdgeDirection): when.Promise<Node> {
|
||||
return when.promise<Node>((resolve: any, reject: any): void => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user