Skip to content

Commit

Permalink
Update animate-point-along-route example to use icon-ignore-placement (
Browse files Browse the repository at this point in the history
…#7044)

This ensures the labels don't flash in and out as the aeroplane icon moves over them.
  • Loading branch information
andrewharvey authored Jul 30, 2018
1 parent dca8813 commit 74ea2b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/pages/example/animate-point-along-route.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
"icon-image": "airport-15",
"icon-rotate": ["get", "bearing"],
"icon-rotation-alignment": "map",
"icon-allow-overlap": true
"icon-allow-overlap": true,
"icon-ignore-placement": true
}
});

Expand Down

0 comments on commit 74ea2b5

Please sign in to comment.