Skip to content

Commit 9e0beca

Browse files
committed
Update Animate along a route path.html
Bug fix for route typo
1 parent be5445a commit 9e0beca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Samples/Animations/Animate along a route path/Animate along a route path.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
//Extract timestamp information from a custom property of the point features.
123123
//By default the `moveAlongRoute` function looks for a `_timestamp` property on the point features that is a Date.getTime() value.
124124
//If your points already have a `_timestamp` property with the correct value type, you can skip this extraction step.
125-
routePoints = atlas.animations.extractRoutePoints(route, 'timestamp');
125+
routePoints = atlas.animations.extractRoutePoints(routePoints, 'timestamp');
126126

127127
//Create the animation.
128128
animation = atlas.animations.moveAlongRoute(routePoints, pin, {

0 commit comments

Comments
 (0)